public class DetermineAvailabilityOfFluentHelper extends Object
Constructor and Description |
---|
DetermineAvailabilityOfFluentHelper(BigDecimal requestedQuantityInBaseUnit,
String material,
String supplyingPlant,
String aTPCheckingRule)
Creates a fluent helper object that will execute the DetermineAvailabilityOf OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
AvailabilityRecord |
execute()
The default ERP configuration context will be used.
|
AvailabilityRecord |
execute(ErpConfigContext erpConfigContext) |
AvailabilityRecord |
execute(ErpEndpoint erpEndpoint) |
public DetermineAvailabilityOfFluentHelper(BigDecimal requestedQuantityInBaseUnit, String material, String supplyingPlant, String aTPCheckingRule)
execute
method on the fluent helper object.material
- Constraints: Not nullable, Maximum length: 40aTPCheckingRule
- Constraints: Not nullable, Maximum length: 2supplyingPlant
- Constraints: Not nullable, Maximum length: 4requestedQuantityInBaseUnit
- Constraints: Not nullable, Precision: 3, Scale: 3public AvailabilityRecord execute(ErpEndpoint erpEndpoint) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpEndpoint
- Supply the ERP system instance for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public AvailabilityRecord execute(ErpConfigContext erpConfigContext) throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
erpConfigContext
- Supply the ERP system context for executing the underlying OData query.com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
public AvailabilityRecord execute() throws com.sap.cloud.sdk.odatav2.connectivity.ODataException, IOException
com.sap.cloud.sdk.odatav2.connectivity.ODataException
IOException
ErpConfigContext.ErpConfigContext()
,
ErpEndpoint.ErpEndpoint(ErpConfigContext)
Copyright © 2017 SAP SE. All rights reserved.