Class DefaultTimeDependentStockLevelService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultTimeDependentStockLevelService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,TimeDependentStockLevelService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.DefaultTimeDependentStockLevelService")
@Deprecated
public class DefaultTimeDependentStockLevelService
extends Object
implements ServiceWithNavigableEntities, TimeDependentStockLevelService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
You can create, read and update the time dependent stock levels such as max stock, reorder point and safety stock. You can also split and merge the stock validity intervals..
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | PRODTIMEDPDNTSTCK_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Buffer Sizing Integration(SAP_COM_0359) |
| Scope Items: | Demand-Driven Buffer Level Management(1Y2) |
| Authentication Methods: | x509 |
| Service Group Name: | API_PROD_TIMEDPDNTSTCK_SRV |
| Business Object: | Product Time Dependent Stock Level |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.TimeDependentStockLevelService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingTimeDependentStockLevelService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theProdTimeDepdntStockLvlentity collection matching the filter and search expressions.createProdTimeDepdntStockLvl(ProdTimeDepdntStockLvl prodTimeDepdntStockLvl) Deprecated.Create a newProdTimeDepdntStockLvlentity and save it to the S/4HANA system.Deprecated.Fetch multipleProdTimeDepdntStockLvlentities.getProdTimeDepdntStockLvlByKey(String product, String plant, String mRPArea, LocalDate stockLevelValidityStartDate) Deprecated.Fetch a singleProdTimeDepdntStockLvlentity using key fields.Deprecated.updateProdTimeDepdntStockLvl(ProdTimeDepdntStockLvl prodTimeDepdntStockLvl) Deprecated.Update an existingProdTimeDepdntStockLvlentity and save it to the S/4HANA system.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultTimeDependentStockLevelService
public DefaultTimeDependentStockLevelService()Deprecated.Creates a service usingTimeDependentStockLevelService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
Deprecated.Description copied from interface:TimeDependentStockLevelServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceTimeDependentStockLevelService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:TimeDependentStockLevelServiceCreates a batch request builder object.- Specified by:
batchin interfaceTimeDependentStockLevelService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllProdTimeDepdntStockLvl
Deprecated.Description copied from interface:TimeDependentStockLevelServiceFetch multipleProdTimeDepdntStockLvlentities.- Specified by:
getAllProdTimeDepdntStockLvlin interfaceTimeDependentStockLevelService- Returns:
- A request builder to fetch multiple
ProdTimeDepdntStockLvlentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countProdTimeDepdntStockLvl
Deprecated.Description copied from interface:TimeDependentStockLevelServiceFetch the number of entries from theProdTimeDepdntStockLvlentity collection matching the filter and search expressions.- Specified by:
countProdTimeDepdntStockLvlin interfaceTimeDependentStockLevelService- Returns:
- A request builder to fetch the count of
ProdTimeDepdntStockLvlentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getProdTimeDepdntStockLvlByKey
@Nonnull public GetByKeyRequestBuilder<ProdTimeDepdntStockLvl> getProdTimeDepdntStockLvlByKey(String product, String plant, String mRPArea, LocalDate stockLevelValidityStartDate) Deprecated.Description copied from interface:TimeDependentStockLevelServiceFetch a singleProdTimeDepdntStockLvlentity using key fields.- Specified by:
getProdTimeDepdntStockLvlByKeyin interfaceTimeDependentStockLevelService- Parameters:
product- Material NumberConstraints: Not nullable, Maximum length: 18
plant- PlantConstraints: Not nullable, Maximum length: 4
mRPArea- MRP AreaConstraints: Not nullable, Maximum length: 10
stockLevelValidityStartDate- Valid-From DateConstraints: Not nullable
- Returns:
- A request builder to fetch a single
ProdTimeDepdntStockLvlentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createProdTimeDepdntStockLvl
@Nonnull public CreateRequestBuilder<ProdTimeDepdntStockLvl> createProdTimeDepdntStockLvl(@Nonnull ProdTimeDepdntStockLvl prodTimeDepdntStockLvl) Deprecated.Description copied from interface:TimeDependentStockLevelServiceCreate a newProdTimeDepdntStockLvlentity and save it to the S/4HANA system.- Specified by:
createProdTimeDepdntStockLvlin interfaceTimeDependentStockLevelService- Parameters:
prodTimeDepdntStockLvl-ProdTimeDepdntStockLvlentity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
ProdTimeDepdntStockLvlentity. To perform execution, call theexecutemethod on the request builder object.
-
updateProdTimeDepdntStockLvl
@Nonnull public UpdateRequestBuilder<ProdTimeDepdntStockLvl> updateProdTimeDepdntStockLvl(@Nonnull ProdTimeDepdntStockLvl prodTimeDepdntStockLvl) Deprecated.Description copied from interface:TimeDependentStockLevelServiceUpdate an existingProdTimeDepdntStockLvlentity and save it to the S/4HANA system.- Specified by:
updateProdTimeDepdntStockLvlin interfaceTimeDependentStockLevelService- Parameters:
prodTimeDepdntStockLvl-ProdTimeDepdntStockLvlentity object that will be updated in the S/4HANA system.- Returns:
- A request builder to update an existing
ProdTimeDepdntStockLvlentity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-