public class ProcessSalesOrdersService extends Object
This service can be consumed by external applications in order to integrate with sales order processing in SAP S/4HANA Cloud. It enables you to retrieve sales orders in an API call. You can apply any of the filters provided or retrieve all existing data. You can also create a new sales order (a header plus the following entities: header partner, header pricing element, item, item partner, and item pricing element). For existing sales orders, you can create a new item (with the entities item partner and item pricing element). For existing sales orders, you can update the header, header partner, header pricing element, item, item partner, and item pricing element.
Reference: SAP API Business Hub
OData Service: | API_SALES_ORDER_SRV |
API Version: | 1 |
Minimum ERP Version: | 1708 |
Communication Scenario: | Sales Order Integration (SAP_COM_0109) |
Scope Items: | Sell from Stock (BD9) |
Constructor and Description |
---|
ProcessSalesOrdersService() |
public static ProcessSalesOrdersNamespace.SalesOrderFluentHelper getAllSalesOrder()
SalesOrder
entities.SalesOrder
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.public static ProcessSalesOrdersNamespace.SalesOrderByKeyFluentHelper getSalesOrderByKey(String salesOrder)
SalesOrder
entity using key fields.salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
SalesOrder
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.public static ProcessSalesOrdersNamespace.SalesOrderHeaderPartnerFluentHelper getAllSalesOrderHeaderPartner()
SalesOrderHeaderPartner
entities.SalesOrderHeaderPartner
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.public static ProcessSalesOrdersNamespace.SalesOrderHeaderPartnerByKeyFluentHelper getSalesOrderHeaderPartnerByKey(String salesOrder, String partnerFunction)
SalesOrderHeaderPartner
entity using key fields.partnerFunction
- Partner FunctionConstraints: Not nullable, Maximum length: 2
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
SalesOrderHeaderPartner
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.public static ProcessSalesOrdersNamespace.SalesOrderHeaderPrElementFluentHelper getAllSalesOrderHeaderPrElement()
SalesOrderHeaderPrElement
entities.SalesOrderHeaderPrElement
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.public static ProcessSalesOrdersNamespace.SalesOrderHeaderPrElementByKeyFluentHelper getSalesOrderHeaderPrElementByKey(String salesOrder, String pricingProcedureStep, String pricingProcedureCounter)
SalesOrderHeaderPrElement
entity using key fields.pricingProcedureCounter
- Condition CounterConstraints: Not nullable, Maximum length: 3
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
pricingProcedureStep
- Step NumberConstraints: Not nullable, Maximum length: 3
SalesOrderHeaderPrElement
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.public static ProcessSalesOrdersNamespace.SalesOrderItemFluentHelper getAllSalesOrderItem()
SalesOrderItem
entities.SalesOrderItem
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.public static ProcessSalesOrdersNamespace.SalesOrderItemByKeyFluentHelper getSalesOrderItemByKey(String salesOrder, String salesOrderItem)
SalesOrderItem
entity using key fields.salesOrderItem
- Sales Order ItemConstraints: Not nullable, Maximum length: 6
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
SalesOrderItem
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.public static ProcessSalesOrdersNamespace.SalesOrderItemPartnerFluentHelper getAllSalesOrderItemPartner()
SalesOrderItemPartner
entities.SalesOrderItemPartner
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.public static ProcessSalesOrdersNamespace.SalesOrderItemPartnerByKeyFluentHelper getSalesOrderItemPartnerByKey(String salesOrder, String salesOrderItem, String partnerFunction)
SalesOrderItemPartner
entity using key fields.partnerFunction
- Partner FunctionConstraints: Not nullable, Maximum length: 2
salesOrderItem
- Sales Order ItemConstraints: Not nullable, Maximum length: 6
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
SalesOrderItemPartner
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.public static ProcessSalesOrdersNamespace.SalesOrderItemPrElementFluentHelper getAllSalesOrderItemPrElement()
SalesOrderItemPrElement
entities.SalesOrderItemPrElement
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.public static ProcessSalesOrdersNamespace.SalesOrderItemPrElementByKeyFluentHelper getSalesOrderItemPrElementByKey(String salesOrder, String salesOrderItem, String pricingProcedureStep, String pricingProcedureCounter)
SalesOrderItemPrElement
entity using key fields.salesOrderItem
- Sales Order ItemConstraints: Not nullable, Maximum length: 6
pricingProcedureCounter
- Condition CounterConstraints: Not nullable, Maximum length: 3
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
pricingProcedureStep
- Step NumberConstraints: Not nullable, Maximum length: 3
SalesOrderItemPrElement
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.public static ProcessSalesOrdersNamespace.SalesOrderScheduleLineFluentHelper getAllSalesOrderScheduleLine()
SalesOrderScheduleLine
entities.SalesOrderScheduleLine
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.public static ProcessSalesOrdersNamespace.SalesOrderScheduleLineByKeyFluentHelper getSalesOrderScheduleLineByKey(String salesOrder, String salesOrderItem, String scheduleLine)
SalesOrderScheduleLine
entity using key fields.salesOrderItem
- Sales Document ItemConstraints: Not nullable, Maximum length: 6
scheduleLine
- Schedule Line NumberConstraints: Not nullable, Maximum length: 4
salesOrder
- Sales DocumentConstraints: Not nullable, Maximum length: 10
SalesOrderScheduleLine
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 © 2017 SAP SE. All rights reserved.