Class DefaultPlannedOrderService

java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPlannedOrderService
All Implemented Interfaces:
BatchService<PlannedOrderServiceBatch>, PlannedOrderService

@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPlannedOrderService") @Deprecated public class DefaultPlannedOrderService extends Object implements PlannedOrderService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the VDM.

The service contains planned order header, planned order capacity and planned order components. The information is sent in the request as a payload. You can read, create, change and delete components of orders and also use this service to schedule planned order operations. .

Business Documentation

Reference: SAP Business Accelerator Hub

Details:

OData Service: API_PLANNED_ORDERS
API Version: 1.0.0
Minimum ERP Version: 2302
Communication Scenario: Production Planning Integration(SAP_COM_0104)
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)
Authentication Methods: x509
Business Object: Planned Order
  • Constructor Details

  • Method Details

    • withServicePath

      @Nonnull public DefaultPlannedOrderService withServicePath(@Nonnull String servicePath)
      Deprecated.
      Description copied from interface: PlannedOrderService
      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 PlannedOrderService
      Parameters:
      servicePath - Service path that will override the default.
      Returns:
      A new service instance with the specified service path.
    • batch

      @Nonnull public DefaultPlannedOrderServiceBatch batch()
      Deprecated.
      Specified by:
      batch in interface BatchService<PlannedOrderServiceBatch>
    • getAllPlannedOrder

      @Nonnull public PlannedOrderFluentHelper getAllPlannedOrder()
      Deprecated.
      Description copied from interface: PlannedOrderService
      Fetch multiple PlannedOrder entities.
      Specified by:
      getAllPlannedOrder in interface PlannedOrderService
      Returns:
      A fluent helper to fetch multiple PlannedOrder 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.
    • getPlannedOrderByKey

      @Nonnull public PlannedOrderByKeyFluentHelper getPlannedOrderByKey(String plannedOrder)
      Deprecated.
      Description copied from interface: PlannedOrderService
      Fetch a single PlannedOrder entity using key fields.
      Specified by:
      getPlannedOrderByKey in interface PlannedOrderService
      Parameters:
      plannedOrder - Planned Order

      Constraints: Not nullable, Maximum length: 10

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

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

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

      @Nonnull public PlannedOrderDeleteFluentHelper deletePlannedOrder(@Nonnull PlannedOrder plannedOrder)
      Deprecated.
      Description copied from interface: PlannedOrderService
      Deletes an existing PlannedOrder entity in the S/4HANA system.
      Specified by:
      deletePlannedOrder in interface PlannedOrderService
      Parameters:
      plannedOrder - PlannedOrder entity object that will be deleted in the S/4HANA system.
      Returns:
      A fluent helper to delete an existing PlannedOrder entity. To perform execution, call the execute method on the fluent helper object.
    • getAllPlannedOrderCapacity

      @Nonnull public PlannedOrderCapacityFluentHelper getAllPlannedOrderCapacity()
      Deprecated.
      Description copied from interface: PlannedOrderService
      Fetch multiple PlannedOrderCapacity entities.
      Specified by:
      getAllPlannedOrderCapacity in interface PlannedOrderService
      Returns:
      A fluent helper to fetch multiple PlannedOrderCapacity 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.
    • getPlannedOrderCapacityByKey

      @Nonnull public PlannedOrderCapacityByKeyFluentHelper getPlannedOrderCapacityByKey(String capacityRequirement, String capacityRequirementItem, String capacityRqmtItemCapacity)
      Deprecated.
      Description copied from interface: PlannedOrderService
      Fetch a single PlannedOrderCapacity entity using key fields.
      Specified by:
      getPlannedOrderCapacityByKey in interface PlannedOrderService
      Parameters:
      capacityRequirement - ID of the Capacity Requirements Record

      Constraints: Not nullable, Maximum length: 12

      capacityRequirementItem - Capacity Requirement Item

      Constraints: Not nullable, Maximum length: 8

      capacityRqmtItemCapacity - Individual Capacity of a Capacity Requirement Item

      Constraints: Not nullable, Maximum length: 4

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

      @Nonnull public PlannedOrderComponentFluentHelper getAllPlannedOrderComponent()
      Deprecated.
      Description copied from interface: PlannedOrderService
      Fetch multiple PlannedOrderComponent entities.
      Specified by:
      getAllPlannedOrderComponent in interface PlannedOrderService
      Returns:
      A fluent helper to fetch multiple PlannedOrderComponent 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.
    • getPlannedOrderComponentByKey

      @Nonnull public PlannedOrderComponentByKeyFluentHelper getPlannedOrderComponentByKey(String reservation, String reservationItem)
      Deprecated.
      Description copied from interface: PlannedOrderService
      Fetch a single PlannedOrderComponent entity using key fields.
      Specified by:
      getPlannedOrderComponentByKey in interface PlannedOrderService
      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 PlannedOrderComponent 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.
    • createPlannedOrderComponent

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

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

      @Nonnull public PlannedOrderComponentDeleteFluentHelper deletePlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent)
      Deprecated.
      Description copied from interface: PlannedOrderService
      Deletes an existing PlannedOrderComponent entity in the S/4HANA system.
      Specified by:
      deletePlannedOrderComponent in interface PlannedOrderService
      Parameters:
      plannedOrderComponent - PlannedOrderComponent entity object that will be deleted in the S/4HANA system.
      Returns:
      A fluent helper to delete an existing PlannedOrderComponent entity. To perform execution, call the execute method on the fluent helper object.
    • plannedOrderSchedule

      @Nonnull public PlannedOrderScheduleFluentHelper plannedOrderSchedule(@Nonnull String plannedOrder)
      Deprecated.
      Description copied from interface: PlannedOrderService

      Creates a fluent helper for the PlannedOrderSchedule OData function import.

      Specified by:
      plannedOrderSchedule in interface PlannedOrderService
      Parameters:
      plannedOrder - Planned Order

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: PlannedOrder

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

      @Nonnull public SchedulePlannedOrderOperationFluentHelper schedulePlannedOrderOperation(@Nonnull String plannedOrder, @Nonnull String capacityRequirement, @Nonnull String capacityRequirementItem, @Nonnull String capacityRqmtItemCapacity, @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: PlannedOrderService

      Creates a fluent helper for the SchedulePlannedOrderOperation OData function import.

      Specified by:
      schedulePlannedOrderOperation in interface PlannedOrderService
      Parameters:
      plannedOrder - Planned Order

      Constraints: Not nullable, Maximum length: 10

      Original parameter name from the Odata EDM: PlannedOrder

      capacityRequirement - Capacity Requirement

      Constraints: Not nullable, Maximum length: 12

      Original parameter name from the Odata EDM: CapacityRequirement

      capacityRequirementItem - Counter

      Constraints: Not nullable, Maximum length: 8

      Original parameter name from the Odata EDM: CapacityRequirementItem

      capacityRqmtItemCapacity - Counter

      Constraints: Not nullable, Maximum length: 4

      Original parameter name from the Odata EDM: CapacityRqmtItemCapacity

      opSchedldStartDate - Latest Start Date

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: OpSchedldStartDate

      opSchedldStartTime - Latest Start Time

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: OpSchedldStartTime

      opSchedldEndDate - Latest End Date

      Constraints: Nullable, Precision: 0

      Original parameter name from the Odata EDM: OpSchedldEndDate

      opSchedldEndTime - Latest 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 SchedulePlannedOrderOperation OData function import with the provided parameters. To perform execution, call the execute method on the fluent helper object.