Class DefaultProductionOrderService
- All Implemented Interfaces:
BatchService<ProductionOrderServiceBatch>,ProductionOrderService
In addition to create, read, and update, you can also release production orders and operations. This service also enables you to schedule production order operations, technically complete and close production orders as well as set the deletion flag and deletion indicator.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_PRODUCTION_ORDERS |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2208 |
| Communication Scenario: | Production Planning Integration(SAP_COM_0104), Manufacturing Execution - Order and Confirmation Integration(SAP_COM_0522) |
| Scope Items: | Make-to-Stock Production - Discrete Manufacturing(BJ5), Make-to-Stock - Process Manufacturing Based on Process Order(BJ8), Material Requirements Planning(J44), Material Requirements Planning(O44), Third-Party Shop Floor Execution - Process Industry(3W3), Third-Party Shop Floor Execution - Discrete Industry(3W4) |
| Business Object: | Production Order |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.ProductionOrderService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProductionOrderService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.closeProdnOrd(String manufacturingOrder) Deprecated.Creates a fluent helper for the CloseProdnOrd OData function import.completeTechnicallyProdnOrd(String manufacturingOrder) Deprecated.Creates a fluent helper for the CompleteTechnicallyProdnOrd OData function import.convertPlannedOrder(String plannedOrder, String manufacturingOrderType, String manufacturingOrder) Deprecated.Creates a fluent helper for the ConvertPlannedOrder OData function import.createProductionOrder(ProductionOrder productionOrder) Deprecated.Create a newProductionOrderentity and save it to the S/4HANA system.discardOrder(String manufacturingOrder) Deprecated.Creates a fluent helper for the DiscardOrder OData function import.Deprecated.Fetch multipleProductionOrderentities.Deprecated.Fetch multipleProductionOrderComponententities.Deprecated.Fetch multipleProductionOrderItementities.Deprecated.Fetch multipleProductionOrderOperationentities.Deprecated.Fetch multipleProductionOrderStatusentities.Deprecated.Fetch multipleProductionRsceToolsentities.getProductionOrderByKey(String productionOrder) Deprecated.Fetch a singleProductionOrderentity using key fields.getProductionOrderComponentByKey(String reservation, String reservationItem) Deprecated.Fetch a singleProductionOrderComponententity using key fields.getProductionOrderItemByKey(String manufacturingOrder, String manufacturingOrderItem) Deprecated.Fetch a singleProductionOrderItementity using key fields.getProductionOrderOperationByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem) Deprecated.Fetch a singleProductionOrderOperationentity using key fields.getProductionOrderStatusByKey(String manufacturingOrder, String statusCode) Deprecated.Fetch a singleProductionOrderStatusentity using key fields.getProductionRsceToolsByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID) Deprecated.Fetch a singleProductionRsceToolsentity using key fields.releaseProductionOrder(String manufacturingOrder) Deprecated.Creates a fluent helper for the ReleaseProductionOrder OData function import.releaseProductionOrderOpr(String manufacturingOrder, String manufacturingOrderOperation) Deprecated.Creates a fluent helper for the ReleaseProductionOrderOpr OData function import.scheduleProductionOrderOperation(String productionOrder, String orderInternalBillOfOperations, String orderIntBillOfOperationsItem, LocalDateTime opSchedldStartDate, LocalTime opSchedldStartTime, LocalDateTime opSchedldEndDate, LocalTime opSchedldEndTime, String opSchedulingMode, String opSchedulingStatus, String opSchedulingStrategy) Deprecated.Creates a fluent helper for the ScheduleProductionOrderOperation OData function import.setDeltnFlagProdnOrd(String manufacturingOrder) Deprecated.Creates a fluent helper for the SetDeltnFlagProdnOrd OData function import.setDeltnIndProdnOrd(String manufacturingOrder) Deprecated.Creates a fluent helper for the SetDeltnIndProdnOrd OData function import.updateProductionOrder(ProductionOrder productionOrder) Deprecated.Update an existingProductionOrderentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultProductionOrderService
public DefaultProductionOrderService()Deprecated.Creates a service usingProductionOrderService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ProductionOrderServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProductionOrderService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<ProductionOrderServiceBatch>
-
getAllProductionOrder
Deprecated.Description copied from interface:ProductionOrderServiceFetch multipleProductionOrderentities.- Specified by:
getAllProductionOrderin interfaceProductionOrderService- Returns:
- A fluent helper to fetch multiple
ProductionOrderentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getProductionOrderByKey
Deprecated.Description copied from interface:ProductionOrderServiceFetch a singleProductionOrderentity using key fields.- Specified by:
getProductionOrderByKeyin interfaceProductionOrderService- Parameters:
productionOrder- Manufacturing Order IDConstraints: Not nullable, Maximum length: 12
- Returns:
- A fluent helper to fetch a single
ProductionOrderentity 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 theexecutemethod on the fluent helper object.
-
createProductionOrder
@Nonnull public ProductionOrderCreateFluentHelper createProductionOrder(@Nonnull ProductionOrder productionOrder) Deprecated.Description copied from interface:ProductionOrderServiceCreate a newProductionOrderentity and save it to the S/4HANA system.- Specified by:
createProductionOrderin interfaceProductionOrderService- Parameters:
productionOrder-ProductionOrderentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
ProductionOrderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateProductionOrder
@Nonnull public ProductionOrderUpdateFluentHelper updateProductionOrder(@Nonnull ProductionOrder productionOrder) Deprecated.Description copied from interface:ProductionOrderServiceUpdate an existingProductionOrderentity and save it to the S/4HANA system.- Specified by:
updateProductionOrderin interfaceProductionOrderService- Parameters:
productionOrder-ProductionOrderentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ProductionOrderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllProductionOrderComponent
Deprecated.Description copied from interface:ProductionOrderServiceFetch multipleProductionOrderComponententities.- Specified by:
getAllProductionOrderComponentin interfaceProductionOrderService- Returns:
- A fluent helper to fetch multiple
ProductionOrderComponententities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getProductionOrderComponentByKey
@Nonnull public ProductionOrderComponentByKeyFluentHelper getProductionOrderComponentByKey(String reservation, String reservationItem) Deprecated.Description copied from interface:ProductionOrderServiceFetch a singleProductionOrderComponententity using key fields.- Specified by:
getProductionOrderComponentByKeyin interfaceProductionOrderService- Parameters:
reservation- Number of reservation/dependent requirementsConstraints: Not nullable, Maximum length: 10
reservationItem- Reservation ItemConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
ProductionOrderComponententity 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 theexecutemethod on the fluent helper object.
-
getAllProductionOrderItem
Deprecated.Description copied from interface:ProductionOrderServiceFetch multipleProductionOrderItementities.- Specified by:
getAllProductionOrderItemin interfaceProductionOrderService- Returns:
- A fluent helper to fetch multiple
ProductionOrderItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getProductionOrderItemByKey
@Nonnull public ProductionOrderItemByKeyFluentHelper getProductionOrderItemByKey(String manufacturingOrder, String manufacturingOrderItem) Deprecated.Description copied from interface:ProductionOrderServiceFetch a singleProductionOrderItementity using key fields.- Specified by:
getProductionOrderItemByKeyin interfaceProductionOrderService- Parameters:
manufacturingOrder- Manufacturing Order IDConstraints: Not nullable, Maximum length: 12
manufacturingOrderItem- Manufacturing Order Item IDConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
ProductionOrderItementity 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 theexecutemethod on the fluent helper object.
-
getAllProductionOrderOperation
Deprecated.Description copied from interface:ProductionOrderServiceFetch multipleProductionOrderOperationentities.- Specified by:
getAllProductionOrderOperationin interfaceProductionOrderService- Returns:
- A fluent helper to fetch multiple
ProductionOrderOperationentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getProductionOrderOperationByKey
@Nonnull public ProductionOrderOperationByKeyFluentHelper getProductionOrderOperationByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem) Deprecated.Description copied from interface:ProductionOrderServiceFetch a singleProductionOrderOperationentity using key fields.- Specified by:
getProductionOrderOperationByKeyin interfaceProductionOrderService- Parameters:
orderInternalBillOfOperations- Order Internal IDConstraints: Not nullable, Maximum length: 10
orderIntBillOfOperationsItem- Internal Identifier of an Operation or ActivityConstraints: Not nullable, Maximum length: 8
- Returns:
- A fluent helper to fetch a single
ProductionOrderOperationentity 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 theexecutemethod on the fluent helper object.
-
getAllProductionOrderStatus
Deprecated.Description copied from interface:ProductionOrderServiceFetch multipleProductionOrderStatusentities.- Specified by:
getAllProductionOrderStatusin interfaceProductionOrderService- Returns:
- A fluent helper to fetch multiple
ProductionOrderStatusentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getProductionOrderStatusByKey
@Nonnull public ProductionOrderStatusByKeyFluentHelper getProductionOrderStatusByKey(String manufacturingOrder, String statusCode) Deprecated.Description copied from interface:ProductionOrderServiceFetch a singleProductionOrderStatusentity using key fields.- Specified by:
getProductionOrderStatusByKeyin interfaceProductionOrderService- Parameters:
manufacturingOrder- Order NumberConstraints: Not nullable, Maximum length: 12
statusCode- Object statusConstraints: Not nullable, Maximum length: 5
- Returns:
- A fluent helper to fetch a single
ProductionOrderStatusentity 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 theexecutemethod on the fluent helper object.
-
getAllProductionRsceTools
Deprecated.Description copied from interface:ProductionOrderServiceFetch multipleProductionRsceToolsentities.- Specified by:
getAllProductionRsceToolsin interfaceProductionOrderService- Returns:
- A fluent helper to fetch multiple
ProductionRsceToolsentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getProductionRsceToolsByKey
@Nonnull public ProductionRsceToolsByKeyFluentHelper getProductionRsceToolsByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID) Deprecated.Description copied from interface:ProductionOrderServiceFetch a singleProductionRsceToolsentity using key fields.- Specified by:
getProductionRsceToolsByKeyin interfaceProductionOrderService- Parameters:
orderInternalBillOfOperations- Order Internal IDConstraints: Not nullable, Maximum length: 10
mfgOrderOpProdnRsceToolIntID- Item Counter for Production Resources/ToolsConstraints: Not nullable, Maximum length: 8
- Returns:
- A fluent helper to fetch a single
ProductionRsceToolsentity 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 theexecutemethod on the fluent helper object.
-
releaseProductionOrder
@Nonnull public ReleaseProductionOrderFluentHelper releaseProductionOrder(@Nonnull String manufacturingOrder) Deprecated.Description copied from interface:ProductionOrderServiceCreates a fluent helper for the ReleaseProductionOrder OData function import.
- Specified by:
releaseProductionOrderin interfaceProductionOrderService- Parameters:
manufacturingOrder- Constraints: noneOriginal parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the ReleaseProductionOrder OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
releaseProductionOrderOpr
@Nonnull public ReleaseProductionOrderOprFluentHelper releaseProductionOrderOpr(@Nonnull String manufacturingOrder, @Nonnull String manufacturingOrderOperation) Deprecated.Description copied from interface:ProductionOrderServiceCreates a fluent helper for the ReleaseProductionOrderOpr OData function import.
- Specified by:
releaseProductionOrderOprin interfaceProductionOrderService- Parameters:
manufacturingOrder- Constraints: noneOriginal parameter name from the Odata EDM: ManufacturingOrder
manufacturingOrderOperation- Constraints: noneOriginal parameter name from the Odata EDM: ManufacturingOrderOperation
- Returns:
- A fluent helper object that will execute the ReleaseProductionOrderOpr OData function import with
the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
completeTechnicallyProdnOrd
@Nonnull public CompleteTechnicallyProdnOrdFluentHelper completeTechnicallyProdnOrd(@Nonnull String manufacturingOrder) Deprecated.Description copied from interface:ProductionOrderServiceCreates a fluent helper for the CompleteTechnicallyProdnOrd OData function import.
- Specified by:
completeTechnicallyProdnOrdin interfaceProductionOrderService- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the CompleteTechnicallyProdnOrd OData function import
with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
closeProdnOrd
Deprecated.Description copied from interface:ProductionOrderServiceCreates a fluent helper for the CloseProdnOrd OData function import.
- Specified by:
closeProdnOrdin interfaceProductionOrderService- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the CloseProdnOrd OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
setDeltnFlagProdnOrd
@Nonnull public SetDeltnFlagProdnOrdFluentHelper setDeltnFlagProdnOrd(@Nonnull String manufacturingOrder) Deprecated.Description copied from interface:ProductionOrderServiceCreates a fluent helper for the SetDeltnFlagProdnOrd OData function import.
- Specified by:
setDeltnFlagProdnOrdin interfaceProductionOrderService- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the SetDeltnFlagProdnOrd OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
setDeltnIndProdnOrd
@Nonnull public SetDeltnIndProdnOrdFluentHelper setDeltnIndProdnOrd(@Nonnull String manufacturingOrder) Deprecated.Description copied from interface:ProductionOrderServiceCreates a fluent helper for the SetDeltnIndProdnOrd OData function import.
- Specified by:
setDeltnIndProdnOrdin interfaceProductionOrderService- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the SetDeltnIndProdnOrd OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
discardOrder
Deprecated.Description copied from interface:ProductionOrderServiceCreates a fluent helper for the DiscardOrder OData function import.
- Specified by:
discardOrderin interfaceProductionOrderService- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the DiscardOrder OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
convertPlannedOrder
@Nonnull public ConvertPlannedOrderFluentHelper convertPlannedOrder(@Nonnull String plannedOrder, @Nullable String manufacturingOrderType, @Nullable String manufacturingOrder) Deprecated.Description copied from interface:ProductionOrderServiceCreates a fluent helper for the ConvertPlannedOrder OData function import.
- Specified by:
convertPlannedOrderin interfaceProductionOrderService- Parameters:
plannedOrder- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: PlannedOrder
manufacturingOrderType- Constraints: Nullable, Maximum length: 4Original parameter name from the Odata EDM: ManufacturingOrderType
manufacturingOrder- Constraints: Nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the ConvertPlannedOrder OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
scheduleProductionOrderOperation
@Nonnull public ScheduleProductionOrderOperationFluentHelper scheduleProductionOrderOperation(@Nonnull String productionOrder, @Nonnull String orderInternalBillOfOperations, @Nonnull String orderIntBillOfOperationsItem, @Nullable LocalDateTime opSchedldStartDate, @Nullable LocalTime opSchedldStartTime, @Nullable LocalDateTime opSchedldEndDate, @Nullable LocalTime opSchedldEndTime, @Nonnull String opSchedulingMode, @Nullable String opSchedulingStatus, @Nonnull String opSchedulingStrategy) Deprecated.Description copied from interface:ProductionOrderServiceCreates a fluent helper for the ScheduleProductionOrderOperation OData function import.
- Specified by:
scheduleProductionOrderOperationin interfaceProductionOrderService- Parameters:
productionOrder- OrderConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ProductionOrder
orderInternalBillOfOperations- Order Internal IDConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: OrderInternalBillOfOperations
orderIntBillOfOperationsItem- Operation Internal IDConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: OrderIntBillOfOperationsItem
opSchedldStartDate- Execution Start DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartDate
opSchedldStartTime- Execution Start TimeConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartTime
opSchedldEndDate- Execution End DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndDate
opSchedldEndTime- Execution End TimeConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndTime
opSchedulingMode- Scheduling typeConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: OpSchedulingMode
opSchedulingStatus- StatusConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStatus
opSchedulingStrategy- Component of the Version NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStrategy
- Returns:
- A fluent helper object that will execute the ScheduleProductionOrderOperation OData function
import with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-