public interface MaterialPriceService
This service enables you to change the prices of your materials. If stock exists for the material, a revaluation posting is generated.
Reference: SAP API Business Hub
OData Service: | API_MATERIAL_VALUATION_SRV |
API Version: | 1 |
Communication Scenario: | Material Price Changes and Inventory Values Integration (SAP_COM_0147) |
Scope Items: | Managing Material Price Changes and Inventory Values (1ZT) |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path used to access the endpoint. |
Modifier and Type | Method and Description |
---|---|
InventoryPriceChangeFluentHelper |
inventoryPriceChange(String inventoryValuationType,
String valuationArea,
BigDecimal materialPriceUnitQty,
LocalDateTime postingDate,
BigDecimal inventoryPrice,
String material,
String currencyRole,
String currency)
Creates a fluent helper for the InventoryPriceChange OData function import.
|
MaterialPriceService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path used to access the endpoint.MaterialPriceService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull InventoryPriceChangeFluentHelper inventoryPriceChange(String inventoryValuationType, String valuationArea, BigDecimal materialPriceUnitQty, LocalDateTime postingDate, BigDecimal inventoryPrice, String material, String currencyRole, String currency)
Creates a fluent helper for the InventoryPriceChange OData function import.
valuationArea
- Constraints: Not nullable, Maximum length: 4Original parameter name from the Odata EDM: ValuationArea
material
- Constraints: Not nullable, Maximum length: 40Original parameter name from the Odata EDM: Material
inventoryValuationType
- Constraints: Not nullable, Maximum length: 10Original parameter name from the Odata EDM: InventoryValuationType
materialPriceUnitQty
- Constraints: Not nullable, Precision: 5, Scale: 0Original parameter name from the Odata EDM: MaterialPriceUnitQty
currency
- Constraints: Not nullable, Maximum length: 5Original parameter name from the Odata EDM: Currency
postingDate
- Constraints: Not nullable, Precision: 0Original parameter name from the Odata EDM: PostingDate
currencyRole
- Constraints: Not nullable, Maximum length: 2Original parameter name from the Odata EDM: CurrencyRole
inventoryPrice
- Constraints: Not nullable, Precision: 4, Scale: 4Original parameter name from the Odata EDM: InventoryPrice
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.