@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPlannedOrderService") public class DefaultPlannedOrderService extends Object implements PlannedOrderService
This service enables you to read, create, change, and delete planned orders as well as components belonging to planned orders.
Reference: SAP API Business Hub
OData Service: | API_PLANNED_ORDERS |
API Version: | 1 |
Communication Scenario: | Production Planning Integration (SAP_COM_0104) |
Scope Items: | Make-to-Stock Production - Discrete Manufacturing (BJ5), Make-to-Stock Production - Process Manufacturing based on Process Order (BJ8), Material Requirements Planning (J44) |
Authentication Methods: | Basic, x509, OAuth2 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPlannedOrderService()
Creates a service using
PlannedOrderService.DEFAULT_SERVICE_PATH to send the requests. |
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 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
- Number that specifically identifies a planned order for a material.
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
- Alphanumeric key uniquely identifying the document.
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.Copyright © 2019 SAP SE. All rights reserved.