@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPlannedOrderService") public class DefaultPlannedOrderService extends Object implements PlannedOrderService
This service enables you to create, change, and delete planned orders as well as to read order headers and 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 (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 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.Copyright © 2018 SAP SE. All rights reserved.