public interface TimeDependentStockLevelService extends BatchService<TimeDependentStockLevelServiceBatch>
The service contains one entity. For read operations, filter information must be sent according to the OData protocol. All filter information is utilized when retrieving stock level information, such as, product, Plant, MRP area, max stock, reorder point, safety stock, and so on. The stock levels maintained for a product, such as, max stock, reorder point and safety stock for each date range is sent in the response. If any issues arise when these details are retrieved, the system displays error messages in the response. .
Reference: SAP API Business Hub
OData Service: | OP_API_PROD_TIMEDPDNTSTCK_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 |
---|---|
ProdTimeDepdntStockLvlCreateFluentHelper |
createProdTimeDepdntStockLvl(ProdTimeDepdntStockLvl prodTimeDepdntStockLvl)
Create a new
ProdTimeDepdntStockLvl entity and save it to the S/4HANA system. |
ProdTimeDepdntStockLvlFluentHelper |
getAllProdTimeDepdntStockLvl()
Fetch multiple
ProdTimeDepdntStockLvl entities. |
ProdTimeDepdntStockLvlByKeyFluentHelper |
getProdTimeDepdntStockLvlByKey(String product,
String plant,
String mRPArea,
LocalDateTime stockLevelValidityStartDate)
Fetch a single
ProdTimeDepdntStockLvl entity using key fields. |
InsertAndAdjustStkLvlIntervalFluentHelper |
insertAndAdjustStkLvlInterval(String product,
String plant,
String mRPArea,
LocalDateTime stockLevelValidityStartDate,
LocalDateTime stockLevelValidityEndDate,
BigDecimal productSafetyStockLvlQuantity,
BigDecimal reorderThresholdQuantity,
BigDecimal productMaxStockLevelQuantity,
BigDecimal productTargetStockLvlQuantity,
String unitOfMeasure,
String unitOfMeasureISOCode,
String targetSupplyDurationInDays,
String maxSupplyDurationInDays,
String safetySupplyDurationInDays)
Creates a fluent helper for the InsertAndAdjustStkLvlInterval OData function import.
|
SplitStockLevelIntervalFluentHelper |
splitStockLevelInterval(String product,
String plant,
String mRPArea,
LocalDateTime stockLevelValidityStartDate,
LocalDateTime stockLevelValidityEndDate,
BigDecimal productSafetyStockLvlQuantity,
BigDecimal reorderThresholdQuantity,
BigDecimal productMaxStockLevelQuantity,
BigDecimal productTargetStockLvlQuantity,
String unitOfMeasure,
String unitOfMeasureISOCode,
String targetSupplyDurationInDays,
String maxSupplyDurationInDays,
String safetySupplyDurationInDays)
Creates a fluent helper for the SplitStockLevelInterval OData function import.
|
ProdTimeDepdntStockLvlUpdateFluentHelper |
updateProdTimeDepdntStockLvl(ProdTimeDepdntStockLvl prodTimeDepdntStockLvl)
Update an existing
ProdTimeDepdntStockLvl entity and save it to the S/4HANA system. |
TimeDependentStockLevelService |
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 TimeDependentStockLevelService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull ProdTimeDepdntStockLvlFluentHelper getAllProdTimeDepdntStockLvl()
ProdTimeDepdntStockLvl
entities.ProdTimeDepdntStockLvl
entities. This fluent helper allows methods which modify the underlying query to
be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ProdTimeDepdntStockLvlByKeyFluentHelper getProdTimeDepdntStockLvlByKey(String product, String plant, String mRPArea, LocalDateTime stockLevelValidityStartDate)
ProdTimeDepdntStockLvl
entity using key fields.product
- Material Number
Constraints: Not nullable, Maximum length: 40
mRPArea
- MRP Area
Constraints: Not nullable, Maximum length: 10
stockLevelValidityStartDate
- Valid-From Date
Constraints: Not nullable, Precision: 0
plant
- Plant
Constraints: Not nullable, Maximum length: 4
ProdTimeDepdntStockLvl
entity using key fields. This fluent helper allows methods which modify the
underlying query to be called before executing the query itself. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ProdTimeDepdntStockLvlCreateFluentHelper createProdTimeDepdntStockLvl(@Nonnull ProdTimeDepdntStockLvl prodTimeDepdntStockLvl)
ProdTimeDepdntStockLvl
entity and save it to the S/4HANA system.prodTimeDepdntStockLvl
- ProdTimeDepdntStockLvl
entity object that will be created in the S/4HANA system.ProdTimeDepdntStockLvl
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull ProdTimeDepdntStockLvlUpdateFluentHelper updateProdTimeDepdntStockLvl(@Nonnull ProdTimeDepdntStockLvl prodTimeDepdntStockLvl)
ProdTimeDepdntStockLvl
entity and save it to the S/4HANA system.prodTimeDepdntStockLvl
- ProdTimeDepdntStockLvl
entity object that will be updated in the S/4HANA system.ProdTimeDepdntStockLvl
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull InsertAndAdjustStkLvlIntervalFluentHelper insertAndAdjustStkLvlInterval(String product, String plant, String mRPArea, LocalDateTime stockLevelValidityStartDate, LocalDateTime stockLevelValidityEndDate, BigDecimal productSafetyStockLvlQuantity, BigDecimal reorderThresholdQuantity, BigDecimal productMaxStockLevelQuantity, BigDecimal productTargetStockLvlQuantity, String unitOfMeasure, String unitOfMeasureISOCode, String targetSupplyDurationInDays, String maxSupplyDurationInDays, String safetySupplyDurationInDays)
Creates a fluent helper for the InsertAndAdjustStkLvlInterval OData function import.
targetSupplyDurationInDays
- Constraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: TargetSupplyDurationInDays
product
- Constraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: Product
mRPArea
- Constraints: Nullable, Maximum length: 10
Original parameter name from the Odata EDM: MRPArea
unitOfMeasure
- Constraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: UnitOfMeasure
stockLevelValidityStartDate
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: StockLevelValidityStartDate
stockLevelValidityEndDate
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: StockLevelValidityEndDate
safetySupplyDurationInDays
- Constraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: SafetySupplyDurationInDays
productMaxStockLevelQuantity
- Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ProductMaxStockLevelQuantity
productSafetyStockLvlQuantity
- Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ProductSafetyStockLvlQuantity
maxSupplyDurationInDays
- Constraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: MaxSupplyDurationInDays
unitOfMeasureISOCode
- Constraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: UnitOfMeasureISOCode
productTargetStockLvlQuantity
- Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ProductTargetStockLvlQuantity
plant
- Constraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
reorderThresholdQuantity
- Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ReorderThresholdQuantity
execute
method on the fluent helper object.@Nonnull SplitStockLevelIntervalFluentHelper splitStockLevelInterval(String product, String plant, String mRPArea, LocalDateTime stockLevelValidityStartDate, LocalDateTime stockLevelValidityEndDate, BigDecimal productSafetyStockLvlQuantity, BigDecimal reorderThresholdQuantity, BigDecimal productMaxStockLevelQuantity, BigDecimal productTargetStockLvlQuantity, String unitOfMeasure, String unitOfMeasureISOCode, String targetSupplyDurationInDays, String maxSupplyDurationInDays, String safetySupplyDurationInDays)
Creates a fluent helper for the SplitStockLevelInterval OData function import.
targetSupplyDurationInDays
- Constraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: TargetSupplyDurationInDays
product
- Constraints: Nullable, Maximum length: 40
Original parameter name from the Odata EDM: Product
mRPArea
- Constraints: Nullable, Maximum length: 10
Original parameter name from the Odata EDM: MRPArea
unitOfMeasure
- Constraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: UnitOfMeasure
stockLevelValidityStartDate
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: StockLevelValidityStartDate
stockLevelValidityEndDate
- Constraints: Nullable, Precision: 0
Original parameter name from the Odata EDM: StockLevelValidityEndDate
safetySupplyDurationInDays
- Constraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: SafetySupplyDurationInDays
productMaxStockLevelQuantity
- Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ProductMaxStockLevelQuantity
productSafetyStockLvlQuantity
- Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ProductSafetyStockLvlQuantity
maxSupplyDurationInDays
- Constraints: Nullable, Maximum length: 2
Original parameter name from the Odata EDM: MaxSupplyDurationInDays
unitOfMeasureISOCode
- Constraints: Nullable, Maximum length: 3
Original parameter name from the Odata EDM: UnitOfMeasureISOCode
productTargetStockLvlQuantity
- Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ProductTargetStockLvlQuantity
plant
- Constraints: Nullable, Maximum length: 4
Original parameter name from the Odata EDM: Plant
reorderThresholdQuantity
- Constraints: Nullable, Precision: 13, Scale: 3
Original parameter name from the Odata EDM: ReorderThresholdQuantity
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.