Interface PlannedOrderService
- All Superinterfaces:
BatchService<PlannedOrderServiceBatch>
- All Known Implementing Classes:
DefaultPlannedOrderService
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
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 TypeMethodDescriptioncreatePlannedOrder(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.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.
-
getAllPlannedOrder
Deprecated.Fetch multiplePlannedOrderentities.- 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.Fetch a singlePlannedOrderentity using key fields.- 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
Deprecated.Create a newPlannedOrderentity and save it to the S/4HANA system.- 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
Deprecated.Update an existingPlannedOrderentity and save it to the S/4HANA system.- 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
Deprecated.Deletes an existingPlannedOrderentity in the S/4HANA system.- 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.Fetch multiplePlannedOrderCapacityentities.- 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 PlannedOrderCapacityByKeyFluentHelper getPlannedOrderCapacityByKey(String capacityRequirement, String capacityRequirementItem, String capacityRqmtItemCapacity) Deprecated.Fetch a singlePlannedOrderCapacityentity using key fields.- Parameters:
capacityRequirementItem- Capacity Requirement ItemConstraints: Not nullable, Maximum length: 8
capacityRequirement- ID of the Capacity Requirements RecordConstraints: Not nullable, Maximum length: 12
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.Fetch multiplePlannedOrderComponententities.- 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 PlannedOrderComponentByKeyFluentHelper getPlannedOrderComponentByKey(String reservation, String reservationItem) Deprecated.Fetch a singlePlannedOrderComponententity 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
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 PlannedOrderComponentCreateFluentHelper createPlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent) Deprecated.Create a newPlannedOrderComponententity and save it to the S/4HANA system.- 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 PlannedOrderComponentUpdateFluentHelper updatePlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent) Deprecated.Update an existingPlannedOrderComponententity and save it to the S/4HANA system.- 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 PlannedOrderComponentDeleteFluentHelper deletePlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent) Deprecated.Deletes an existingPlannedOrderComponententity in the S/4HANA system.- 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.Creates a fluent helper for the PlannedOrderSchedule OData function import.
- 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 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.Creates a fluent helper for the SchedulePlannedOrderOperation OData function import.
- Parameters:
capacityRequirementItem- CounterConstraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: CapacityRequirementItem
opSchedldStartDate- Latest Start DateConstraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartDate
capacityRequirement- Capacity RequirementConstraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: CapacityRequirement
plannedOrder- Planned OrderConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: PlannedOrder
capacityRqmtItemCapacity- CounterConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: CapacityRqmtItemCapacity
opSchedulingStrategy- Component of the Version NumberConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStrategy
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
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
- 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.
-