@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProcessOrderV2Service") public class DefaultProcessOrderV2Service extends Object implements ProcessOrderV2Service
In addition to create, read, and update, you can also release process orders and operations. 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, or discarded by MES. In addition, you can set the deletion flag, deletion indicator, and delivery completed indicator.
Reference: SAP API Business Hub
OData Service: | API_PROCESS_ORDER_2_SRV |
API Version: | 1 |
Communication Scenario: | Manufacturing Execution - Order and Confirmation Integration (SAP_COM_0522), Production Planning Integration (SAP_COM_0104) |
Scope Items: | Third-Party Shop Floor Execution - Process Industry (3W3), Third-Party Shop Floor Execution - Discrete Industry (3W4), Make-to-Stock Production - Discrete Manufacturing (BJ5), Make-to-Stock - Process Manufacturing Based on Process Order (BJ8), Material Requirements Planning (J44) |
Authentication Methods: | Basic, x509 |
Business Object: | ProcessOrder |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProcessOrderV2Service()
Creates a service using
ProcessOrderV2Service.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultProcessOrderV2ServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
CloseOrderFluentHelper |
closeOrder(String manufacturingOrder)
Creates a fluent helper for the CloseOrder OData function import.
|
ConvertPlndOrderFluentHelper |
convertPlndOrder(String manufacturingOrder,
String plannedOrder,
String manufacturingOrderType)
Creates a fluent helper for the ConvertPlndOrder OData function import.
|
ProcessOrder_2CreateFluentHelper |
createProcessOrder_2(ProcessOrder_2 processOrder_2)
Create a new
ProcessOrder_2 entity and save it to the S/4HANA system. |
DeletionFlagOrderFluentHelper |
deletionFlagOrder(String manufacturingOrder)
Creates a fluent helper for the DeletionFlagOrder OData function import.
|
DeletionIndOrderFluentHelper |
deletionIndOrder(String manufacturingOrder)
Creates a fluent helper for the DeletionIndOrder OData function import.
|
DeliveryCompletedOrderFluentHelper |
deliveryCompletedOrder(String manufacturingOrder)
Creates a fluent helper for the DeliveryCompletedOrder OData function import.
|
DiscardOrderFluentHelper |
discardOrder(String manufacturingOrder)
Creates a fluent helper for the DiscardOrder OData function import.
|
ProcessOrder_2FluentHelper |
getAllProcessOrder_2()
Fetch multiple
ProcessOrder_2 entities. |
ProcessOrderComponent_2FluentHelper |
getAllProcessOrderComponent_2()
Fetch multiple
ProcessOrderComponent_2 entities. |
ProcessOrderItem_2FluentHelper |
getAllProcessOrderItem_2()
Fetch multiple
ProcessOrderItem_2 entities. |
ProcessOrderOperation_2FluentHelper |
getAllProcessOrderOperation_2()
Fetch multiple
ProcessOrderOperation_2 entities. |
ProcessOrderProdnRsceTools_2FluentHelper |
getAllProcessOrderProdnRsceTools_2()
Fetch multiple
ProcessOrderProdnRsceTools_2 entities. |
ProcessOrderStatus_2FluentHelper |
getAllProcessOrderStatus_2()
Fetch multiple
ProcessOrderStatus_2 entities. |
ProcessOrder_2ByKeyFluentHelper |
getProcessOrder_2ByKey(String manufacturingOrder)
Fetch a single
ProcessOrder_2 entity using key fields. |
ProcessOrderComponent_2ByKeyFluentHelper |
getProcessOrderComponent_2ByKey(String reservation,
String reservationItem,
String reservationRecordType)
Fetch a single
ProcessOrderComponent_2 entity using key fields. |
ProcessOrderItem_2ByKeyFluentHelper |
getProcessOrderItem_2ByKey(String manufacturingOrder,
String manufacturingOrderItem)
Fetch a single
ProcessOrderItem_2 entity using key fields. |
ProcessOrderOperation_2ByKeyFluentHelper |
getProcessOrderOperation_2ByKey(String orderInternalBillOfOperations,
String orderIntBillOfOperationsItem)
Fetch a single
ProcessOrderOperation_2 entity using key fields. |
ProcessOrderProdnRsceTools_2ByKeyFluentHelper |
getProcessOrderProdnRsceTools_2ByKey(String orderInternalBillOfOperations,
String mfgOrderOpProdnRsceToolIntID)
Fetch a single
ProcessOrderProdnRsceTools_2 entity using key fields. |
ProcessOrderStatus_2ByKeyFluentHelper |
getProcessOrderStatus_2ByKey(String manufacturingOrder,
String statusCode)
Fetch a single
ProcessOrderStatus_2 entity using key fields. |
ReleaseOperationFluentHelper |
releaseOperation(String manufacturingOrder,
String manufacturingOrderOperation)
Creates a fluent helper for the ReleaseOperation OData function import.
|
ReleaseOrderFluentHelper |
releaseOrder(String manufacturingOrder)
Creates a fluent helper for the ReleaseOrder OData function import.
|
ScheduleProcessOrderOperationFluentHelper |
scheduleProcessOrderOperation(String manufacturingOrder,
String orderInternalBillOfOperations,
String orderIntBillOfOperationsItem,
LocalDateTime opSchedldStartDate,
LocalTime opSchedldStartTime,
LocalDateTime opSchedldEndDate,
LocalTime opSchedldEndTime,
String opSchedulingMode,
String opSchedulingStatus,
String opSchedulingStrategy)
Creates a fluent helper for the ScheduleProcessOrderOperation OData function import.
|
TechlyCmpltOrderFluentHelper |
techlyCmpltOrder(String manufacturingOrder)
Creates a fluent helper for the TechlyCmpltOrder OData function import.
|
ProcessOrder_2UpdateFluentHelper |
updateProcessOrder_2(ProcessOrder_2 processOrder_2)
Update an existing
ProcessOrder_2 entity and save it to the S/4HANA system. |
DefaultProcessOrderV2Service |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultProcessOrderV2Service()
ProcessOrderV2Service.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProcessOrderV2Service withServicePath(@Nonnull String servicePath)
ProcessOrderV2Service
withServicePath
in interface ProcessOrderV2Service
servicePath
- Service path that will override the default.@Nonnull public DefaultProcessOrderV2ServiceBatch batch()
batch
in interface BatchService<ProcessOrderV2ServiceBatch>
@Nonnull public ProcessOrderComponent_2FluentHelper getAllProcessOrderComponent_2()
ProcessOrderV2Service
ProcessOrderComponent_2
entities.getAllProcessOrderComponent_2
in interface ProcessOrderV2Service
ProcessOrderComponent_2
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 ProcessOrderComponent_2ByKeyFluentHelper getProcessOrderComponent_2ByKey(String reservation, String reservationItem, String reservationRecordType)
ProcessOrderV2Service
ProcessOrderComponent_2
entity using key fields.getProcessOrderComponent_2ByKey
in interface ProcessOrderV2Service
reservation
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
reservationItem
- Reservation Item
Constraints: Not nullable, Maximum length: 4
reservationRecordType
- Reservation Record Type
Constraints: Not nullable, Maximum length: 1
ProcessOrderComponent_2
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 ProcessOrderItem_2FluentHelper getAllProcessOrderItem_2()
ProcessOrderV2Service
ProcessOrderItem_2
entities.getAllProcessOrderItem_2
in interface ProcessOrderV2Service
ProcessOrderItem_2
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 ProcessOrderItem_2ByKeyFluentHelper getProcessOrderItem_2ByKey(String manufacturingOrder, String manufacturingOrderItem)
ProcessOrderV2Service
ProcessOrderItem_2
entity using key fields.getProcessOrderItem_2ByKey
in interface ProcessOrderV2Service
manufacturingOrder
- Key that uniquely identifies a process order.
Constraints: Not nullable, Maximum length: 12
manufacturingOrderItem
- Manufacturing Order Item ID
Constraints: Not nullable, Maximum length: 4
ProcessOrderItem_2
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 ProcessOrderOperation_2FluentHelper getAllProcessOrderOperation_2()
ProcessOrderV2Service
ProcessOrderOperation_2
entities.getAllProcessOrderOperation_2
in interface ProcessOrderV2Service
ProcessOrderOperation_2
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 ProcessOrderOperation_2ByKeyFluentHelper getProcessOrderOperation_2ByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem)
ProcessOrderV2Service
ProcessOrderOperation_2
entity using key fields.getProcessOrderOperation_2ByKey
in interface ProcessOrderV2Service
orderInternalBillOfOperations
- Order Internal ID
Constraints: Not nullable, Maximum length: 10
orderIntBillOfOperationsItem
- Internal Identifier of an Operation or Activity
Constraints: Not nullable, Maximum length: 8
ProcessOrderOperation_2
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 ProcessOrderProdnRsceTools_2FluentHelper getAllProcessOrderProdnRsceTools_2()
ProcessOrderV2Service
ProcessOrderProdnRsceTools_2
entities.getAllProcessOrderProdnRsceTools_2
in interface ProcessOrderV2Service
ProcessOrderProdnRsceTools_2
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 ProcessOrderProdnRsceTools_2ByKeyFluentHelper getProcessOrderProdnRsceTools_2ByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID)
ProcessOrderV2Service
ProcessOrderProdnRsceTools_2
entity using key fields.getProcessOrderProdnRsceTools_2ByKey
in interface ProcessOrderV2Service
orderInternalBillOfOperations
- Order Internal ID
Constraints: Not nullable, Maximum length: 10
mfgOrderOpProdnRsceToolIntID
- Serial counter which is used for the unique identification of production resources/tools.
Constraints: Not nullable, Maximum length: 8
ProcessOrderProdnRsceTools_2
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 ProcessOrderStatus_2FluentHelper getAllProcessOrderStatus_2()
ProcessOrderV2Service
ProcessOrderStatus_2
entities.getAllProcessOrderStatus_2
in interface ProcessOrderV2Service
ProcessOrderStatus_2
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 ProcessOrderStatus_2ByKeyFluentHelper getProcessOrderStatus_2ByKey(String manufacturingOrder, String statusCode)
ProcessOrderV2Service
ProcessOrderStatus_2
entity using key fields.getProcessOrderStatus_2ByKey
in interface ProcessOrderV2Service
manufacturingOrder
- Key that uniquely identifies a process order.
Constraints: Not nullable, Maximum length: 12
statusCode
- Key which informs you of the current status of an object.
Constraints: Not nullable, Maximum length: 5
ProcessOrderStatus_2
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 ProcessOrder_2FluentHelper getAllProcessOrder_2()
ProcessOrderV2Service
ProcessOrder_2
entities.getAllProcessOrder_2
in interface ProcessOrderV2Service
ProcessOrder_2
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 ProcessOrder_2ByKeyFluentHelper getProcessOrder_2ByKey(String manufacturingOrder)
ProcessOrderV2Service
ProcessOrder_2
entity using key fields.getProcessOrder_2ByKey
in interface ProcessOrderV2Service
manufacturingOrder
- Key that uniquely identifies a process order.
Constraints: Not nullable, Maximum length: 12
ProcessOrder_2
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 ProcessOrder_2CreateFluentHelper createProcessOrder_2(@Nonnull ProcessOrder_2 processOrder_2)
ProcessOrderV2Service
ProcessOrder_2
entity and save it to the S/4HANA system.createProcessOrder_2
in interface ProcessOrderV2Service
processOrder_2
- ProcessOrder_2
entity object that will be created in the S/4HANA system.ProcessOrder_2
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProcessOrder_2UpdateFluentHelper updateProcessOrder_2(@Nonnull ProcessOrder_2 processOrder_2)
ProcessOrderV2Service
ProcessOrder_2
entity and save it to the S/4HANA system.updateProcessOrder_2
in interface ProcessOrderV2Service
processOrder_2
- ProcessOrder_2
entity object that will be updated in the S/4HANA system.ProcessOrder_2
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReleaseOrderFluentHelper releaseOrder(@Nonnull String manufacturingOrder)
ProcessOrderV2Service
Creates a fluent helper for the ReleaseOrder OData function import.
releaseOrder
in interface ProcessOrderV2Service
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull public ReleaseOperationFluentHelper releaseOperation(@Nonnull String manufacturingOrder, @Nonnull String manufacturingOrderOperation)
ProcessOrderV2Service
Creates a fluent helper for the ReleaseOperation OData function import.
releaseOperation
in interface ProcessOrderV2Service
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
manufacturingOrderOperation
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: ManufacturingOrderOperation
execute
method on the fluent helper object.@Nonnull public TechlyCmpltOrderFluentHelper techlyCmpltOrder(@Nonnull String manufacturingOrder)
ProcessOrderV2Service
Creates a fluent helper for the TechlyCmpltOrder OData function import.
techlyCmpltOrder
in interface ProcessOrderV2Service
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull public CloseOrderFluentHelper closeOrder(@Nonnull String manufacturingOrder)
ProcessOrderV2Service
Creates a fluent helper for the CloseOrder OData function import.
closeOrder
in interface ProcessOrderV2Service
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull public DeletionFlagOrderFluentHelper deletionFlagOrder(@Nonnull String manufacturingOrder)
ProcessOrderV2Service
Creates a fluent helper for the DeletionFlagOrder OData function import.
deletionFlagOrder
in interface ProcessOrderV2Service
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull public DeletionIndOrderFluentHelper deletionIndOrder(@Nonnull String manufacturingOrder)
ProcessOrderV2Service
Creates a fluent helper for the DeletionIndOrder OData function import.
deletionIndOrder
in interface ProcessOrderV2Service
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull public DiscardOrderFluentHelper discardOrder(@Nonnull String manufacturingOrder)
ProcessOrderV2Service
Creates a fluent helper for the DiscardOrder OData function import.
discardOrder
in interface ProcessOrderV2Service
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.@Nonnull public ConvertPlndOrderFluentHelper convertPlndOrder(@Nullable String manufacturingOrder, @Nonnull String plannedOrder, @Nullable String manufacturingOrderType)
ProcessOrderV2Service
Creates a fluent helper for the ConvertPlndOrder OData function import.
convertPlndOrder
in interface ProcessOrderV2Service
manufacturingOrder
- Constraints: Nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
plannedOrder
- Constraints: none
Original parameter name from the Odata EDM: PlannedOrder
manufacturingOrderType
- Constraints: Nullable
Original parameter name from the Odata EDM: ManufacturingOrderType
execute
method on the fluent helper object.@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)
ProcessOrderV2Service
Creates a fluent helper for the ScheduleProcessOrderOperation OData function import.
scheduleProcessOrderOperation
in interface ProcessOrderV2Service
manufacturingOrder
- Order
Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
orderInternalBillOfOperations
- Order Internal ID
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: OrderInternalBillOfOperations
orderIntBillOfOperationsItem
- Operation Internal ID
Constraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: OrderIntBillOfOperationsItem
opSchedldStartDate
- Execution Start Date
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartDate
opSchedldStartTime
- Execution Start Time
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartTime
opSchedldEndDate
- Execution End Date
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndDate
opSchedldEndTime
- Execution End Time
Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndTime
opSchedulingMode
- Scheduling type
Constraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: OpSchedulingMode
opSchedulingStatus
- Status
Constraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStatus
opSchedulingStrategy
- Component of the Version Number
Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStrategy
execute
method on the fluent helper object.@Nonnull public DeliveryCompletedOrderFluentHelper deliveryCompletedOrder(@Nonnull String manufacturingOrder)
ProcessOrderV2Service
Creates a fluent helper for the DeliveryCompletedOrder OData function import.
deliveryCompletedOrder
in interface ProcessOrderV2Service
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.