Class DefaultPlannedOrderService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,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: | PLANNEDORDER_0001 |
| API Version: | 1.0.3 |
| 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 |
| Service Group Name: | API_PLANNEDORDER |
| Business Object: | Planned Order |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.PlannedOrderService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPlannedOrderService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from thePlannedOrderCapacityentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from thePlannedOrderComponententity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from thePlannedOrderHeaderentity collection matching the filter and search expressions.createPlannedOrderCapacity(PlannedOrderCapacity plannedOrderCapacity) Deprecated.Create a newPlannedOrderCapacityentity and save it to the S/4HANA system.createPlannedOrderHeader(PlannedOrderHeader plannedOrderHeader) Deprecated.Create a newPlannedOrderHeaderentity and save it to the S/4HANA system.deletePlannedOrderComponent(PlannedOrderComponent plannedOrderComponent) Deprecated.Deletes an existingPlannedOrderComponententity in the S/4HANA system.deletePlannedOrderHeader(PlannedOrderHeader plannedOrderHeader) Deprecated.Deletes an existingPlannedOrderHeaderentity in the S/4HANA system.Deprecated.Fetch multiplePlannedOrderCapacityentities.Deprecated.Fetch multiplePlannedOrderComponententities.Deprecated.Fetch multiplePlannedOrderHeaderentities.getPlannedOrderCapacityByKey(String plannedOrder, String capacityRequirement, String capacityRequirementItem, String capacityRqmtItemCapacity) Deprecated.Fetch a singlePlannedOrderCapacityentity using key fields.getPlannedOrderComponentByKey(String plannedOrder, String reservation, String reservationItem) Deprecated.Fetch a singlePlannedOrderComponententity using key fields.getPlannedOrderHeaderByKey(String plannedOrder) Deprecated.Fetch a singlePlannedOrderHeaderentity using key fields.Deprecated.updatePlannedOrderComponent(PlannedOrderComponent plannedOrderComponent) Deprecated.Update an existingPlannedOrderComponententity and save it to the S/4HANA system.updatePlannedOrderHeader(PlannedOrderHeader plannedOrderHeader) Deprecated.Update an existingPlannedOrderHeaderentity 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 class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
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.Description copied from interface:PlannedOrderServiceCreates a batch request builder object.- Specified by:
batchin interfacePlannedOrderService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllPlannedOrderCapacity
Deprecated.Description copied from interface:PlannedOrderServiceFetch multiplePlannedOrderCapacityentities.- Specified by:
getAllPlannedOrderCapacityin interfacePlannedOrderService- Returns:
- A request builder to fetch multiple
PlannedOrderCapacityentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPlannedOrderCapacity
Deprecated.Description copied from interface:PlannedOrderServiceFetch the number of entries from thePlannedOrderCapacityentity collection matching the filter and search expressions.- Specified by:
countPlannedOrderCapacityin interfacePlannedOrderService- Returns:
- A request builder to fetch the count of
PlannedOrderCapacityentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPlannedOrderCapacityByKey
@Nonnull public GetByKeyRequestBuilder<PlannedOrderCapacity> getPlannedOrderCapacityByKey(String plannedOrder, String capacityRequirement, String capacityRequirementItem, String capacityRqmtItemCapacity) Deprecated.Description copied from interface:PlannedOrderServiceFetch a singlePlannedOrderCapacityentity using key fields.- Specified by:
getPlannedOrderCapacityByKeyin interfacePlannedOrderService- Parameters:
plannedOrder- Planned OrderConstraints: Not nullable, Maximum length: 10
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 request builder to fetch a single
PlannedOrderCapacityentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createPlannedOrderCapacity
@Nonnull public CreateRequestBuilder<PlannedOrderCapacity> createPlannedOrderCapacity(@Nonnull PlannedOrderCapacity plannedOrderCapacity) Deprecated.Description copied from interface:PlannedOrderServiceCreate a newPlannedOrderCapacityentity and save it to the S/4HANA system.- Specified by:
createPlannedOrderCapacityin interfacePlannedOrderService- Parameters:
plannedOrderCapacity-PlannedOrderCapacityentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
PlannedOrderCapacityentity. To perform execution, call theexecutemethod on the request builder object.
-
getAllPlannedOrderComponent
Deprecated.Description copied from interface:PlannedOrderServiceFetch multiplePlannedOrderComponententities.- Specified by:
getAllPlannedOrderComponentin interfacePlannedOrderService- Returns:
- A request builder to fetch multiple
PlannedOrderComponententities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPlannedOrderComponent
Deprecated.Description copied from interface:PlannedOrderServiceFetch the number of entries from thePlannedOrderComponententity collection matching the filter and search expressions.- Specified by:
countPlannedOrderComponentin interfacePlannedOrderService- Returns:
- A request builder to fetch the count of
PlannedOrderComponententities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPlannedOrderComponentByKey
@Nonnull public GetByKeyRequestBuilder<PlannedOrderComponent> getPlannedOrderComponentByKey(String plannedOrder, String reservation, String reservationItem) Deprecated.Description copied from interface:PlannedOrderServiceFetch a singlePlannedOrderComponententity using key fields.- Specified by:
getPlannedOrderComponentByKeyin interfacePlannedOrderService- Parameters:
plannedOrder- Planned OrderConstraints: Not nullable, Maximum length: 10
reservation- Number of reservation/dependent requirementsConstraints: Not nullable, Maximum length: 10
reservationItem- Reservation ItemConstraints: Not nullable, Maximum length: 4
- Returns:
- A request builder to fetch a single
PlannedOrderComponententity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
updatePlannedOrderComponent
@Nonnull public UpdateRequestBuilder<PlannedOrderComponent> 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 request builder to update an existing
PlannedOrderComponententity. To perform execution, call theexecutemethod on the request builder object.
-
deletePlannedOrderComponent
@Nonnull public DeleteRequestBuilder<PlannedOrderComponent> 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 request builder to delete an existing
PlannedOrderComponententity. To perform execution, call theexecutemethod on the request builder object.
-
getAllPlannedOrderHeader
Deprecated.Description copied from interface:PlannedOrderServiceFetch multiplePlannedOrderHeaderentities.- Specified by:
getAllPlannedOrderHeaderin interfacePlannedOrderService- Returns:
- A request builder to fetch multiple
PlannedOrderHeaderentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countPlannedOrderHeader
Deprecated.Description copied from interface:PlannedOrderServiceFetch the number of entries from thePlannedOrderHeaderentity collection matching the filter and search expressions.- Specified by:
countPlannedOrderHeaderin interfacePlannedOrderService- Returns:
- A request builder to fetch the count of
PlannedOrderHeaderentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getPlannedOrderHeaderByKey
@Nonnull public GetByKeyRequestBuilder<PlannedOrderHeader> getPlannedOrderHeaderByKey(String plannedOrder) Deprecated.Description copied from interface:PlannedOrderServiceFetch a singlePlannedOrderHeaderentity using key fields.- Specified by:
getPlannedOrderHeaderByKeyin interfacePlannedOrderService- Parameters:
plannedOrder- Planned OrderConstraints: Not nullable, Maximum length: 10
- Returns:
- A request builder to fetch a single
PlannedOrderHeaderentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createPlannedOrderHeader
@Nonnull public CreateRequestBuilder<PlannedOrderHeader> createPlannedOrderHeader(@Nonnull PlannedOrderHeader plannedOrderHeader) Deprecated.Description copied from interface:PlannedOrderServiceCreate a newPlannedOrderHeaderentity and save it to the S/4HANA system.- Specified by:
createPlannedOrderHeaderin interfacePlannedOrderService- Parameters:
plannedOrderHeader-PlannedOrderHeaderentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
PlannedOrderHeaderentity. To perform execution, call theexecutemethod on the request builder object.
-
updatePlannedOrderHeader
@Nonnull public UpdateRequestBuilder<PlannedOrderHeader> updatePlannedOrderHeader(@Nonnull PlannedOrderHeader plannedOrderHeader) Deprecated.Description copied from interface:PlannedOrderServiceUpdate an existingPlannedOrderHeaderentity and save it to the S/4HANA system.- Specified by:
updatePlannedOrderHeaderin interfacePlannedOrderService- Parameters:
plannedOrderHeader-PlannedOrderHeaderentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
PlannedOrderHeaderentity. To perform execution, call theexecutemethod on the request builder object.
-
deletePlannedOrderHeader
@Nonnull public DeleteRequestBuilder<PlannedOrderHeader> deletePlannedOrderHeader(@Nonnull PlannedOrderHeader plannedOrderHeader) Deprecated.Description copied from interface:PlannedOrderServiceDeletes an existingPlannedOrderHeaderentity in the S/4HANA system.- Specified by:
deletePlannedOrderHeaderin interfacePlannedOrderService- Parameters:
plannedOrderHeader-PlannedOrderHeaderentity object that will be deleted in the S/4HANA system.- Returns:
- A request builder to delete an existing
PlannedOrderHeaderentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-