Interface ProcessOrderV2Service
- All Superinterfaces:
BatchService<ProcessOrderV2ServiceBatch>
- All Known Implementing Classes:
DefaultProcessOrderV2Service
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptioncloseOrder(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.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllProcessOrderComponent_2
Deprecated.Fetch multipleProcessOrderComponent_2entities.- 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 ProcessOrderComponent_2ByKeyFluentHelper getProcessOrderComponent_2ByKey(String reservation, String reservationItem, String reservationRecordType) Deprecated.Fetch a singleProcessOrderComponent_2entity using key fields.- Parameters:
reservationItem- Reservation ItemConstraints: Not nullable, Maximum length: 4
reservation- Number of reservation/dependent requirementsConstraints: Not nullable, Maximum length: 10
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 ProcessOrderComponent_2UpdateFluentHelper updateProcessOrderComponent_2(@Nonnull ProcessOrderComponent_2 processOrderComponent_2) Deprecated.Update an existingProcessOrderComponent_2entity and save it to the S/4HANA system.- 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.Fetch multipleProcessOrderItem_2entities.- 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 ProcessOrderItem_2ByKeyFluentHelper getProcessOrderItem_2ByKey(String manufacturingOrder, String manufacturingOrderItem) Deprecated.Fetch a singleProcessOrderItem_2entity using key fields.- Parameters:
manufacturingOrderItem- Manufacturing Order Item IDConstraints: Not nullable, Maximum length: 4
manufacturingOrder- Process OrderConstraints: Not nullable, Maximum length: 12
- 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.Fetch multipleProcessOrderOperation_2entities.- 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 ProcessOrderOperation_2ByKeyFluentHelper getProcessOrderOperation_2ByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem) Deprecated.Fetch a singleProcessOrderOperation_2entity using key fields.- Parameters:
orderIntBillOfOperationsItem- Internal Identifier of an Operation or ActivityConstraints: Not nullable, Maximum length: 8
orderInternalBillOfOperations- Order Internal IDConstraints: Not nullable, Maximum length: 10
- 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.Fetch multipleProcessOrderProdnRsceTools_2entities.- 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 ProcessOrderProdnRsceTools_2ByKeyFluentHelper getProcessOrderProdnRsceTools_2ByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID) Deprecated.Fetch a singleProcessOrderProdnRsceTools_2entity using key fields.- Parameters:
mfgOrderOpProdnRsceToolIntID- Item Counter for Production Resources/ToolsConstraints: Not nullable, Maximum length: 8
orderInternalBillOfOperations- Order Internal IDConstraints: Not nullable, Maximum length: 10
- 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.Fetch multipleProcessOrderStatus_2entities.- 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 ProcessOrderStatus_2ByKeyFluentHelper getProcessOrderStatus_2ByKey(String manufacturingOrder, String statusCode) Deprecated.Fetch a singleProcessOrderStatus_2entity using key fields.- 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.Fetch multipleProcessOrder_2entities.- 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.Fetch a singleProcessOrder_2entity using key fields.- 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 ProcessOrder_2CreateFluentHelper createProcessOrder_2(@Nonnull ProcessOrder_2 processOrder_2) Deprecated.Create a newProcessOrder_2entity and save it to the S/4HANA system.- 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 ProcessOrder_2UpdateFluentHelper updateProcessOrder_2(@Nonnull ProcessOrder_2 processOrder_2) Deprecated.Update an existingProcessOrder_2entity and save it to the S/4HANA system.- 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.Creates a fluent helper for the ReleaseOrder OData function import.
- 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 ReleaseOperationFluentHelper releaseOperation(@Nonnull String manufacturingOrder, @Nonnull String manufacturingOrderOperation) Deprecated.Creates a fluent helper for the ReleaseOperation OData function import.
- Parameters:
manufacturingOrderOperation- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: ManufacturingOrderOperation
manufacturingOrder- Constraints: Not nullable, Maximum length: 12Original parameter name from the Odata EDM: ManufacturingOrder
- 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.Creates a fluent helper for the TechlyCmpltOrder OData function import.
- 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.Creates a fluent helper for the CloseOrder OData function import.
- 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.Creates a fluent helper for the DeletionFlagOrder OData function import.
- 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.Creates a fluent helper for the DeletionIndOrder OData function import.
- 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.Creates a fluent helper for the DiscardOrder OData function import.
- 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 ConvertPlndOrderFluentHelper convertPlndOrder(@Nullable String manufacturingOrder, @Nonnull String plannedOrder, @Nullable String manufacturingOrderType) Deprecated.Creates a fluent helper for the ConvertPlndOrder OData function import.
- Parameters:
plannedOrder- Constraints: noneOriginal parameter name from the Odata EDM: PlannedOrder
manufacturingOrderType- Constraints: NullableOriginal 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 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.Creates a fluent helper for the ScheduleProcessOrderOperation OData function import.
- Parameters:
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
opSchedulingStrategy- Component of the Version NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStrategy
orderInternalBillOfOperations- Order Internal IDConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: OrderInternalBillOfOperations
opSchedulingStatus- StatusConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStatus
opSchedulingMode- Scheduling typeConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: OpSchedulingMode
manufacturingOrder- OrderConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
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
- 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 DeliveryCompletedOrderFluentHelper deliveryCompletedOrder(@Nonnull String manufacturingOrder) Deprecated.Creates a fluent helper for the DeliveryCompletedOrder OData function import.
- 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
Deprecated.Creates a fluent helper for the OrderReleasedByMES OData function import.
- 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.
-