Class DefaultProductionOrderService

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProductionOrderService
All Implemented Interfaces:
BatchService<ProductionOrderServiceBatch>, ProductionOrderService

@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultProductionOrderService") @Deprecated public class DefaultProductionOrderService extends Object implements ProductionOrderService
Deprecated.
The service and all its related classes are deprecated as of release 2002 (Feb 2020). Please use the odata generator to generate the VDM.

In addition to create, read, and update, you can also release production orders and operations. This service also enables you to schedule production order operations, technically complete and close production orders as well as set the deletion flag and deletion indicator.

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_PRODUCTION_ORDERS
API Version: 1.0.0
Minimum ERP Version: 2208
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)
Business Object: Production Order
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultProductionOrderService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: ProductionOrderService
      Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.
      Specified by:
      withServicePath in interface ProductionOrderService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull public DefaultProductionOrderServiceBatch batch()
      Deprecated.
      Specified by:
      batch in interface BatchService<ProductionOrderServiceBatch>
    • getAllProductionOrder

      @Nonnull public ProductionOrderFluentHelper getAllProductionOrder()
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch multiple ProductionOrder entities.
      Specified by:
      getAllProductionOrder in interface ProductionOrderService
      Returns:
      A fluent helper to fetch multiple ProductionOrder 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.
    • getProductionOrderByKey

      @Nonnull public ProductionOrderByKeyFluentHelper getProductionOrderByKey(String productionOrder)
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch a single ProductionOrder entity using key fields.
      Specified by:
      getProductionOrderByKey in interface ProductionOrderService
      Parameters:
      productionOrder - Manufacturing Order ID

      Constraints: Not nullable, Maximum length: 12

      Returns:
      A fluent helper to fetch a single ProductionOrder 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.
    • createProductionOrder

      @Nonnull public ProductionOrderCreateFluentHelper createProductionOrder(@Nonnull ProductionOrder productionOrder)
      Deprecated.
      Description copied from interface: ProductionOrderService
      Create a new ProductionOrder entity and save it to the S/4HANA system.
      Specified by:
      createProductionOrder in interface ProductionOrderService
      Parameters:
      productionOrder - ProductionOrder entity object that will be created in the S/4HANA system.
      Returns:
      A fluent helper to create a new ProductionOrder entity. To perform execution, call the execute method on the fluent helper object.
    • updateProductionOrder

      @Nonnull public ProductionOrderUpdateFluentHelper updateProductionOrder(@Nonnull ProductionOrder productionOrder)
      Deprecated.
      Description copied from interface: ProductionOrderService
      Update an existing ProductionOrder entity and save it to the S/4HANA system.
      Specified by:
      updateProductionOrder in interface ProductionOrderService
      Parameters:
      productionOrder - ProductionOrder entity object that will be updated in the S/4HANA system.
      Returns:
      A fluent helper to update an existing ProductionOrder entity. To perform execution, call the execute method on the fluent helper object.
    • getAllProductionOrderComponent

      @Nonnull public ProductionOrderComponentFluentHelper getAllProductionOrderComponent()
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch multiple ProductionOrderComponent entities.
      Specified by:
      getAllProductionOrderComponent in interface ProductionOrderService
      Returns:
      A fluent helper to fetch multiple ProductionOrderComponent 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.
    • getProductionOrderComponentByKey

      @Nonnull public ProductionOrderComponentByKeyFluentHelper getProductionOrderComponentByKey(String reservation, String reservationItem)
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch a single ProductionOrderComponent entity using key fields.
      Specified by:
      getProductionOrderComponentByKey in interface ProductionOrderService
      Parameters:
      reservation - Number of reservation/dependent requirements

      Constraints: Not nullable, Maximum length: 10

      reservationItem - Reservation Item

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A fluent helper to fetch a single ProductionOrderComponent 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.
    • getAllProductionOrderItem

      @Nonnull public ProductionOrderItemFluentHelper getAllProductionOrderItem()
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch multiple ProductionOrderItem entities.
      Specified by:
      getAllProductionOrderItem in interface ProductionOrderService
      Returns:
      A fluent helper to fetch multiple ProductionOrderItem 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.
    • getProductionOrderItemByKey

      @Nonnull public ProductionOrderItemByKeyFluentHelper getProductionOrderItemByKey(String manufacturingOrder, String manufacturingOrderItem)
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch a single ProductionOrderItem entity using key fields.
      Specified by:
      getProductionOrderItemByKey in interface ProductionOrderService
      Parameters:
      manufacturingOrder - Manufacturing Order ID

      Constraints: Not nullable, Maximum length: 12

      manufacturingOrderItem - Manufacturing Order Item ID

      Constraints: Not nullable, Maximum length: 4

      Returns:
      A fluent helper to fetch a single ProductionOrderItem 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.
    • getAllProductionOrderOperation

      @Nonnull public ProductionOrderOperationFluentHelper getAllProductionOrderOperation()
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch multiple ProductionOrderOperation entities.
      Specified by:
      getAllProductionOrderOperation in interface ProductionOrderService
      Returns:
      A fluent helper to fetch multiple ProductionOrderOperation 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.
    • getProductionOrderOperationByKey

      @Nonnull public ProductionOrderOperationByKeyFluentHelper getProductionOrderOperationByKey(String orderInternalBillOfOperations, String orderIntBillOfOperationsItem)
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch a single ProductionOrderOperation entity using key fields.
      Specified by:
      getProductionOrderOperationByKey in interface ProductionOrderService
      Parameters:
      orderInternalBillOfOperations - Order Internal ID

      Constraints: Not nullable, Maximum length: 10

      orderIntBillOfOperationsItem - Internal Identifier of an Operation or Activity

      Constraints: Not nullable, Maximum length: 8

      Returns:
      A fluent helper to fetch a single ProductionOrderOperation 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.
    • getAllProductionOrderStatus

      @Nonnull public ProductionOrderStatusFluentHelper getAllProductionOrderStatus()
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch multiple ProductionOrderStatus entities.
      Specified by:
      getAllProductionOrderStatus in interface ProductionOrderService
      Returns:
      A fluent helper to fetch multiple ProductionOrderStatus 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.
    • getProductionOrderStatusByKey

      @Nonnull public ProductionOrderStatusByKeyFluentHelper getProductionOrderStatusByKey(String manufacturingOrder, String statusCode)
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch a single ProductionOrderStatus entity using key fields.
      Specified by:
      getProductionOrderStatusByKey in interface ProductionOrderService
      Parameters:
      manufacturingOrder - Order Number

      Constraints: Not nullable, Maximum length: 12

      statusCode - Object status

      Constraints: Not nullable, Maximum length: 5

      Returns:
      A fluent helper to fetch a single ProductionOrderStatus 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.
    • getAllProductionRsceTools

      @Nonnull public ProductionRsceToolsFluentHelper getAllProductionRsceTools()
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch multiple ProductionRsceTools entities.
      Specified by:
      getAllProductionRsceTools in interface ProductionOrderService
      Returns:
      A fluent helper to fetch multiple ProductionRsceTools 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.
    • getProductionRsceToolsByKey

      @Nonnull public ProductionRsceToolsByKeyFluentHelper getProductionRsceToolsByKey(String orderInternalBillOfOperations, String mfgOrderOpProdnRsceToolIntID)
      Deprecated.
      Description copied from interface: ProductionOrderService
      Fetch a single ProductionRsceTools entity using key fields.
      Specified by:
      getProductionRsceToolsByKey in interface ProductionOrderService
      Parameters:
      orderInternalBillOfOperations - Order Internal ID

      Constraints: Not nullable, Maximum length: 10

      mfgOrderOpProdnRsceToolIntID - Item Counter for Production Resources/Tools

      Constraints: Not nullable, Maximum length: 8

      Returns:
      A fluent helper to fetch a single ProductionRsceTools 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.
    • releaseProductionOrder

      @Nonnull public ReleaseProductionOrderFluentHelper releaseProductionOrder(@Nonnull String manufacturingOrder)
      Deprecated.
      Description copied from interface: ProductionOrderService

      Creates a fluent helper for the ReleaseProductionOrder OData function import.

      Specified by:
      releaseProductionOrder in interface ProductionOrderService
      Parameters:
      manufacturingOrder - Constraints: none

      Original parameter name from the Odata EDM: ManufacturingOrder

      Returns:
      A fluent helper object that will execute the ReleaseProductionOrder OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • releaseProductionOrderOpr

      @Nonnull public ReleaseProductionOrderOprFluentHelper releaseProductionOrderOpr(@Nonnull String manufacturingOrder, @Nonnull String manufacturingOrderOperation)
      Deprecated.
      Description copied from interface: ProductionOrderService

      Creates a fluent helper for the ReleaseProductionOrderOpr OData function import.

      Specified by:
      releaseProductionOrderOpr in interface ProductionOrderService
      Parameters:
      manufacturingOrder - Constraints: none

      Original parameter name from the Odata EDM: ManufacturingOrder

      manufacturingOrderOperation - Constraints: none

      Original parameter name from the Odata EDM: ManufacturingOrderOperation

      Returns:
      A fluent helper object that will execute the ReleaseProductionOrderOpr OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • completeTechnicallyProdnOrd

      @Nonnull public CompleteTechnicallyProdnOrdFluentHelper completeTechnicallyProdnOrd(@Nonnull String manufacturingOrder)
      Deprecated.
      Description copied from interface: ProductionOrderService

      Creates a fluent helper for the CompleteTechnicallyProdnOrd OData function import.

      Specified by:
      completeTechnicallyProdnOrd in interface ProductionOrderService
      Parameters:
      manufacturingOrder - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: ManufacturingOrder

      Returns:
      A fluent helper object that will execute the CompleteTechnicallyProdnOrd OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • closeProdnOrd

      @Nonnull public CloseProdnOrdFluentHelper closeProdnOrd(@Nonnull String manufacturingOrder)
      Deprecated.
      Description copied from interface: ProductionOrderService

      Creates a fluent helper for the CloseProdnOrd OData function import.

      Specified by:
      closeProdnOrd in interface ProductionOrderService
      Parameters:
      manufacturingOrder - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: ManufacturingOrder

      Returns:
      A fluent helper object that will execute the CloseProdnOrd OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • setDeltnFlagProdnOrd

      @Nonnull public SetDeltnFlagProdnOrdFluentHelper setDeltnFlagProdnOrd(@Nonnull String manufacturingOrder)
      Deprecated.
      Description copied from interface: ProductionOrderService

      Creates a fluent helper for the SetDeltnFlagProdnOrd OData function import.

      Specified by:
      setDeltnFlagProdnOrd in interface ProductionOrderService
      Parameters:
      manufacturingOrder - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: ManufacturingOrder

      Returns:
      A fluent helper object that will execute the SetDeltnFlagProdnOrd OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • setDeltnIndProdnOrd

      @Nonnull public SetDeltnIndProdnOrdFluentHelper setDeltnIndProdnOrd(@Nonnull String manufacturingOrder)
      Deprecated.
      Description copied from interface: ProductionOrderService

      Creates a fluent helper for the SetDeltnIndProdnOrd OData function import.

      Specified by:
      setDeltnIndProdnOrd in interface ProductionOrderService
      Parameters:
      manufacturingOrder - Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: ManufacturingOrder

      Returns:
      A fluent helper object that will execute the SetDeltnIndProdnOrd OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • discardOrder

      @Nonnull public DiscardOrderFluentHelper discardOrder(@Nonnull String manufacturingOrder)
      Deprecated.
      Description copied from interface: ProductionOrderService

      Creates a fluent helper for the DiscardOrder OData function import.

      Specified by:
      discardOrder in interface ProductionOrderService
      Parameters:
      manufacturingOrder - Constraints: Not nullable, Maximum length: 12

      Original 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 execute method on the fluent helper object.
    • convertPlannedOrder

      @Nonnull public ConvertPlannedOrderFluentHelper convertPlannedOrder(@Nonnull String plannedOrder, @Nullable String manufacturingOrderType, @Nullable String manufacturingOrder)
      Deprecated.
      Description copied from interface: ProductionOrderService

      Creates a fluent helper for the ConvertPlannedOrder OData function import.

      Specified by:
      convertPlannedOrder in interface ProductionOrderService
      Parameters:
      plannedOrder - Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: PlannedOrder

      manufacturingOrderType - Constraints: Nullable, Maximum length: 4

      Original parameter name from the Odata EDM: ManufacturingOrderType

      manufacturingOrder - Constraints: Nullable, Maximum length: 12

      Original parameter name from the Odata EDM: ManufacturingOrder

      Returns:
      A fluent helper object that will execute the ConvertPlannedOrder OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.
    • scheduleProductionOrderOperation

      @Nonnull public ScheduleProductionOrderOperationFluentHelper scheduleProductionOrderOperation(@Nonnull String productionOrder, @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: ProductionOrderService

      Creates a fluent helper for the ScheduleProductionOrderOperation OData function import.

      Specified by:
      scheduleProductionOrderOperation in interface ProductionOrderService
      Parameters:
      productionOrder - Order

      Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: ProductionOrder

      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

      Returns:
      A fluent helper object that will execute the ScheduleProductionOrderOperation OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.