Interface MaterialPriceService
- All Superinterfaces:
BatchService<MaterialPriceServiceBatch>
- All Known Implementing Classes:
DefaultMaterialPriceService
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 Business Accelerator Hub
Details:
| OData Service: | API_MATERIAL_VALUATION_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Material Price Changes and Inventory Values Integration(SAP_COM_0147) |
| Scope Items: | Managing Material Price Changes and Inventory Values(1ZT), Managing Material Price Changes and Inventory Values(OZT) |
| Authentication Methods: | x509 |
| Business Object: | Product |
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptioninventoryPriceChange(String currency, String currencyRole, String material, BigDecimal inventoryPrice, LocalDateTime postingDate, BigDecimal materialPriceUnitQty, String valuationArea, String inventoryValuationType) Deprecated.Creates a fluent helper for the InventoryPriceChange OData function import.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
inventoryPriceChange
@Nonnull InventoryPriceChangeFluentHelper inventoryPriceChange(@Nonnull String currency, @Nonnull String currencyRole, @Nonnull String material, @Nonnull BigDecimal inventoryPrice, @Nonnull LocalDateTime postingDate, @Nonnull BigDecimal materialPriceUnitQty, @Nonnull String valuationArea, @Nonnull String inventoryValuationType) Deprecated.Creates a fluent helper for the InventoryPriceChange OData function import.
- Parameters:
valuationArea- Valuation AreaConstraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: ValuationArea
material- MaterialConstraints: Not nullable, Maximum length: 40
Original parameter name from the Odata EDM: Material
materialPriceUnitQty- Price unitConstraints: Not nullable, Precision: 5, Scale: 0
Original parameter name from the Odata EDM: MaterialPriceUnitQty
inventoryValuationType- Valuation TypeConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: InventoryValuationType
currency- CurrencyConstraints: Not nullable, Maximum length: 5
Original parameter name from the Odata EDM: Currency
postingDate- Posting DateConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: PostingDate
currencyRole- Crcy type/val.Constraints: Not nullable, Maximum length: 2
Original parameter name from the Odata EDM: CurrencyRole
inventoryPrice- PriceConstraints: Not nullable, Precision: 4, Scale: 4
Original parameter name from the Odata EDM: InventoryPrice
- Returns:
- A fluent helper object that will execute the InventoryPriceChange OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-