@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProductionOrderService") public class DefaultProductionOrderService extends Object implements ProductionOrderService
You can use this service to read header data, items, operations, components, and the status of production orders. With this API, it is also possible to release a production order or an operation of a production order.
Reference: SAP API Business Hub
OData Service: | API_PRODUCTION_ORDERS |
API Version: | 1 |
Communication Scenario: | Production Planning Integration (SAP_COM_0104) |
Scope Items: | Material Requirements Planning (J44) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductionOrderService()
Creates a service using
ProductionOrderService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultProductionOrderService()
ProductionOrderService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProductionOrderService withServicePath(@Nonnull String servicePath)
ProductionOrderService
withServicePath
in interface ProductionOrderService
servicePath
- Service path that will override the default.@Nonnull public ProductionOrderFluentHelper getAllProductionOrder()
ProductionOrderService
ProductionOrder
entities.getAllProductionOrder
in interface ProductionOrderService
ProductionOrder
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionOrderByKeyFluentHelper getProductionOrderByKey(String productionOrder)
ProductionOrderService
ProductionOrder
entity using key fields.getProductionOrderByKey
in interface ProductionOrderService
productionOrder
- Manufacturing Order ID
Constraints: Not nullable, Maximum length: 12
ProductionOrder
entity using key fields. This fluent helper allows methods which modify the underlying
query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionOrderComponentFluentHelper getAllProductionOrderComponent()
ProductionOrderService
ProductionOrderComponent
entities.getAllProductionOrderComponent
in interface ProductionOrderService
ProductionOrderComponent
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionOrderComponentByKeyFluentHelper getProductionOrderComponentByKey(String reservation, String reservationItem)
ProductionOrderService
ProductionOrderComponent
entity using key fields.getProductionOrderComponentByKey
in interface ProductionOrderService
reservation
- Number of Reservation/Dependent Requirement
Constraints: Not nullable, Maximum length: 10
reservationItem
- Reservation Item
Constraints: Not nullable, Maximum length: 4
ProductionOrderComponent
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionOrderItemFluentHelper getAllProductionOrderItem()
ProductionOrderService
ProductionOrderItem
entities.getAllProductionOrderItem
in interface ProductionOrderService
ProductionOrderItem
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionOrderItemByKeyFluentHelper getProductionOrderItemByKey(String manufacturingOrder, String manufacturingOrderItem)
ProductionOrderService
ProductionOrderItem
entity using key fields.getProductionOrderItemByKey
in interface ProductionOrderService
manufacturingOrder
- Manufacturing Order ID
Constraints: Not nullable, Maximum length: 12
manufacturingOrderItem
- Manufacturing Order Item ID
Constraints: Not nullable, Maximum length: 4
ProductionOrderItem
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionOrderOperationFluentHelper getAllProductionOrderOperation()
ProductionOrderService
ProductionOrderOperation
entities.getAllProductionOrderOperation
in interface ProductionOrderService
ProductionOrderOperation
entities. This fluent helper allows methods which modify the underlying query
to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionOrderOperationByKeyFluentHelper getProductionOrderOperationByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem)
ProductionOrderService
ProductionOrderOperation
entity using key fields.getProductionOrderOperationByKey
in interface ProductionOrderService
orderInternalBillOfOperations
- Order Internal Bill of Operations ID
Constraints: Not nullable, Maximum length: 10
orderIntBillOfOperationsItem
- Order Internal Bill of Operations Item
Constraints: Not nullable, Maximum length: 8
ProductionOrderOperation
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionOrderStatusFluentHelper getAllProductionOrderStatus()
ProductionOrderService
ProductionOrderStatus
entities.getAllProductionOrderStatus
in interface ProductionOrderService
ProductionOrderStatus
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionOrderStatusByKeyFluentHelper getProductionOrderStatusByKey(String manufacturingOrder, String statusCode)
ProductionOrderService
ProductionOrderStatus
entity using key fields.getProductionOrderStatusByKey
in interface ProductionOrderService
manufacturingOrder
- Order Number
Constraints: Not nullable, Maximum length: 12
statusCode
- Object status
Constraints: Not nullable, Maximum length: 5
ProductionOrderStatus
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionRsceToolsFluentHelper getAllProductionRsceTools()
ProductionOrderService
ProductionRsceTools
entities.getAllProductionRsceTools
in interface ProductionOrderService
ProductionRsceTools
entities. This fluent helper allows methods which modify the underlying query to be
called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionRsceToolsByKeyFluentHelper getProductionRsceToolsByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID)
ProductionOrderService
ProductionRsceTools
entity using key fields.getProductionRsceToolsByKey
in interface ProductionOrderService
orderInternalBillOfOperations
- Routing number of operations in the order
Constraints: Not nullable, Maximum length: 10
mfgOrderOpProdnRsceToolIntID
- Item counter for production resources/tools
Constraints: Not nullable, Maximum length: 8
ProductionRsceTools
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReleaseProductionOrderFluentHelper releaseProductionOrder(String manufacturingOrder)
ProductionOrderService
Creates a fluent helper for the ReleaseProductionOrder OData function import.
releaseProductionOrder
in interface ProductionOrderService
manufacturingOrder
- Constraints: none
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull public ReleaseProductionOrderOprFluentHelper releaseProductionOrderOpr(String manufacturingOrder, String manufacturingOrderOperation)
ProductionOrderService
Creates a fluent helper for the ReleaseProductionOrderOpr OData function import.
releaseProductionOrderOpr
in interface ProductionOrderService
manufacturingOrder
- Constraints: none
Original parameter name from the Odata EDM: ManufacturingOrder
manufacturingOrderOperation
- Constraints: none
Original parameter name from the Odata EDM: ManufacturingOrderOperation
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.