@Named(value="com.sap.cloud.sdk.s4hana.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: | API_SALES_ORDER_SIMULATION_SRV |
API Version: | 1 |
Communication Scenario: | Sales Order Integration (SAP_COM_0109) |
Scope Items: | Opportunity-to-Order with Third-Party Sales Force Automation Apps (1QI), Sell from Stock (BD9) |
Authentication Methods: | Basic, x509 |
Business Object: | SalesOrder |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSalesOrderSimulateService()
Creates a service using
SalesOrderSimulateService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultSalesOrderSimulateServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
SalesOrderSimulationCreateFluentHelper |
createSalesOrderSimulation(SalesOrderSimulation salesOrderSimulation)
Create a new
SalesOrderSimulation entity and save it to the S/4HANA system. |
DefaultSalesOrderSimulateService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
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 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 © 2020 SAP SE. All rights reserved.