Class DefaultProcessOrderService
- All Implemented Interfaces:
BatchService<ProcessOrderServiceBatch>,ProcessOrderService
In addition to create, read, and update, you can also release process orders and operations. This service also enables you to schedule process order operations, technically complete and close process orders as well as set the deletion flag and deletion indicator.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_PROCESS_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: | Process Order |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.ProcessOrderService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProcessOrderService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.closeOrder(String manufacturingOrder) Deprecated.Creates a fluent helper for the CloseOrder OData function import.convertPlndOrder(String plannedOrder, String manufacturingOrderType, String manufacturingOrder) Deprecated.Creates a fluent helper for the ConvertPlndOrder OData function import.createFunctionMessage(FunctionMessage functionMessage) Deprecated.Create a newFunctionMessageentity and save it to the S/4HANA system.createProcessOrder(ProcessOrder processOrder) Deprecated.Create a newProcessOrderentity and save it to the S/4HANA system.deleteFunctionMessage(FunctionMessage functionMessage) Deprecated.Deletes an existingFunctionMessageentity in the S/4HANA system.deletionFlagOrder(String manufacturingOrder) Deprecated.Creates a fluent helper for the DeletionFlagOrder OData function import.deletionIndOrder(String manufacturingOrder) Deprecated.Creates a fluent helper for the DeletionIndOrder OData function import.discardOrder(String manufacturingOrder) Deprecated.Creates a fluent helper for the DiscardOrder OData function import.Deprecated.Fetch multipleFunctionMessageentities.Deprecated.Fetch multipleProcessOrderentities.Deprecated.Fetch multipleProcessOrderComponententities.Deprecated.Fetch multipleProcessOrderItementities.Deprecated.Fetch multipleProcessOrderOperationentities.Deprecated.Fetch multipleProcessOrderStatusentities.getFunctionMessageByKey(String message) Deprecated.Fetch a singleFunctionMessageentity using key fields.getProcessOrderByKey(String processOrder) Deprecated.Fetch a singleProcessOrderentity using key fields.getProcessOrderComponentByKey(String reservation, String reservationItem) Deprecated.Fetch a singleProcessOrderComponententity using key fields.getProcessOrderItemByKey(String manufacturingOrder, String manufacturingOrderItem) Deprecated.Fetch a singleProcessOrderItementity using key fields.getProcessOrderOperationByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem) Deprecated.Fetch a singleProcessOrderOperationentity using key fields.getProcessOrderStatusByKey(String manufacturingOrder, String statusCode) Deprecated.Fetch a singleProcessOrderStatusentity using key fields.releaseOperation(String manufacturingOrder, String manufacturingOrderOperation) Deprecated.Creates a fluent helper for the ReleaseOperation OData function import.releaseOrder(String manufacturingOrder) Deprecated.Creates a fluent helper for the ReleaseOrder OData function import.scheduleProcessOrderOperation(String manufacturingOrder, 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 ScheduleProcessOrderOperation OData function import.techlyCmpltOrder(String manufacturingOrder) Deprecated.Creates a fluent helper for the TechlyCmpltOrder OData function import.updateFunctionMessage(FunctionMessage functionMessage) Deprecated.Update an existingFunctionMessageentity and save it to the S/4HANA system.updateProcessOrder(ProcessOrder processOrder) Deprecated.Update an existingProcessOrderentity 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
-
DefaultProcessOrderService
public DefaultProcessOrderService()Deprecated.Creates a service usingProcessOrderService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ProcessOrderServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProcessOrderService- 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<ProcessOrderServiceBatch>
-
getAllFunctionMessage
Deprecated.Description copied from interface:ProcessOrderServiceFetch multipleFunctionMessageentities.- Specified by:
getAllFunctionMessagein interfaceProcessOrderService- Returns:
- A fluent helper to fetch multiple
FunctionMessageentities. 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.
-
getFunctionMessageByKey
Deprecated.Description copied from interface:ProcessOrderServiceFetch a singleFunctionMessageentity using key fields.- Specified by:
getFunctionMessageByKeyin interfaceProcessOrderService- Parameters:
message- Message textConstraints: Not nullable, Maximum length: 220
- Returns:
- A fluent helper to fetch a single
FunctionMessageentity 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.
-
createFunctionMessage
@Nonnull public FunctionMessageCreateFluentHelper createFunctionMessage(@Nonnull FunctionMessage functionMessage) Deprecated.Description copied from interface:ProcessOrderServiceCreate a newFunctionMessageentity and save it to the S/4HANA system.- Specified by:
createFunctionMessagein interfaceProcessOrderService- Parameters:
functionMessage-FunctionMessageentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
FunctionMessageentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateFunctionMessage
@Nonnull public FunctionMessageUpdateFluentHelper updateFunctionMessage(@Nonnull FunctionMessage functionMessage) Deprecated.Description copied from interface:ProcessOrderServiceUpdate an existingFunctionMessageentity and save it to the S/4HANA system.- Specified by:
updateFunctionMessagein interfaceProcessOrderService- Parameters:
functionMessage-FunctionMessageentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
FunctionMessageentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deleteFunctionMessage
@Nonnull public FunctionMessageDeleteFluentHelper deleteFunctionMessage(@Nonnull FunctionMessage functionMessage) Deprecated.Description copied from interface:ProcessOrderServiceDeletes an existingFunctionMessageentity in the S/4HANA system.- Specified by:
deleteFunctionMessagein interfaceProcessOrderService- Parameters:
functionMessage-FunctionMessageentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
FunctionMessageentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllProcessOrder
Deprecated.Description copied from interface:ProcessOrderServiceFetch multipleProcessOrderentities.- Specified by:
getAllProcessOrderin interfaceProcessOrderService- Returns:
- A fluent helper to fetch multiple
ProcessOrderentities. 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.
-
getProcessOrderByKey
Deprecated.Description copied from interface:ProcessOrderServiceFetch a singleProcessOrderentity using key fields.- Specified by:
getProcessOrderByKeyin interfaceProcessOrderService- Parameters:
processOrder- Manufacturing Order IDConstraints: Not nullable, Maximum length: 12
- Returns:
- A fluent helper to fetch a single
ProcessOrderentity 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.
-
createProcessOrder
@Nonnull public ProcessOrderCreateFluentHelper createProcessOrder(@Nonnull ProcessOrder processOrder) Deprecated.Description copied from interface:ProcessOrderServiceCreate a newProcessOrderentity and save it to the S/4HANA system.- Specified by:
createProcessOrderin interfaceProcessOrderService- Parameters:
processOrder-ProcessOrderentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
ProcessOrderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateProcessOrder
@Nonnull public ProcessOrderUpdateFluentHelper updateProcessOrder(@Nonnull ProcessOrder processOrder) Deprecated.Description copied from interface:ProcessOrderServiceUpdate an existingProcessOrderentity and save it to the S/4HANA system.- Specified by:
updateProcessOrderin interfaceProcessOrderService- Parameters:
processOrder-ProcessOrderentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ProcessOrderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllProcessOrderComponent
Deprecated.Description copied from interface:ProcessOrderServiceFetch multipleProcessOrderComponententities.- Specified by:
getAllProcessOrderComponentin interfaceProcessOrderService- Returns:
- A fluent helper to fetch multiple
ProcessOrderComponententities. 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.
-
getProcessOrderComponentByKey
@Nonnull public ProcessOrderComponentByKeyFluentHelper getProcessOrderComponentByKey(String reservation, String reservationItem) Deprecated.Description copied from interface:ProcessOrderServiceFetch a singleProcessOrderComponententity using key fields.- Specified by:
getProcessOrderComponentByKeyin interfaceProcessOrderService- 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
ProcessOrderComponententity 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.
-
getAllProcessOrderItem
Deprecated.Description copied from interface:ProcessOrderServiceFetch multipleProcessOrderItementities.- Specified by:
getAllProcessOrderItemin interfaceProcessOrderService- Returns:
- A fluent helper to fetch multiple
ProcessOrderItementities. 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.
-
getProcessOrderItemByKey
@Nonnull public ProcessOrderItemByKeyFluentHelper getProcessOrderItemByKey(String manufacturingOrder, String manufacturingOrderItem) Deprecated.Description copied from interface:ProcessOrderServiceFetch a singleProcessOrderItementity using key fields.- Specified by:
getProcessOrderItemByKeyin interfaceProcessOrderService- 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
ProcessOrderItementity 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.
-
getAllProcessOrderOperation
Deprecated.Description copied from interface:ProcessOrderServiceFetch multipleProcessOrderOperationentities.- Specified by:
getAllProcessOrderOperationin interfaceProcessOrderService- Returns:
- A fluent helper to fetch multiple
ProcessOrderOperationentities. 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.
-
getProcessOrderOperationByKey
@Nonnull public ProcessOrderOperationByKeyFluentHelper getProcessOrderOperationByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem) Deprecated.Description copied from interface:ProcessOrderServiceFetch a singleProcessOrderOperationentity using key fields.- Specified by:
getProcessOrderOperationByKeyin interfaceProcessOrderService- 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
ProcessOrderOperationentity 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.
-
getAllProcessOrderStatus
Deprecated.Description copied from interface:ProcessOrderServiceFetch multipleProcessOrderStatusentities.- Specified by:
getAllProcessOrderStatusin interfaceProcessOrderService- Returns:
- A fluent helper to fetch multiple
ProcessOrderStatusentities. 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.
-
getProcessOrderStatusByKey
@Nonnull public ProcessOrderStatusByKeyFluentHelper getProcessOrderStatusByKey(String manufacturingOrder, String statusCode) Deprecated.Description copied from interface:ProcessOrderServiceFetch a singleProcessOrderStatusentity using key fields.- Specified by:
getProcessOrderStatusByKeyin interfaceProcessOrderService- 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
ProcessOrderStatusentity 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.
-
releaseOrder
Deprecated.Description copied from interface:ProcessOrderServiceCreates a fluent helper for the ReleaseOrder OData function import.
- Specified by:
releaseOrderin interfaceProcessOrderService- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the ReleaseOrder OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
releaseOperation
@Nonnull public ReleaseOperationFluentHelper releaseOperation(@Nonnull String manufacturingOrder, @Nonnull String manufacturingOrderOperation) Deprecated.Description copied from interface:ProcessOrderServiceCreates a fluent helper for the ReleaseOperation OData function import.
- Specified by:
releaseOperationin interfaceProcessOrderService- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
manufacturingOrderOperation- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: ManufacturingOrderOperation
- Returns:
- A fluent helper object that will execute the ReleaseOperation OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
techlyCmpltOrder
Deprecated.Description copied from interface:ProcessOrderServiceCreates a fluent helper for the TechlyCmpltOrder OData function import.
- Specified by:
techlyCmpltOrderin interfaceProcessOrderService- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the TechlyCmpltOrder OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
closeOrder
Deprecated.Description copied from interface:ProcessOrderServiceCreates a fluent helper for the CloseOrder OData function import.
- Specified by:
closeOrderin interfaceProcessOrderService- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the CloseOrder OData function import with the provided
parameters. To perform execution, call the
executemethod on the fluent helper object.
-
deletionFlagOrder
Deprecated.Description copied from interface:ProcessOrderServiceCreates a fluent helper for the DeletionFlagOrder OData function import.
- Specified by:
deletionFlagOrderin interfaceProcessOrderService- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the DeletionFlagOrder OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
deletionIndOrder
Deprecated.Description copied from interface:ProcessOrderServiceCreates a fluent helper for the DeletionIndOrder OData function import.
- Specified by:
deletionIndOrderin interfaceProcessOrderService- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the DeletionIndOrder OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
discardOrder
Deprecated.Description copied from interface:ProcessOrderServiceCreates a fluent helper for the DiscardOrder OData function import.
- Specified by:
discardOrderin interfaceProcessOrderService- 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.
-
convertPlndOrder
@Nonnull public ConvertPlndOrderFluentHelper convertPlndOrder(@Nonnull String plannedOrder, @Nullable String manufacturingOrderType, @Nullable String manufacturingOrder) Deprecated.Description copied from interface:ProcessOrderServiceCreates a fluent helper for the ConvertPlndOrder OData function import.
- Specified by:
convertPlndOrderin interfaceProcessOrderService- 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 ConvertPlndOrder OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
scheduleProcessOrderOperation
@Nonnull public ScheduleProcessOrderOperationFluentHelper scheduleProcessOrderOperation(@Nonnull String manufacturingOrder, @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:ProcessOrderServiceCreates a fluent helper for the ScheduleProcessOrderOperation OData function import.
- Specified by:
scheduleProcessOrderOperationin interfaceProcessOrderService- Parameters:
manufacturingOrder- OrderConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
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 ScheduleProcessOrderOperation OData function import
with the provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-