@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultPlannedOrderService") public class DefaultPlannedOrderService extends Object implements PlannedOrderService
In addition to executing the operations on planned orders, you can also read, create, change, and delete components belonging to the orders. This service enables you to schedule planned orders operations.
Reference: SAP API Business Hub
OData Service: | OP_API_PLANNED_ORDERS_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Planned Order |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPlannedOrderService()
Creates a service using
PlannedOrderService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultPlannedOrderServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
PlannedOrderCreateFluentHelper |
createPlannedOrder(PlannedOrder plannedOrder)
Create a new
PlannedOrder entity and save it to the S/4HANA system. |
PlannedOrderComponentCreateFluentHelper |
createPlannedOrderComponent(PlannedOrderComponent plannedOrderComponent)
Create a new
PlannedOrderComponent entity and save it to the S/4HANA system. |
PlannedOrderDeleteFluentHelper |
deletePlannedOrder(PlannedOrder plannedOrder)
Deletes an existing
PlannedOrder entity in the S/4HANA system. |
PlannedOrderComponentDeleteFluentHelper |
deletePlannedOrderComponent(PlannedOrderComponent plannedOrderComponent)
Deletes an existing
PlannedOrderComponent entity in the S/4HANA system. |
PlannedOrderFluentHelper |
getAllPlannedOrder()
Fetch multiple
PlannedOrder entities. |
PlannedOrderCapacityFluentHelper |
getAllPlannedOrderCapacity()
Fetch multiple
PlannedOrderCapacity entities. |
PlannedOrderComponentFluentHelper |
getAllPlannedOrderComponent()
Fetch multiple
PlannedOrderComponent entities. |
PlannedOrderByKeyFluentHelper |
getPlannedOrderByKey(String plannedOrder)
Fetch a single
PlannedOrder entity using key fields. |
PlannedOrderCapacityByKeyFluentHelper |
getPlannedOrderCapacityByKey(String capacityRequirement,
String capacityRequirementItem,
String capacityRqmtItemCapacity)
Fetch a single
PlannedOrderCapacity entity using key fields. |
PlannedOrderComponentByKeyFluentHelper |
getPlannedOrderComponentByKey(String reservation,
String reservationItem)
Fetch a single
PlannedOrderComponent entity using key fields. |
PlannedOrderScheduleFluentHelper |
plannedOrderSchedule(String plannedOrder)
Creates a fluent helper for the PlannedOrderSchedule OData function import.
|
SchedulePlannedOrderOperationFluentHelper |
schedulePlannedOrderOperation(String plannedOrder,
String capacityRequirement,
String capacityRequirementItem,
String capacityRqmtItemCapacity,
LocalDateTime opSchedldStartDate,
LocalTime opSchedldStartTime,
LocalDateTime opSchedldEndDate,
LocalTime opSchedldEndTime,
String opSchedulingMode,
String opSchedulingStatus,
String opSchedulingStrategy)
Creates a fluent helper for the SchedulePlannedOrderOperation OData function import.
|
PlannedOrderUpdateFluentHelper |
updatePlannedOrder(PlannedOrder plannedOrder)
Update an existing
PlannedOrder entity and save it to the S/4HANA system. |
PlannedOrderComponentUpdateFluentHelper |
updatePlannedOrderComponent(PlannedOrderComponent plannedOrderComponent)
Update an existing
PlannedOrderComponent entity and save it to the S/4HANA system. |
DefaultPlannedOrderService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultPlannedOrderService()
PlannedOrderService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPlannedOrderService withServicePath(@Nonnull String servicePath)
PlannedOrderService
withServicePath
in interface PlannedOrderService
servicePath
- Service path that will override the default.@Nonnull public DefaultPlannedOrderServiceBatch batch()
batch
in interface BatchService<PlannedOrderServiceBatch>
@Nonnull public PlannedOrderFluentHelper getAllPlannedOrder()
PlannedOrderService
PlannedOrder
entities.getAllPlannedOrder
in interface PlannedOrderService
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.@Nonnull public PlannedOrderByKeyFluentHelper getPlannedOrderByKey(String plannedOrder)
PlannedOrderService
PlannedOrder
entity using key fields.getPlannedOrderByKey
in interface PlannedOrderService
plannedOrder
- Planned Order
Constraints: Not nullable, Maximum length: 10
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.@Nonnull public PlannedOrderCreateFluentHelper createPlannedOrder(@Nonnull PlannedOrder plannedOrder)
PlannedOrderService
PlannedOrder
entity and save it to the S/4HANA system.createPlannedOrder
in interface PlannedOrderService
plannedOrder
- PlannedOrder
entity object that will be created in the S/4HANA system.PlannedOrder
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PlannedOrderUpdateFluentHelper updatePlannedOrder(@Nonnull PlannedOrder plannedOrder)
PlannedOrderService
PlannedOrder
entity and save it to the S/4HANA system.updatePlannedOrder
in interface PlannedOrderService
plannedOrder
- PlannedOrder
entity object that will be updated in the S/4HANA system.PlannedOrder
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PlannedOrderDeleteFluentHelper deletePlannedOrder(@Nonnull PlannedOrder plannedOrder)
PlannedOrderService
PlannedOrder
entity in the S/4HANA system.deletePlannedOrder
in interface PlannedOrderService
plannedOrder
- PlannedOrder
entity object that will be deleted in the S/4HANA system.PlannedOrder
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PlannedOrderCapacityFluentHelper getAllPlannedOrderCapacity()
PlannedOrderService
PlannedOrderCapacity
entities.getAllPlannedOrderCapacity
in interface PlannedOrderService
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.@Nonnull public PlannedOrderCapacityByKeyFluentHelper getPlannedOrderCapacityByKey(String capacityRequirement, String capacityRequirementItem, String capacityRqmtItemCapacity)
PlannedOrderService
PlannedOrderCapacity
entity using key fields.getPlannedOrderCapacityByKey
in interface PlannedOrderService
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
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.@Nonnull public PlannedOrderComponentFluentHelper getAllPlannedOrderComponent()
PlannedOrderService
PlannedOrderComponent
entities.getAllPlannedOrderComponent
in interface PlannedOrderService
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.@Nonnull public PlannedOrderComponentByKeyFluentHelper getPlannedOrderComponentByKey(String reservation, String reservationItem)
PlannedOrderService
PlannedOrderComponent
entity using key fields.getPlannedOrderComponentByKey
in interface PlannedOrderService
reservation
- Number of reservation/dependent requirements
Constraints: Not nullable, Maximum length: 10
reservationItem
- Reservation Item
Constraints: Not nullable, Maximum length: 4
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.@Nonnull public PlannedOrderComponentCreateFluentHelper createPlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent)
PlannedOrderService
PlannedOrderComponent
entity and save it to the S/4HANA system.createPlannedOrderComponent
in interface PlannedOrderService
plannedOrderComponent
- PlannedOrderComponent
entity object that will be created in the S/4HANA system.PlannedOrderComponent
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PlannedOrderComponentUpdateFluentHelper updatePlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent)
PlannedOrderService
PlannedOrderComponent
entity and save it to the S/4HANA system.updatePlannedOrderComponent
in interface PlannedOrderService
plannedOrderComponent
- PlannedOrderComponent
entity object that will be updated in the S/4HANA system.PlannedOrderComponent
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PlannedOrderComponentDeleteFluentHelper deletePlannedOrderComponent(@Nonnull PlannedOrderComponent plannedOrderComponent)
PlannedOrderService
PlannedOrderComponent
entity in the S/4HANA system.deletePlannedOrderComponent
in interface PlannedOrderService
plannedOrderComponent
- PlannedOrderComponent
entity object that will be deleted in the S/4HANA system.PlannedOrderComponent
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PlannedOrderScheduleFluentHelper plannedOrderSchedule(String plannedOrder)
PlannedOrderService
Creates a fluent helper for the PlannedOrderSchedule OData function import.
plannedOrderSchedule
in interface PlannedOrderService
plannedOrder
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: PlannedOrder
execute
method on the fluent helper object.@Nonnull public SchedulePlannedOrderOperationFluentHelper schedulePlannedOrderOperation(String plannedOrder, String capacityRequirement, String capacityRequirementItem, String capacityRqmtItemCapacity, LocalDateTime opSchedldStartDate, LocalTime opSchedldStartTime, LocalDateTime opSchedldEndDate, LocalTime opSchedldEndTime, String opSchedulingMode, String opSchedulingStatus, String opSchedulingStrategy)
PlannedOrderService
Creates a fluent helper for the SchedulePlannedOrderOperation OData function import.
schedulePlannedOrderOperation
in interface PlannedOrderService
plannedOrder
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: PlannedOrder
capacityRequirement
- Constraints: Not nullable, Maximum length: 12
Original parameter name from the Odata EDM: CapacityRequirement
capacityRequirementItem
- Constraints: Not nullable, Maximum length: 8
Original parameter name from the Odata EDM: CapacityRequirementItem
capacityRqmtItemCapacity
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: CapacityRqmtItemCapacity
opSchedldStartDate
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartDate
opSchedldStartTime
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldStartTime
opSchedldEndDate
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndDate
opSchedldEndTime
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: OpSchedldEndTime
opSchedulingMode
- Constraints: Not nullable, Maximum length: 1
Original parameter name from the Odata EDM: OpSchedulingMode
opSchedulingStatus
- Constraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStatus
opSchedulingStrategy
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: OpSchedulingStrategy
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.