@Named public class DefaultProcessSalesOrderService extends Object implements ProcessSalesOrderService
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. For existing sales orders, you can delete 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 |
Communication Scenario: | Sales Order Integration (SAP_COM_0109), Sales Order Integration (SAP_COM_0109) |
Scope Items: | Integration with 3rd-party salesforce automation system (1QI), Sell from Stock (BD9) |
Constructor and Description |
---|
DefaultProcessSalesOrderService() |
public SalesOrderFluentHelper getAllSalesOrder()
ProcessSalesOrderService
SalesOrder
entities.getAllSalesOrder
in interface ProcessSalesOrderService
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 SalesOrderByKeyFluentHelper getSalesOrderByKey(String salesOrder)
ProcessSalesOrderService
SalesOrder
entity using key fields.getSalesOrderByKey
in interface ProcessSalesOrderService
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 SalesOrderCreateFluentHelper createSalesOrder(SalesOrder salesOrder)
ProcessSalesOrderService
SalesOrder
entity and save it to the S/4HANA system.createSalesOrder
in interface ProcessSalesOrderService
salesOrder
- SalesOrder
entity object that will be created in the S/4HANA system.SalesOrder
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderUpdateFluentHelper updateSalesOrder(SalesOrder salesOrder)
ProcessSalesOrderService
SalesOrder
entity and save it to the S/4HANA system.updateSalesOrder
in interface ProcessSalesOrderService
salesOrder
- SalesOrder
entity object that will be updated in the S/4HANA system.SalesOrder
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderDeleteFluentHelper deleteSalesOrder(SalesOrder salesOrder)
ProcessSalesOrderService
SalesOrder
entity in the S/4HANA system.deleteSalesOrder
in interface ProcessSalesOrderService
salesOrder
- SalesOrder
entity object that will be deleted in the S/4HANA system.SalesOrder
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderHeaderPartnerFluentHelper getAllSalesOrderHeaderPartner()
ProcessSalesOrderService
SalesOrderHeaderPartner
entities.getAllSalesOrderHeaderPartner
in interface ProcessSalesOrderService
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 SalesOrderHeaderPartnerByKeyFluentHelper getSalesOrderHeaderPartnerByKey(String salesOrder, String partnerFunction)
ProcessSalesOrderService
SalesOrderHeaderPartner
entity using key fields.getSalesOrderHeaderPartnerByKey
in interface ProcessSalesOrderService
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
partnerFunction
- The abbreviated form of the name that identifies the partner function.Constraints: Not nullable, Maximum length: 2
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 SalesOrderHeaderPartnerCreateFluentHelper createSalesOrderHeaderPartner(SalesOrderHeaderPartner salesOrderHeaderPartner)
ProcessSalesOrderService
SalesOrderHeaderPartner
entity and save it to the S/4HANA system.createSalesOrderHeaderPartner
in interface ProcessSalesOrderService
salesOrderHeaderPartner
- SalesOrderHeaderPartner
entity object that will be created in the S/4HANA system.SalesOrderHeaderPartner
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderHeaderPartnerUpdateFluentHelper updateSalesOrderHeaderPartner(SalesOrderHeaderPartner salesOrderHeaderPartner)
ProcessSalesOrderService
SalesOrderHeaderPartner
entity and save it to the S/4HANA system.updateSalesOrderHeaderPartner
in interface ProcessSalesOrderService
salesOrderHeaderPartner
- SalesOrderHeaderPartner
entity object that will be updated in the S/4HANA system.SalesOrderHeaderPartner
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderHeaderPartnerDeleteFluentHelper deleteSalesOrderHeaderPartner(SalesOrderHeaderPartner salesOrderHeaderPartner)
ProcessSalesOrderService
SalesOrderHeaderPartner
entity in the S/4HANA system.deleteSalesOrderHeaderPartner
in interface ProcessSalesOrderService
salesOrderHeaderPartner
- SalesOrderHeaderPartner
entity object that will be deleted in the S/4HANA system.SalesOrderHeaderPartner
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderHeaderPrElementFluentHelper getAllSalesOrderHeaderPrElement()
ProcessSalesOrderService
SalesOrderHeaderPrElement
entities.getAllSalesOrderHeaderPrElement
in interface ProcessSalesOrderService
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 SalesOrderHeaderPrElementByKeyFluentHelper getSalesOrderHeaderPrElementByKey(String salesOrder, String pricingProcedureStep, String pricingProcedureCounter)
ProcessSalesOrderService
SalesOrderHeaderPrElement
entity using key fields.getSalesOrderHeaderPrElementByKey
in interface ProcessSalesOrderService
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.Constraints: Not nullable, Maximum length: 3
pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.Constraints: 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 SalesOrderHeaderPrElementCreateFluentHelper createSalesOrderHeaderPrElement(SalesOrderHeaderPrElement salesOrderHeaderPrElement)
ProcessSalesOrderService
SalesOrderHeaderPrElement
entity and save it to the S/4HANA system.createSalesOrderHeaderPrElement
in interface ProcessSalesOrderService
salesOrderHeaderPrElement
- SalesOrderHeaderPrElement
entity object that will be created in the S/4HANA system.SalesOrderHeaderPrElement
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderHeaderPrElementUpdateFluentHelper updateSalesOrderHeaderPrElement(SalesOrderHeaderPrElement salesOrderHeaderPrElement)
ProcessSalesOrderService
SalesOrderHeaderPrElement
entity and save it to the S/4HANA system.updateSalesOrderHeaderPrElement
in interface ProcessSalesOrderService
salesOrderHeaderPrElement
- SalesOrderHeaderPrElement
entity object that will be updated in the S/4HANA system.SalesOrderHeaderPrElement
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderHeaderPrElementDeleteFluentHelper deleteSalesOrderHeaderPrElement(SalesOrderHeaderPrElement salesOrderHeaderPrElement)
ProcessSalesOrderService
SalesOrderHeaderPrElement
entity in the S/4HANA system.deleteSalesOrderHeaderPrElement
in interface ProcessSalesOrderService
salesOrderHeaderPrElement
- SalesOrderHeaderPrElement
entity object that will be deleted in the S/4HANA system.SalesOrderHeaderPrElement
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderItemFluentHelper getAllSalesOrderItem()
ProcessSalesOrderService
SalesOrderItem
entities.getAllSalesOrderItem
in interface ProcessSalesOrderService
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 SalesOrderItemByKeyFluentHelper getSalesOrderItemByKey(String salesOrder, String salesOrderItem)
ProcessSalesOrderService
SalesOrderItem
entity using key fields.getSalesOrderItemByKey
in interface ProcessSalesOrderService
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
salesOrderItem
- Sales Order ItemConstraints: Not nullable, Maximum length: 6
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 SalesOrderItemCreateFluentHelper createSalesOrderItem(SalesOrderItem salesOrderItem)
ProcessSalesOrderService
SalesOrderItem
entity and save it to the S/4HANA system.createSalesOrderItem
in interface ProcessSalesOrderService
salesOrderItem
- SalesOrderItem
entity object that will be created in the S/4HANA system.SalesOrderItem
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderItemUpdateFluentHelper updateSalesOrderItem(SalesOrderItem salesOrderItem)
ProcessSalesOrderService
SalesOrderItem
entity and save it to the S/4HANA system.updateSalesOrderItem
in interface ProcessSalesOrderService
salesOrderItem
- SalesOrderItem
entity object that will be updated in the S/4HANA system.SalesOrderItem
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderItemDeleteFluentHelper deleteSalesOrderItem(SalesOrderItem salesOrderItem)
ProcessSalesOrderService
SalesOrderItem
entity in the S/4HANA system.deleteSalesOrderItem
in interface ProcessSalesOrderService
salesOrderItem
- SalesOrderItem
entity object that will be deleted in the S/4HANA system.SalesOrderItem
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderItemPartnerFluentHelper getAllSalesOrderItemPartner()
ProcessSalesOrderService
SalesOrderItemPartner
entities.getAllSalesOrderItemPartner
in interface ProcessSalesOrderService
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 SalesOrderItemPartnerByKeyFluentHelper getSalesOrderItemPartnerByKey(String salesOrder, String salesOrderItem, String partnerFunction)
ProcessSalesOrderService
SalesOrderItemPartner
entity using key fields.getSalesOrderItemPartnerByKey
in interface ProcessSalesOrderService
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
salesOrderItem
- Sales Order ItemConstraints: Not nullable, Maximum length: 6
partnerFunction
- The abbreviated form of the name that identifies the partner function.Constraints: Not nullable, Maximum length: 2
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 SalesOrderItemPartnerCreateFluentHelper createSalesOrderItemPartner(SalesOrderItemPartner salesOrderItemPartner)
ProcessSalesOrderService
SalesOrderItemPartner
entity and save it to the S/4HANA system.createSalesOrderItemPartner
in interface ProcessSalesOrderService
salesOrderItemPartner
- SalesOrderItemPartner
entity object that will be created in the S/4HANA system.SalesOrderItemPartner
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderItemPartnerUpdateFluentHelper updateSalesOrderItemPartner(SalesOrderItemPartner salesOrderItemPartner)
ProcessSalesOrderService
SalesOrderItemPartner
entity and save it to the S/4HANA system.updateSalesOrderItemPartner
in interface ProcessSalesOrderService
salesOrderItemPartner
- SalesOrderItemPartner
entity object that will be updated in the S/4HANA system.SalesOrderItemPartner
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderItemPartnerDeleteFluentHelper deleteSalesOrderItemPartner(SalesOrderItemPartner salesOrderItemPartner)
ProcessSalesOrderService
SalesOrderItemPartner
entity in the S/4HANA system.deleteSalesOrderItemPartner
in interface ProcessSalesOrderService
salesOrderItemPartner
- SalesOrderItemPartner
entity object that will be deleted in the S/4HANA system.SalesOrderItemPartner
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderItemPrElementFluentHelper getAllSalesOrderItemPrElement()
ProcessSalesOrderService
SalesOrderItemPrElement
entities.getAllSalesOrderItemPrElement
in interface ProcessSalesOrderService
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 SalesOrderItemPrElementByKeyFluentHelper getSalesOrderItemPrElementByKey(String salesOrder, String salesOrderItem, String pricingProcedureStep, String pricingProcedureCounter)
ProcessSalesOrderService
SalesOrderItemPrElement
entity using key fields.getSalesOrderItemPrElementByKey
in interface ProcessSalesOrderService
salesOrder
- Sales OrderConstraints: Not nullable, Maximum length: 10
salesOrderItem
- Sales Order ItemConstraints: Not nullable, Maximum length: 6
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.Constraints: Not nullable, Maximum length: 3
pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.Constraints: 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 SalesOrderItemPrElementCreateFluentHelper createSalesOrderItemPrElement(SalesOrderItemPrElement salesOrderItemPrElement)
ProcessSalesOrderService
SalesOrderItemPrElement
entity and save it to the S/4HANA system.createSalesOrderItemPrElement
in interface ProcessSalesOrderService
salesOrderItemPrElement
- SalesOrderItemPrElement
entity object that will be created in the S/4HANA system.SalesOrderItemPrElement
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderItemPrElementUpdateFluentHelper updateSalesOrderItemPrElement(SalesOrderItemPrElement salesOrderItemPrElement)
ProcessSalesOrderService
SalesOrderItemPrElement
entity and save it to the S/4HANA system.updateSalesOrderItemPrElement
in interface ProcessSalesOrderService
salesOrderItemPrElement
- SalesOrderItemPrElement
entity object that will be updated in the S/4HANA system.SalesOrderItemPrElement
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderItemPrElementDeleteFluentHelper deleteSalesOrderItemPrElement(SalesOrderItemPrElement salesOrderItemPrElement)
ProcessSalesOrderService
SalesOrderItemPrElement
entity in the S/4HANA system.deleteSalesOrderItemPrElement
in interface ProcessSalesOrderService
salesOrderItemPrElement
- SalesOrderItemPrElement
entity object that will be deleted in the S/4HANA system.SalesOrderItemPrElement
entity. To perform execution, call the execute
method on the fluent helper object.public SalesOrderScheduleLineFluentHelper getAllSalesOrderScheduleLine()
ProcessSalesOrderService
SalesOrderScheduleLine
entities.getAllSalesOrderScheduleLine
in interface ProcessSalesOrderService
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 SalesOrderScheduleLineByKeyFluentHelper getSalesOrderScheduleLineByKey(String salesOrder, String salesOrderItem, String scheduleLine)
ProcessSalesOrderService
SalesOrderScheduleLine
entity using key fields.getSalesOrderScheduleLineByKey
in interface ProcessSalesOrderService
salesOrder
- The number that uniquely identifies the sales document.Constraints: Not nullable, Maximum length: 10
salesOrderItem
- The number that uniquely identifies the item in the sales document.Constraints: Not nullable, Maximum length: 6
scheduleLine
- The number that uniquely identifies the schedule line in the sales document.Constraints: Not nullable, Maximum length: 4
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.