public interface MaterialPriceService extends BatchService<MaterialPriceServiceBatch>
This service enables you to change the existing prices of your materials by importing new prices into the material master. If stock exists for the material, a revaluation posting is generated. The revaluation posting indicates the material ledger document number and year..
Reference: SAP API Business Hub
OData Service: | OP_API_MATERIAL_VALUATION_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Product |
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 currency,
String currencyRole,
String material,
BigDecimal inventoryPrice,
LocalDateTime postingDate,
BigDecimal materialPriceUnitQty,
String valuationArea,
String inventoryValuationType)
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.
|
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull MaterialPriceService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull InventoryPriceChangeFluentHelper inventoryPriceChange(String currency, String currencyRole, String material, BigDecimal inventoryPrice, LocalDateTime postingDate, BigDecimal materialPriceUnitQty, String valuationArea, String inventoryValuationType)
Creates a fluent helper for the InventoryPriceChange OData function import.
valuationArea
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: ValuationArea
material
- Constraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
materialPriceUnitQty
- Constraints: Not nullable, Precision: 5, Scale: 0
Original parameter name from the Odata EDM: MaterialPriceUnitQty
inventoryValuationType
- Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: InventoryValuationType
currency
- Constraints: Not nullable, Maximum length: 5
Original parameter name from the Odata EDM: Currency
postingDate
- Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
currencyRole
- Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: CurrencyRole
inventoryPrice
- Constraints: Not nullable, Precision: 4, Scale: 4
Original parameter name from the Odata EDM: InventoryPrice
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.