Class DefaultProcessOrderV2Service
- All Implemented Interfaces:
BatchService<ProcessOrderV2ServiceBatch>,ProcessOrderV2Service
In addition to create, read, and update process orders, you can also release orders and operations. Besides updating header data of the order including the scheduling type, you can also update some properties of the order components. This service enables you to convert planned orders to process orders, schedule process order operations, and set further statuses for the order such as technically completed, closed, discarded by MES, or released by MES. In addition, you can set the deletion flag, deletion indicator, and delivery completed indicator.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_PROCESS_ORDER_2_SRV |
| API Version: | 1.1.0 |
| Minimum ERP Version: | 2302 |
| 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) |
| Authentication Methods: | x509 |
| Business Object: | Process Order |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.ProcessOrderV2Service
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingProcessOrderV2Service.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 manufacturingOrder, String plannedOrder, String manufacturingOrderType) Deprecated.Creates a fluent helper for the ConvertPlndOrder OData function import.createProcessOrder_2(ProcessOrder_2 processOrder_2) Deprecated.Create a newProcessOrder_2entity and save it to 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.deliveryCompletedOrder(String manufacturingOrder) Deprecated.Creates a fluent helper for the DeliveryCompletedOrder OData function import.discardOrder(String manufacturingOrder) Deprecated.Creates a fluent helper for the DiscardOrder OData function import.Deprecated.Fetch multipleProcessOrder_2entities.Deprecated.Fetch multipleProcessOrderComponent_2entities.Deprecated.Fetch multipleProcessOrderItem_2entities.Deprecated.Fetch multipleProcessOrderOperation_2entities.Deprecated.Fetch multipleProcessOrderProdnRsceTools_2entities.Deprecated.Fetch multipleProcessOrderStatus_2entities.getProcessOrder_2ByKey(String manufacturingOrder) Deprecated.Fetch a singleProcessOrder_2entity using key fields.getProcessOrderComponent_2ByKey(String reservation, String reservationItem, String reservationRecordType) Deprecated.Fetch a singleProcessOrderComponent_2entity using key fields.getProcessOrderItem_2ByKey(String manufacturingOrder, String manufacturingOrderItem) Deprecated.Fetch a singleProcessOrderItem_2entity using key fields.getProcessOrderOperation_2ByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem) Deprecated.Fetch a singleProcessOrderOperation_2entity using key fields.getProcessOrderProdnRsceTools_2ByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID) Deprecated.Fetch a singleProcessOrderProdnRsceTools_2entity using key fields.getProcessOrderStatus_2ByKey(String manufacturingOrder, String statusCode) Deprecated.Fetch a singleProcessOrderStatus_2entity using key fields.orderReleasedByMES(String manufacturingOrder) Deprecated.Creates a fluent helper for the OrderReleasedByMES OData function import.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.updateProcessOrder_2(ProcessOrder_2 processOrder_2) Deprecated.Update an existingProcessOrder_2entity and save it to the S/4HANA system.updateProcessOrderComponent_2(ProcessOrderComponent_2 processOrderComponent_2) Deprecated.Update an existingProcessOrderComponent_2entity 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
-
DefaultProcessOrderV2Service
public DefaultProcessOrderV2Service()Deprecated.Creates a service usingProcessOrderV2Service.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:ProcessOrderV2ServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceProcessOrderV2Service- 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<ProcessOrderV2ServiceBatch>
-
getAllProcessOrderComponent_2
Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch multipleProcessOrderComponent_2entities.- Specified by:
getAllProcessOrderComponent_2in interfaceProcessOrderV2Service- Returns:
- A fluent helper to fetch multiple
ProcessOrderComponent_2entities. 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.
-
getProcessOrderComponent_2ByKey
@Nonnull public ProcessOrderComponent_2ByKeyFluentHelper getProcessOrderComponent_2ByKey(String reservation, String reservationItem, String reservationRecordType) Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch a singleProcessOrderComponent_2entity using key fields.- Specified by:
getProcessOrderComponent_2ByKeyin interfaceProcessOrderV2Service- Parameters:
reservation- Number of reservation/dependent requirementsConstraints: Not nullable, Maximum length: 10
reservationItem- Reservation ItemConstraints: Not nullable, Maximum length: 4
reservationRecordType- Reservation Record TypeConstraints: Not nullable, Maximum length: 1
- Returns:
- A fluent helper to fetch a single
ProcessOrderComponent_2entity 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.
-
updateProcessOrderComponent_2
@Nonnull public ProcessOrderComponent_2UpdateFluentHelper updateProcessOrderComponent_2(@Nonnull ProcessOrderComponent_2 processOrderComponent_2) Deprecated.Description copied from interface:ProcessOrderV2ServiceUpdate an existingProcessOrderComponent_2entity and save it to the S/4HANA system.- Specified by:
updateProcessOrderComponent_2in interfaceProcessOrderV2Service- Parameters:
processOrderComponent_2-ProcessOrderComponent_2entity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ProcessOrderComponent_2entity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllProcessOrderItem_2
Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch multipleProcessOrderItem_2entities.- Specified by:
getAllProcessOrderItem_2in interfaceProcessOrderV2Service- Returns:
- A fluent helper to fetch multiple
ProcessOrderItem_2entities. 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.
-
getProcessOrderItem_2ByKey
@Nonnull public ProcessOrderItem_2ByKeyFluentHelper getProcessOrderItem_2ByKey(String manufacturingOrder, String manufacturingOrderItem) Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch a singleProcessOrderItem_2entity using key fields.- Specified by:
getProcessOrderItem_2ByKeyin interfaceProcessOrderV2Service- Parameters:
manufacturingOrder- Process OrderConstraints: Not nullable, Maximum length: 12
manufacturingOrderItem- Manufacturing Order Item IDConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
ProcessOrderItem_2entity 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_2
Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch multipleProcessOrderOperation_2entities.- Specified by:
getAllProcessOrderOperation_2in interfaceProcessOrderV2Service- Returns:
- A fluent helper to fetch multiple
ProcessOrderOperation_2entities. 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.
-
getProcessOrderOperation_2ByKey
@Nonnull public ProcessOrderOperation_2ByKeyFluentHelper getProcessOrderOperation_2ByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem) Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch a singleProcessOrderOperation_2entity using key fields.- Specified by:
getProcessOrderOperation_2ByKeyin interfaceProcessOrderV2Service- 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
ProcessOrderOperation_2entity 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.
-
getAllProcessOrderProdnRsceTools_2
Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch multipleProcessOrderProdnRsceTools_2entities.- Specified by:
getAllProcessOrderProdnRsceTools_2in interfaceProcessOrderV2Service- Returns:
- A fluent helper to fetch multiple
ProcessOrderProdnRsceTools_2entities. 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.
-
getProcessOrderProdnRsceTools_2ByKey
@Nonnull public ProcessOrderProdnRsceTools_2ByKeyFluentHelper getProcessOrderProdnRsceTools_2ByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID) Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch a singleProcessOrderProdnRsceTools_2entity using key fields.- Specified by:
getProcessOrderProdnRsceTools_2ByKeyin interfaceProcessOrderV2Service- 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
ProcessOrderProdnRsceTools_2entity 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_2
Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch multipleProcessOrderStatus_2entities.- Specified by:
getAllProcessOrderStatus_2in interfaceProcessOrderV2Service- Returns:
- A fluent helper to fetch multiple
ProcessOrderStatus_2entities. 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.
-
getProcessOrderStatus_2ByKey
@Nonnull public ProcessOrderStatus_2ByKeyFluentHelper getProcessOrderStatus_2ByKey(String manufacturingOrder, String statusCode) Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch a singleProcessOrderStatus_2entity using key fields.- Specified by:
getProcessOrderStatus_2ByKeyin interfaceProcessOrderV2Service- Parameters:
manufacturingOrder- Process OrderConstraints: Not nullable, Maximum length: 12
statusCode- Object statusConstraints: Not nullable, Maximum length: 5
- Returns:
- A fluent helper to fetch a single
ProcessOrderStatus_2entity 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.
-
getAllProcessOrder_2
Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch multipleProcessOrder_2entities.- Specified by:
getAllProcessOrder_2in interfaceProcessOrderV2Service- Returns:
- A fluent helper to fetch multiple
ProcessOrder_2entities. 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.
-
getProcessOrder_2ByKey
Deprecated.Description copied from interface:ProcessOrderV2ServiceFetch a singleProcessOrder_2entity using key fields.- Specified by:
getProcessOrder_2ByKeyin interfaceProcessOrderV2Service- Parameters:
manufacturingOrder- Process OrderConstraints: Not nullable, Maximum length: 12
- Returns:
- A fluent helper to fetch a single
ProcessOrder_2entity 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_2
@Nonnull public ProcessOrder_2CreateFluentHelper createProcessOrder_2(@Nonnull ProcessOrder_2 processOrder_2) Deprecated.Description copied from interface:ProcessOrderV2ServiceCreate a newProcessOrder_2entity and save it to the S/4HANA system.- Specified by:
createProcessOrder_2in interfaceProcessOrderV2Service- Parameters:
processOrder_2-ProcessOrder_2entity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
ProcessOrder_2entity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateProcessOrder_2
@Nonnull public ProcessOrder_2UpdateFluentHelper updateProcessOrder_2(@Nonnull ProcessOrder_2 processOrder_2) Deprecated.Description copied from interface:ProcessOrderV2ServiceUpdate an existingProcessOrder_2entity and save it to the S/4HANA system.- Specified by:
updateProcessOrder_2in interfaceProcessOrderV2Service- Parameters:
processOrder_2-ProcessOrder_2entity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ProcessOrder_2entity. To perform execution, call theexecutemethod on the fluent helper object.
-
releaseOrder
Deprecated.Description copied from interface:ProcessOrderV2ServiceCreates a fluent helper for the ReleaseOrder OData function import.
- Specified by:
releaseOrderin interfaceProcessOrderV2Service- 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:ProcessOrderV2ServiceCreates a fluent helper for the ReleaseOperation OData function import.
- Specified by:
releaseOperationin interfaceProcessOrderV2Service- 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:ProcessOrderV2ServiceCreates a fluent helper for the TechlyCmpltOrder OData function import.
- Specified by:
techlyCmpltOrderin interfaceProcessOrderV2Service- 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:ProcessOrderV2ServiceCreates a fluent helper for the CloseOrder OData function import.
- Specified by:
closeOrderin interfaceProcessOrderV2Service- 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:ProcessOrderV2ServiceCreates a fluent helper for the DeletionFlagOrder OData function import.
- Specified by:
deletionFlagOrderin interfaceProcessOrderV2Service- 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:ProcessOrderV2ServiceCreates a fluent helper for the DeletionIndOrder OData function import.
- Specified by:
deletionIndOrderin interfaceProcessOrderV2Service- 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:ProcessOrderV2ServiceCreates a fluent helper for the DiscardOrder OData function import.
- Specified by:
discardOrderin interfaceProcessOrderV2Service- 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(@Nullable String manufacturingOrder, @Nonnull String plannedOrder, @Nullable String manufacturingOrderType) Deprecated.Description copied from interface:ProcessOrderV2ServiceCreates a fluent helper for the ConvertPlndOrder OData function import.
- Specified by:
convertPlndOrderin interfaceProcessOrderV2Service- Parameters:
manufacturingOrder- Constraints: Nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
plannedOrder- Constraints: noneOriginal parameter name from the Odata EDM: PlannedOrder
manufacturingOrderType- Constraints: NullableOriginal parameter name from the Odata EDM: ManufacturingOrderType
- 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:ProcessOrderV2ServiceCreates a fluent helper for the ScheduleProcessOrderOperation OData function import.
- Specified by:
scheduleProcessOrderOperationin interfaceProcessOrderV2Service- 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.
-
deliveryCompletedOrder
@Nonnull public DeliveryCompletedOrderFluentHelper deliveryCompletedOrder(@Nonnull String manufacturingOrder) Deprecated.Description copied from interface:ProcessOrderV2ServiceCreates a fluent helper for the DeliveryCompletedOrder OData function import.
- Specified by:
deliveryCompletedOrderin interfaceProcessOrderV2Service- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the DeliveryCompletedOrder OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
orderReleasedByMES
@Nonnull public OrderReleasedByMESFluentHelper orderReleasedByMES(@Nonnull String manufacturingOrder) Deprecated.Description copied from interface:ProcessOrderV2ServiceCreates a fluent helper for the OrderReleasedByMES OData function import.
- Specified by:
orderReleasedByMESin interfaceProcessOrderV2Service- Parameters:
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- Returns:
- A fluent helper object that will execute the OrderReleasedByMES OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-