public class InventoryPriceChangeFluentHelper extends Object
Constructor and Description |
---|
InventoryPriceChangeFluentHelper(String inventoryValuationType,
String valuationArea,
BigDecimal materialPriceUnitQty,
Calendar postingDate,
BigDecimal inventoryPrice,
String material,
String currencyRole,
String currency)
Creates a fluent helper object that will execute the InventoryPriceChange OData function import with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
PriceChangeDocument |
execute()
The default ERP configuration context will be used.
|
PriceChangeDocument |
execute(ErpConfigContext erpConfigContext) |
PriceChangeDocument |
execute(ErpEndpoint erpEndpoint) |
public InventoryPriceChangeFluentHelper(String inventoryValuationType, String valuationArea, BigDecimal materialPriceUnitQty, Calendar postingDate, BigDecimal inventoryPrice, String material, String currencyRole, String currency)
execute
method on the fluent helper object.valuationArea
- Constraints: Not nullable, Maximum length: 4material
- Constraints: Not nullable, Maximum length: 40inventoryValuationType
- Constraints: Not nullable, Maximum length: 10materialPriceUnitQty
- Constraints: Not nullable, Precision: 5, Scale: 0currency
- Constraints: Not nullable, Maximum length: 5postingDate
- Constraints: Not nullable, Precision: 0currencyRole
- Constraints: Not nullable, Maximum length: 2inventoryPrice
- Constraints: Not nullable, Precision: 4, Scale: 4public PriceChangeDocument 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 PriceChangeDocument 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 PriceChangeDocument 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.