Interface ProductionOrderV2Service
- All Superinterfaces:
BatchService<ProductionOrderV2ServiceBatch>
- All Known Implementing Classes:
DefaultProductionOrderV2Service
In addition to create, read, and update production 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 production orders, schedule production 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_PRODUCTION_ORDER_2_SRV |
| API Version: | 1.2.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: | Production 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.createProductionOrder_2(ProductionOrder_2 productionOrder_2) Deprecated.Create a newProductionOrder_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 multipleProductionOrder_2entities.Deprecated.Fetch multipleProductionOrderComponent_2entities.Deprecated.Fetch multipleProductionOrderComponent_3entities.Deprecated.Fetch multipleProductionOrderComponent_4entities.Deprecated.Fetch multipleProductionOrderItem_2entities.Deprecated.Fetch multipleProductionOrderOperation_2entities.Deprecated.Fetch multipleProductionOrderStatus_2entities.Deprecated.Fetch multipleProductionRsceTools_2entities.getProductionOrder_2ByKey(String manufacturingOrder) Deprecated.Fetch a singleProductionOrder_2entity using key fields.getProductionOrderComponent_2ByKey(String reservation, String reservationItem) Deprecated.Fetch a singleProductionOrderComponent_2entity using key fields.getProductionOrderComponent_3ByKey(String reservation, String reservationItem, String reservationRecordType) Deprecated.Fetch a singleProductionOrderComponent_3entity using key fields.getProductionOrderComponent_4ByKey(String reservation, String reservationItem, String reservationRecordType) Deprecated.Fetch a singleProductionOrderComponent_4entity using key fields.getProductionOrderItem_2ByKey(String manufacturingOrder, String manufacturingOrderItem) Deprecated.Fetch a singleProductionOrderItem_2entity using key fields.getProductionOrderOperation_2ByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem) Deprecated.Fetch a singleProductionOrderOperation_2entity using key fields.getProductionOrderStatus_2ByKey(String manufacturingOrder, String statusCode) Deprecated.Fetch a singleProductionOrderStatus_2entity using key fields.getProductionRsceTools_2ByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID) Deprecated.Fetch a singleProductionRsceTools_2entity using key fields.orderReleasedByMES(String manufacturingOrder) Deprecated.Creates a fluent helper for the OrderReleasedByMES OData function import.releaseOperation(String manufacturingOrder, String manufacturingOrderOperation, String manufacturingOrderSequence) 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.scheduleProductionOrderOperation(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 ScheduleProductionOrderOperation OData function import.techlyCmpltOrder(String manufacturingOrder) Deprecated.Creates a fluent helper for the TechlyCmpltOrder OData function import.updateProductionOrder_2(ProductionOrder_2 productionOrder_2) Deprecated.Update an existingProductionOrder_2entity and save it to the S/4HANA system.updateProductionOrderComponent_3(ProductionOrderComponent_3 productionOrderComponent_3) Deprecated.Update an existingProductionOrderComponent_3entity and save it to the S/4HANA system.updateProductionOrderComponent_4(ProductionOrderComponent_4 productionOrderComponent_4) Deprecated.Update an existingProductionOrderComponent_4entity 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.
-
getAllProductionOrderComponent_2
Deprecated.Fetch multipleProductionOrderComponent_2entities.- Returns:
- A fluent helper to fetch multiple
ProductionOrderComponent_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.
-
getProductionOrderComponent_2ByKey
@Nonnull ProductionOrderComponent_2ByKeyFluentHelper getProductionOrderComponent_2ByKey(String reservation, String reservationItem) Deprecated.Fetch a singleProductionOrderComponent_2entity using key fields.- Parameters:
reservationItem- Reservation ItemConstraints: Not nullable, Maximum length: 4
reservation- Number of reservation/dependent requirementsConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
ProductionOrderComponent_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.
-
getAllProductionOrderComponent_3
Deprecated.Fetch multipleProductionOrderComponent_3entities.- Returns:
- A fluent helper to fetch multiple
ProductionOrderComponent_3entities. 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.
-
getProductionOrderComponent_3ByKey
@Nonnull ProductionOrderComponent_3ByKeyFluentHelper getProductionOrderComponent_3ByKey(String reservation, String reservationItem, String reservationRecordType) Deprecated.Fetch a singleProductionOrderComponent_3entity 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
ProductionOrderComponent_3entity 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.
-
updateProductionOrderComponent_3
@Nonnull ProductionOrderComponent_3UpdateFluentHelper updateProductionOrderComponent_3(@Nonnull ProductionOrderComponent_3 productionOrderComponent_3) Deprecated.Update an existingProductionOrderComponent_3entity and save it to the S/4HANA system.- Parameters:
productionOrderComponent_3-ProductionOrderComponent_3entity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ProductionOrderComponent_3entity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllProductionOrderComponent_4
Deprecated.Fetch multipleProductionOrderComponent_4entities.- Returns:
- A fluent helper to fetch multiple
ProductionOrderComponent_4entities. 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.
-
getProductionOrderComponent_4ByKey
@Nonnull ProductionOrderComponent_4ByKeyFluentHelper getProductionOrderComponent_4ByKey(String reservation, String reservationItem, String reservationRecordType) Deprecated.Fetch a singleProductionOrderComponent_4entity 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
ProductionOrderComponent_4entity 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.
-
updateProductionOrderComponent_4
@Nonnull ProductionOrderComponent_4UpdateFluentHelper updateProductionOrderComponent_4(@Nonnull ProductionOrderComponent_4 productionOrderComponent_4) Deprecated.Update an existingProductionOrderComponent_4entity and save it to the S/4HANA system.- Parameters:
productionOrderComponent_4-ProductionOrderComponent_4entity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ProductionOrderComponent_4entity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllProductionOrderItem_2
Deprecated.Fetch multipleProductionOrderItem_2entities.- Returns:
- A fluent helper to fetch multiple
ProductionOrderItem_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.
-
getProductionOrderItem_2ByKey
@Nonnull ProductionOrderItem_2ByKeyFluentHelper getProductionOrderItem_2ByKey(String manufacturingOrder, String manufacturingOrderItem) Deprecated.Fetch a singleProductionOrderItem_2entity using key fields.- Parameters:
manufacturingOrderItem- Manufacturing Order Item IDConstraints: Not nullable, Maximum length: 4
manufacturingOrder- Production OrderConstraints: Not nullable, Maximum length: 12
- Returns:
- A fluent helper to fetch a single
ProductionOrderItem_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.
-
getAllProductionOrderOperation_2
Deprecated.Fetch multipleProductionOrderOperation_2entities.- Returns:
- A fluent helper to fetch multiple
ProductionOrderOperation_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.
-
getProductionOrderOperation_2ByKey
@Nonnull ProductionOrderOperation_2ByKeyFluentHelper getProductionOrderOperation_2ByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem) Deprecated.Fetch a singleProductionOrderOperation_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
ProductionOrderOperation_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.
-
getAllProductionOrderStatus_2
Deprecated.Fetch multipleProductionOrderStatus_2entities.- Returns:
- A fluent helper to fetch multiple
ProductionOrderStatus_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.
-
getProductionOrderStatus_2ByKey
@Nonnull ProductionOrderStatus_2ByKeyFluentHelper getProductionOrderStatus_2ByKey(String manufacturingOrder, String statusCode) Deprecated.Fetch a singleProductionOrderStatus_2entity using key fields.- Parameters:
manufacturingOrder- Production OrderConstraints: Not nullable, Maximum length: 12
statusCode- Object statusConstraints: Not nullable, Maximum length: 5
- Returns:
- A fluent helper to fetch a single
ProductionOrderStatus_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.
-
getAllProductionOrder_2
Deprecated.Fetch multipleProductionOrder_2entities.- Returns:
- A fluent helper to fetch multiple
ProductionOrder_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.
-
getProductionOrder_2ByKey
Deprecated.Fetch a singleProductionOrder_2entity using key fields.- Parameters:
manufacturingOrder- Production OrderConstraints: Not nullable, Maximum length: 12
- Returns:
- A fluent helper to fetch a single
ProductionOrder_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.
-
createProductionOrder_2
@Nonnull ProductionOrder_2CreateFluentHelper createProductionOrder_2(@Nonnull ProductionOrder_2 productionOrder_2) Deprecated.Create a newProductionOrder_2entity and save it to the S/4HANA system.- Parameters:
productionOrder_2-ProductionOrder_2entity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
ProductionOrder_2entity. To perform execution, call theexecutemethod on the fluent helper object.
-
updateProductionOrder_2
@Nonnull ProductionOrder_2UpdateFluentHelper updateProductionOrder_2(@Nonnull ProductionOrder_2 productionOrder_2) Deprecated.Update an existingProductionOrder_2entity and save it to the S/4HANA system.- Parameters:
productionOrder_2-ProductionOrder_2entity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
ProductionOrder_2entity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllProductionRsceTools_2
Deprecated.Fetch multipleProductionRsceTools_2entities.- Returns:
- A fluent helper to fetch multiple
ProductionRsceTools_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.
-
getProductionRsceTools_2ByKey
@Nonnull ProductionRsceTools_2ByKeyFluentHelper getProductionRsceTools_2ByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID) Deprecated.Fetch a singleProductionRsceTools_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
ProductionRsceTools_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.
-
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, @Nonnull String manufacturingOrderSequence) 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
manufacturingOrderSequence- Constraints: noneOriginal parameter name from the Odata EDM: ManufacturingOrderSequence
- 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.
-
scheduleProductionOrderOperation
@Nonnull ScheduleProductionOrderOperationFluentHelper scheduleProductionOrderOperation(@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 ScheduleProductionOrderOperation 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 ScheduleProductionOrderOperation 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.
-