@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultSalesOrderSimulateService") public class DefaultSalesOrderSimulateService extends Object implements SalesOrderSimulateService
The API gives you information about pricing, material availability, and the customer's credit limit. The response is provided synchronously. The simulated sales order is not saved.
Reference: SAP API Business Hub
OData Service: | OP_API_SALES_ORDER_SIMULATION_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Sales Order |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSalesOrderSimulateService()
Creates a service using
SalesOrderSimulateService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultSalesOrderSimulateService()
SalesOrderSimulateService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSalesOrderSimulateService withServicePath(@Nonnull String servicePath)
SalesOrderSimulateService
withServicePath
in interface SalesOrderSimulateService
servicePath
- Service path that will override the default.@Nonnull public DefaultSalesOrderSimulateServiceBatch batch()
batch
in interface BatchService<SalesOrderSimulateServiceBatch>
@Nonnull public SalesOrderCreditSimulationFluentHelper getAllSalesOrderCreditSimulation()
SalesOrderSimulateService
SalesOrderCreditSimulation
entities.getAllSalesOrderCreditSimulation
in interface SalesOrderSimulateService
SalesOrderCreditSimulation
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 SalesOrderCreditSimulationByKeyFluentHelper getSalesOrderCreditSimulationByKey(String salesOrder)
SalesOrderSimulateService
SalesOrderCreditSimulation
entity using key fields.getSalesOrderCreditSimulationByKey
in interface SalesOrderSimulateService
salesOrder
- Sales Order
Constraints: Not nullable, Maximum length: 10
SalesOrderCreditSimulation
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 SalesOrderItemPartnerSimlnFluentHelper getAllSalesOrderItemPartnerSimln()
SalesOrderSimulateService
SalesOrderItemPartnerSimln
entities.getAllSalesOrderItemPartnerSimln
in interface SalesOrderSimulateService
SalesOrderItemPartnerSimln
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 SalesOrderItemPartnerSimlnByKeyFluentHelper getSalesOrderItemPartnerSimlnByKey(String salesOrder, String salesOrderItem, String partnerFunction)
SalesOrderSimulateService
SalesOrderItemPartnerSimln
entity using key fields.getSalesOrderItemPartnerSimlnByKey
in interface SalesOrderSimulateService
salesOrder
- Sales Order
Constraints: Not nullable, Maximum length: 10
salesOrderItem
- Sales Order Item
Constraints: Not nullable, Maximum length: 6
partnerFunction
- Partner Function
Constraints: Not nullable, Maximum length: 2
SalesOrderItemPartnerSimln
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 SalesOrderItemSimulationFluentHelper getAllSalesOrderItemSimulation()
SalesOrderSimulateService
SalesOrderItemSimulation
entities.getAllSalesOrderItemSimulation
in interface SalesOrderSimulateService
SalesOrderItemSimulation
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 SalesOrderItemSimulationByKeyFluentHelper getSalesOrderItemSimulationByKey(String salesOrder, String salesOrderItem)
SalesOrderSimulateService
SalesOrderItemSimulation
entity using key fields.getSalesOrderItemSimulationByKey
in interface SalesOrderSimulateService
salesOrder
- Sales Order
Constraints: Not nullable, Maximum length: 10
salesOrderItem
- Sales Order Item
Constraints: Not nullable, Maximum length: 6
SalesOrderItemSimulation
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 SalesOrderItmPrcgElmntSimlnFluentHelper getAllSalesOrderItmPrcgElmntSimln()
SalesOrderSimulateService
SalesOrderItmPrcgElmntSimln
entities.getAllSalesOrderItmPrcgElmntSimln
in interface SalesOrderSimulateService
SalesOrderItmPrcgElmntSimln
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 SalesOrderItmPrcgElmntSimlnByKeyFluentHelper getSalesOrderItmPrcgElmntSimlnByKey(String salesOrder, String salesOrderItem, String pricingProcedureStep, String pricingProcedureCounter)
SalesOrderSimulateService
SalesOrderItmPrcgElmntSimln
entity using key fields.getSalesOrderItmPrcgElmntSimlnByKey
in interface SalesOrderSimulateService
salesOrder
- Sales Order
Constraints: Not nullable, Maximum length: 10
salesOrderItem
- Sales Order Item
Constraints: Not nullable, Maximum length: 6
pricingProcedureStep
- Step Number
Constraints: Not nullable, Maximum length: 3
pricingProcedureCounter
- Condition Counter
Constraints: Not nullable, Maximum length: 3
SalesOrderItmPrcgElmntSimln
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 SalesOrderPartnerSimulationFluentHelper getAllSalesOrderPartnerSimulation()
SalesOrderSimulateService
SalesOrderPartnerSimulation
entities.getAllSalesOrderPartnerSimulation
in interface SalesOrderSimulateService
SalesOrderPartnerSimulation
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 SalesOrderPartnerSimulationByKeyFluentHelper getSalesOrderPartnerSimulationByKey(String salesOrder, String partnerFunction)
SalesOrderSimulateService
SalesOrderPartnerSimulation
entity using key fields.getSalesOrderPartnerSimulationByKey
in interface SalesOrderSimulateService
salesOrder
- Sales Order
Constraints: Not nullable, Maximum length: 10
partnerFunction
- Partner Function
Constraints: Not nullable, Maximum length: 2
SalesOrderPartnerSimulation
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 SalesOrderPrcgElmntSimlnFluentHelper getAllSalesOrderPrcgElmntSimln()
SalesOrderSimulateService
SalesOrderPrcgElmntSimln
entities.getAllSalesOrderPrcgElmntSimln
in interface SalesOrderSimulateService
SalesOrderPrcgElmntSimln
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 SalesOrderPrcgElmntSimlnByKeyFluentHelper getSalesOrderPrcgElmntSimlnByKey(String salesOrder, String pricingProcedureStep, String pricingProcedureCounter)
SalesOrderSimulateService
SalesOrderPrcgElmntSimln
entity using key fields.getSalesOrderPrcgElmntSimlnByKey
in interface SalesOrderSimulateService
salesOrder
- Sales Order
Constraints: Not nullable, Maximum length: 10
pricingProcedureStep
- Step Number
Constraints: Not nullable, Maximum length: 3
pricingProcedureCounter
- Condition Counter
Constraints: Not nullable, Maximum length: 3
SalesOrderPrcgElmntSimln
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 SalesOrderPricingSimulationFluentHelper getAllSalesOrderPricingSimulation()
SalesOrderSimulateService
SalesOrderPricingSimulation
entities.getAllSalesOrderPricingSimulation
in interface SalesOrderSimulateService
SalesOrderPricingSimulation
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 SalesOrderPricingSimulationByKeyFluentHelper getSalesOrderPricingSimulationByKey(String salesOrder)
SalesOrderSimulateService
SalesOrderPricingSimulation
entity using key fields.getSalesOrderPricingSimulationByKey
in interface SalesOrderSimulateService
salesOrder
- Sales Order
Constraints: Not nullable, Maximum length: 10
SalesOrderPricingSimulation
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 SalesOrderScheduleLineSimlnFluentHelper getAllSalesOrderScheduleLineSimln()
SalesOrderSimulateService
SalesOrderScheduleLineSimln
entities.getAllSalesOrderScheduleLineSimln
in interface SalesOrderSimulateService
SalesOrderScheduleLineSimln
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 SalesOrderScheduleLineSimlnByKeyFluentHelper getSalesOrderScheduleLineSimlnByKey(String salesOrder, String salesOrderItem, String scheduleLine)
SalesOrderSimulateService
SalesOrderScheduleLineSimln
entity using key fields.getSalesOrderScheduleLineSimlnByKey
in interface SalesOrderSimulateService
salesOrder
- Sales Document
Constraints: Not nullable, Maximum length: 10
salesOrderItem
- Sales Document Item
Constraints: Not nullable, Maximum length: 6
scheduleLine
- Schedule Line Number
Constraints: Not nullable, Maximum length: 4
SalesOrderScheduleLineSimln
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 SalesOrderSimulationFluentHelper getAllSalesOrderSimulation()
SalesOrderSimulateService
SalesOrderSimulation
entities.getAllSalesOrderSimulation
in interface SalesOrderSimulateService
SalesOrderSimulation
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 SalesOrderSimulationByKeyFluentHelper getSalesOrderSimulationByKey(String salesOrder)
SalesOrderSimulateService
SalesOrderSimulation
entity using key fields.getSalesOrderSimulationByKey
in interface SalesOrderSimulateService
salesOrder
- Sales Order
Constraints: Not nullable, Maximum length: 10
SalesOrderSimulation
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 SalesOrderSimulationCreateFluentHelper createSalesOrderSimulation(@Nonnull SalesOrderSimulation salesOrderSimulation)
SalesOrderSimulateService
SalesOrderSimulation
entity and save it to the S/4HANA system.createSalesOrderSimulation
in interface SalesOrderSimulateService
salesOrderSimulation
- SalesOrderSimulation
entity object that will be created in the S/4HANA system.SalesOrderSimulation
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.