Class DefaultPlannedOrderService
- All Implemented Interfaces:
BatchService<PlannedOrderServiceBatch>,PlannedOrderService
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. .
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 |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.PlannedOrderService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPlannedOrderService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createPlannedOrder(PlannedOrder plannedOrder) Deprecated.Create a newPlannedOrderentity and save it to the S/4HANA system.createPlannedOrderComponent(PlannedOrderComponent plannedOrderComponent) Deprecated.Create a newPlannedOrderComponententity and save it to the S/4HANA system.deletePlannedOrder(PlannedOrder plannedOrder) Deprecated.Deletes an existingPlannedOrderentity in the S/4HANA system.deletePlannedOrderComponent(PlannedOrderComponent plannedOrderComponent) Deprecated.Deletes an existingPlannedOrderComponententity in the S/4HANA system.Deprecated.Fetch multiplePlannedOrderentities.Deprecated.Fetch multiplePlannedOrderCapacityentities.Deprecated.Fetch multiplePlannedOrderComponententities.getPlannedOrderByKey(String plannedOrder) Deprecated.Fetch a singlePlannedOrderentity using key fields.getPlannedOrderCapacityByKey(String capacityRequirement, String capacityRequirementItem, String capacityRqmtItemCapacity) Deprecated.Fetch a singlePlannedOrderCapacityentity using key fields.getPlannedOrderComponentByKey(String reservation, String reservationItem) Deprecated.Fetch a singlePlannedOrderComponententity using key fields.plannedOrderSchedule(String plannedOrder) Deprecated.Creates a fluent helper for the PlannedOrderSchedule OData function import.schedulePlannedOrderOperation(String plannedOrder, String capacityRequirement, String capacityRequirementItem, String capacityRqmtItemCapacity, LocalDateTime opSchedldStartDate, LocalTime opSchedldStartTime, LocalDateTime opSchedldEndDate, LocalTime opSchedldEndTime, String opSchedulingMode, String opSchedulingStatus, String opSchedulingStrategy) Deprecated.Creates a fluent helper for the SchedulePlannedOrderOperation OData function import.updatePlannedOrder(PlannedOrder plannedOrder) Deprecated.Update an existingPlannedOrderentity and save it to the S/4HANA system.updatePlannedOrderComponent(PlannedOrderComponent plannedOrderComponent) Deprecated.Update an existingPlannedOrderComponententity 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.
-
Constructor Details
-
DefaultPlannedOrderService
public DefaultPlannedOrderService()Deprecated.Creates a service usingPlannedOrderService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:PlannedOrderServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePlannedOrderService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<PlannedOrderServiceBatch>
-
getAllPlannedOrder
Deprecated.Description copied from interface:PlannedOrderServiceFetch multiplePlannedOrderentities.- Specified by:
getAllPlannedOrderin interfacePlannedOrderService- Returns:
- A fluent helper to fetch multiple
PlannedOrderentities. 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.
-
getPlannedOrderByKey
Deprecated.Description copied from interface:PlannedOrderServiceFetch a singlePlannedOrderentity using key fields.- Specified by:
getPlannedOrderByKeyin interfacePlannedOrderService- Parameters:
plannedOrder- Planned OrderConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
PlannedOrderentity 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.
-
createPlannedOrder
@Nonnull public PlannedOrderCreateFluentHelper createPlannedOrder(@Nonnull PlannedOrder plannedOrder) Deprecated.Description copied from interface:PlannedOrderServiceCreate a newPlannedOrderentity and save it to the S/4HANA system.- Specified by:
createPlannedOrderin interfacePlannedOrderService- Parameters:
plannedOrder-PlannedOrderentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PlannedOrderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePlannedOrder
@Nonnull public PlannedOrderUpdateFluentHelper updatePlannedOrder(@Nonnull PlannedOrder plannedOrder) Deprecated.Description copied from interface:PlannedOrderServiceUpdate an existingPlannedOrderentity and save it to the S/4HANA system.- Specified by:
updatePlannedOrderin interfacePlannedOrderService- Parameters:
plannedOrder-PlannedOrderentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PlannedOrderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deletePlannedOrder
@Nonnull public PlannedOrderDeleteFluentHelper deletePlannedOrder(@Nonnull PlannedOrder plannedOrder) Deprecated.Description copied from interface:PlannedOrderServiceDeletes an existingPlannedOrderentity in the S/4HANA system.- Specified by:
deletePlannedOrderin interfacePlannedOrderService- Parameters:
plannedOrder-PlannedOrderentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
PlannedOrderentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPlannedOrderCapacity
Deprecated.Description copied from interface:PlannedOrderServiceFetch multiplePlannedOrderCapacityentities.- Specified by:
getAllPlannedOrderCapacityin interfacePlannedOrderService- Returns:
- A fluent helper to fetch multiple
PlannedOrderCapacityentities. 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.
-
getPlannedOrderCapacityByKey
@Nonnull public PlannedOrderCapacityByKeyFluentHelper getPlannedOrderCapacityByKey(String capacityRequirement, String capacityRequirementItem, String capacityRqmtItemCapacity) Deprecated.Description copied from interface:PlannedOrderServiceFetch a singlePlannedOrderCapacityentity using key fields.- Specified by:
getPlannedOrderCapacityByKeyin interfacePlannedOrderService- Parameters:
capacityRequirement- ID of the Capacity Requirements RecordConstraints: Not nullable, Maximum length: 12
capacityRequirementItem- Capacity Requirement ItemConstraints: Not nullable, Maximum length: 8
capacityRqmtItemCapacity- Individual Capacity of a Capacity Requirement ItemConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
PlannedOrderCapacityentity 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.
-
getAllPlannedOrderComponent
Deprecated.Description copied from interface:PlannedOrderServiceFetch multiplePlannedOrderComponententities.- Specified by:
getAllPlannedOrderComponentin interfacePlannedOrderService- Returns:
- A fluent helper to fetch multiple
PlannedOrderComponententities. 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.
-
getPlannedOrderComponentByKey
@Nonnull public PlannedOrderComponentByKeyFluentHelper getPlannedOrderComponentByKey(String reservation, String reservationItem) Deprecated.Description copied from interface:PlannedOrderServiceFetch a singlePlannedOrderComponententity using key fields.- Specified by:
getPlannedOrderComponentByKeyin interfacePlannedOrderService- Parameters:
reservation- Number of reservation/dependent requirementsConstraints: Not nullable, Maximum length: 10
reservationItem- Reservation ItemConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
PlannedOrderComponententity 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.
-
createPlannedOrderComponent
@Nonnull public PlannedOrderComponentCreateFluentHelper createPlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent) Deprecated.Description copied from interface:PlannedOrderServiceCreate a newPlannedOrderComponententity and save it to the S/4HANA system.- Specified by:
createPlannedOrderComponentin interfacePlannedOrderService- Parameters:
plannedOrderComponent-PlannedOrderComponententity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PlannedOrderComponententity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePlannedOrderComponent
@Nonnull public PlannedOrderComponentUpdateFluentHelper updatePlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent) Deprecated.Description copied from interface:PlannedOrderServiceUpdate an existingPlannedOrderComponententity and save it to the S/4HANA system.- Specified by:
updatePlannedOrderComponentin interfacePlannedOrderService- Parameters:
plannedOrderComponent-PlannedOrderComponententity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PlannedOrderComponententity. To perform execution, call theexecutemethod on the fluent helper object.
-
deletePlannedOrderComponent
@Nonnull public PlannedOrderComponentDeleteFluentHelper deletePlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent) Deprecated.Description copied from interface:PlannedOrderServiceDeletes an existingPlannedOrderComponententity in the S/4HANA system.- Specified by:
deletePlannedOrderComponentin interfacePlannedOrderService- Parameters:
plannedOrderComponent-PlannedOrderComponententity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
PlannedOrderComponententity. To perform execution, call theexecutemethod on the fluent helper object.
-
plannedOrderSchedule
Deprecated.Description copied from interface:PlannedOrderServiceCreates a fluent helper for the PlannedOrderSchedule OData function import.
- Specified by:
plannedOrderSchedulein interfacePlannedOrderService- Parameters:
plannedOrder- Planned OrderConstraints: 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
executemethod 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:PlannedOrderServiceCreates a fluent helper for the SchedulePlannedOrderOperation OData function import.
- Specified by:
schedulePlannedOrderOperationin interfacePlannedOrderService- Parameters:
plannedOrder- Planned OrderConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: PlannedOrder
capacityRequirement- Capacity RequirementConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: CapacityRequirement
capacityRequirementItem- CounterConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: CapacityRequirementItem
capacityRqmtItemCapacity- CounterConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: CapacityRqmtItemCapacity
opSchedldStartDate- Latest Start DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartDate
opSchedldStartTime- Latest Start TimeConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartTime
opSchedldEndDate- Latest End DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndDate
opSchedldEndTime- Latest End TimeConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndTime
opSchedulingMode- Scheduling typeConstraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: OpSchedulingMode
opSchedulingStatus- StatusConstraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStatus
opSchedulingStrategy- Component of the Version NumberConstraints: 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
executemethod on the fluent helper object.
-