@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProductionOrderV2Service") public class DefaultProductionOrderV2Service extends Object implements ProductionOrderV2Service
In addition to create, read, and update, you can also release production orders and operations. 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, 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_PRODUCTION_ORDER_2_SRV |
API Version: | 1 |
Communication Scenario: | Manufacturing Execution - Order and Confirmation Integration (SAP_COM_0522) |
Scope Items: | Third-Party Shop Floor Execution - Process Industry (3W3), Third-Party Shop Floor Execution - Discrete Industry (3W4) |
Authentication Methods: | Basic, x509 |
Business Object: | ProductionOrder |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultProductionOrderV2Service()
Creates a service using
ProductionOrderV2Service.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultProductionOrderV2ServiceBatch |
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.
|
ProductionOrder_2CreateFluentHelper |
createProductionOrder_2(ProductionOrder_2 productionOrder_2)
Create a new
ProductionOrder_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.
|
ProductionOrder_2FluentHelper |
getAllProductionOrder_2()
Fetch multiple
ProductionOrder_2 entities. |
ProductionOrderComponent_2FluentHelper |
getAllProductionOrderComponent_2()
Fetch multiple
ProductionOrderComponent_2 entities. |
ProductionOrderItem_2FluentHelper |
getAllProductionOrderItem_2()
Fetch multiple
ProductionOrderItem_2 entities. |
ProductionOrderOperation_2FluentHelper |
getAllProductionOrderOperation_2()
Fetch multiple
ProductionOrderOperation_2 entities. |
ProductionOrderStatus_2FluentHelper |
getAllProductionOrderStatus_2()
Fetch multiple
ProductionOrderStatus_2 entities. |
ProductionRsceTools_2FluentHelper |
getAllProductionRsceTools_2()
Fetch multiple
ProductionRsceTools_2 entities. |
ProductionOrder_2ByKeyFluentHelper |
getProductionOrder_2ByKey(String manufacturingOrder)
Fetch a single
ProductionOrder_2 entity using key fields. |
ProductionOrderComponent_2ByKeyFluentHelper |
getProductionOrderComponent_2ByKey(String reservation,
String reservationItem)
Fetch a single
ProductionOrderComponent_2 entity using key fields. |
ProductionOrderItem_2ByKeyFluentHelper |
getProductionOrderItem_2ByKey(String manufacturingOrder,
String manufacturingOrderItem)
Fetch a single
ProductionOrderItem_2 entity using key fields. |
ProductionOrderOperation_2ByKeyFluentHelper |
getProductionOrderOperation_2ByKey(String orderInternalBillOfOperations,
String orderIntBillOfOperationsItem)
Fetch a single
ProductionOrderOperation_2 entity using key fields. |
ProductionOrderStatus_2ByKeyFluentHelper |
getProductionOrderStatus_2ByKey(String manufacturingOrder,
String statusCode)
Fetch a single
ProductionOrderStatus_2 entity using key fields. |
ProductionRsceTools_2ByKeyFluentHelper |
getProductionRsceTools_2ByKey(String orderInternalBillOfOperations,
String mfgOrderOpProdnRsceToolIntID)
Fetch a single
ProductionRsceTools_2 entity using key fields. |
ReleaseOperationFluentHelper |
releaseOperation(String manufacturingOrder,
String manufacturingOrderOperation,
String manufacturingOrderSequence)
Creates a fluent helper for the ReleaseOperation OData function import.
|
ReleaseOrderFluentHelper |
releaseOrder(String manufacturingOrder)
Creates a fluent helper for the ReleaseOrder OData function import.
|
ScheduleProductionOrderOperationFluentHelper |
scheduleProductionOrderOperation(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 ScheduleProductionOrderOperation OData function import.
|
TechlyCmpltOrderFluentHelper |
techlyCmpltOrder(String manufacturingOrder)
Creates a fluent helper for the TechlyCmpltOrder OData function import.
|
ProductionOrder_2UpdateFluentHelper |
updateProductionOrder_2(ProductionOrder_2 productionOrder_2)
Update an existing
ProductionOrder_2 entity and save it to the S/4HANA system. |
DefaultProductionOrderV2Service |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultProductionOrderV2Service()
ProductionOrderV2Service.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultProductionOrderV2Service withServicePath(@Nonnull String servicePath)
ProductionOrderV2Service
withServicePath
in interface ProductionOrderV2Service
servicePath
- Service path that will override the default.@Nonnull public DefaultProductionOrderV2ServiceBatch batch()
batch
in interface BatchService<ProductionOrderV2ServiceBatch>
@Nonnull public ProductionOrderComponent_2FluentHelper getAllProductionOrderComponent_2()
ProductionOrderV2Service
ProductionOrderComponent_2
entities.getAllProductionOrderComponent_2
in interface ProductionOrderV2Service
ProductionOrderComponent_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 ProductionOrderComponent_2ByKeyFluentHelper getProductionOrderComponent_2ByKey(String reservation, String reservationItem)
ProductionOrderV2Service
ProductionOrderComponent_2
entity using key fields.getProductionOrderComponent_2ByKey
in interface ProductionOrderV2Service
reservation
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
reservationItem
- Reservation Item
Constraints: Not nullable, Maximum length: 4
ProductionOrderComponent_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 ProductionOrderItem_2FluentHelper getAllProductionOrderItem_2()
ProductionOrderV2Service
ProductionOrderItem_2
entities.getAllProductionOrderItem_2
in interface ProductionOrderV2Service
ProductionOrderItem_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 ProductionOrderItem_2ByKeyFluentHelper getProductionOrderItem_2ByKey(String manufacturingOrder, String manufacturingOrderItem)
ProductionOrderV2Service
ProductionOrderItem_2
entity using key fields.getProductionOrderItem_2ByKey
in interface ProductionOrderV2Service
manufacturingOrder
- Production Order
Constraints: Not nullable, Maximum length: 12
manufacturingOrderItem
- Manufacturing Order Item ID
Constraints: Not nullable, Maximum length: 4
ProductionOrderItem_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 ProductionOrderOperation_2FluentHelper getAllProductionOrderOperation_2()
ProductionOrderV2Service
ProductionOrderOperation_2
entities.getAllProductionOrderOperation_2
in interface ProductionOrderV2Service
ProductionOrderOperation_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 ProductionOrderOperation_2ByKeyFluentHelper getProductionOrderOperation_2ByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem)
ProductionOrderV2Service
ProductionOrderOperation_2
entity using key fields.getProductionOrderOperation_2ByKey
in interface ProductionOrderV2Service
orderInternalBillOfOperations
- Order Internal ID
Constraints: Not nullable, Maximum length: 10
orderIntBillOfOperationsItem
- Internal Identifier of an Operation or Activity
Constraints: Not nullable, Maximum length: 8
ProductionOrderOperation_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 ProductionOrderStatus_2FluentHelper getAllProductionOrderStatus_2()
ProductionOrderV2Service
ProductionOrderStatus_2
entities.getAllProductionOrderStatus_2
in interface ProductionOrderV2Service
ProductionOrderStatus_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 ProductionOrderStatus_2ByKeyFluentHelper getProductionOrderStatus_2ByKey(String manufacturingOrder, String statusCode)
ProductionOrderV2Service
ProductionOrderStatus_2
entity using key fields.getProductionOrderStatus_2ByKey
in interface ProductionOrderV2Service
manufacturingOrder
- Production 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
ProductionOrderStatus_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 ProductionOrder_2FluentHelper getAllProductionOrder_2()
ProductionOrderV2Service
ProductionOrder_2
entities.getAllProductionOrder_2
in interface ProductionOrderV2Service
ProductionOrder_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 ProductionOrder_2ByKeyFluentHelper getProductionOrder_2ByKey(String manufacturingOrder)
ProductionOrderV2Service
ProductionOrder_2
entity using key fields.getProductionOrder_2ByKey
in interface ProductionOrderV2Service
manufacturingOrder
- Production Order
Constraints: Not nullable, Maximum length: 12
ProductionOrder_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 ProductionOrder_2CreateFluentHelper createProductionOrder_2(@Nonnull ProductionOrder_2 productionOrder_2)
ProductionOrderV2Service
ProductionOrder_2
entity and save it to the S/4HANA system.createProductionOrder_2
in interface ProductionOrderV2Service
productionOrder_2
- ProductionOrder_2
entity object that will be created in the S/4HANA system.ProductionOrder_2
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionOrder_2UpdateFluentHelper updateProductionOrder_2(@Nonnull ProductionOrder_2 productionOrder_2)
ProductionOrderV2Service
ProductionOrder_2
entity and save it to the S/4HANA system.updateProductionOrder_2
in interface ProductionOrderV2Service
productionOrder_2
- ProductionOrder_2
entity object that will be updated in the S/4HANA system.ProductionOrder_2
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ProductionRsceTools_2FluentHelper getAllProductionRsceTools_2()
ProductionOrderV2Service
ProductionRsceTools_2
entities.getAllProductionRsceTools_2
in interface ProductionOrderV2Service
ProductionRsceTools_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 ProductionRsceTools_2ByKeyFluentHelper getProductionRsceTools_2ByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID)
ProductionOrderV2Service
ProductionRsceTools_2
entity using key fields.getProductionRsceTools_2ByKey
in interface ProductionOrderV2Service
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
ProductionRsceTools_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 ReleaseOrderFluentHelper releaseOrder(String manufacturingOrder)
ProductionOrderV2Service
Creates a fluent helper for the ReleaseOrder OData function import.
releaseOrder
in interface ProductionOrderV2Service
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(String manufacturingOrder, String manufacturingOrderOperation, String manufacturingOrderSequence)
ProductionOrderV2Service
Creates a fluent helper for the ReleaseOperation OData function import.
releaseOperation
in interface ProductionOrderV2Service
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
manufacturingOrderSequence
- Constraints: none
Original parameter name from the Odata EDM: ManufacturingOrderSequence
execute
method on the fluent helper object.@Nonnull public TechlyCmpltOrderFluentHelper techlyCmpltOrder(String manufacturingOrder)
ProductionOrderV2Service
Creates a fluent helper for the TechlyCmpltOrder OData function import.
techlyCmpltOrder
in interface ProductionOrderV2Service
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(String manufacturingOrder)
ProductionOrderV2Service
Creates a fluent helper for the CloseOrder OData function import.
closeOrder
in interface ProductionOrderV2Service
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(String manufacturingOrder)
ProductionOrderV2Service
Creates a fluent helper for the DeletionFlagOrder OData function import.
deletionFlagOrder
in interface ProductionOrderV2Service
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(String manufacturingOrder)
ProductionOrderV2Service
Creates a fluent helper for the DeletionIndOrder OData function import.
deletionIndOrder
in interface ProductionOrderV2Service
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(String manufacturingOrder)
ProductionOrderV2Service
Creates a fluent helper for the DiscardOrder OData function import.
discardOrder
in interface ProductionOrderV2Service
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(String manufacturingOrder, String plannedOrder, String manufacturingOrderType)
ProductionOrderV2Service
Creates a fluent helper for the ConvertPlndOrder OData function import.
convertPlndOrder
in interface ProductionOrderV2Service
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 ScheduleProductionOrderOperationFluentHelper scheduleProductionOrderOperation(String manufacturingOrder, String orderInternalBillOfOperations, String orderIntBillOfOperationsItem, LocalDateTime opSchedldStartDate, LocalTime opSchedldStartTime, LocalDateTime opSchedldEndDate, LocalTime opSchedldEndTime, String opSchedulingMode, String opSchedulingStatus, String opSchedulingStrategy)
ProductionOrderV2Service
Creates a fluent helper for the ScheduleProductionOrderOperation OData function import.
scheduleProductionOrderOperation
in interface ProductionOrderV2Service
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(String manufacturingOrder)
ProductionOrderV2Service
Creates a fluent helper for the DeliveryCompletedOrder OData function import.
deliveryCompletedOrder
in interface ProductionOrderV2Service
manufacturingOrder
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: ManufacturingOrder
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.