Class DefaultPurchasingQuotaArrangementService
java.lang.Object
com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPurchasingQuotaArrangementService
- All Implemented Interfaces:
BatchService<PurchasingQuotaArrangementServiceBatch>,PurchasingQuotaArrangementService
@Named("com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPurchasingQuotaArrangementService")
@Deprecated
public class DefaultPurchasingQuotaArrangementService
extends Object
implements PurchasingQuotaArrangementService
Deprecated.
The service and all its related classes are deprecated. Please use the odata generator to generate the
VDM.
This service helps you to create, read, update, and delete quota arrangements through an API call from a source system outside SAP S/4HANA Cloud or SAP S/4HANA. The service contains quota arrangement header and item. The information is sent in the request as a payload. The information is used when creating, reading or updating a quota arrangement, with appropriate checks for restricted values and authorizations.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_PUR_QUOTA_ARRANGEMENT_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Purchasing Quota Arrangement Integration(SAP_COM_0166) |
| Scope Items: | Scheduling Agreements in Procurement(BMR), Physical Inventory - Inventory Count and Adjustment(OML), Scheduling Agreements in Procurement(OMR) |
| Authentication Methods: | x509 |
| Business Object: | Purchasing Quota Arrangement |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.PurchasingQuotaArrangementService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingPurchasingQuotaArrangementService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.createPurchasingQuotaArrangement(PurchasingQuotaArrangement purchasingQuotaArrangement) Deprecated.Create a newPurchasingQuotaArrangemententity and save it to the S/4HANA system.createPurgQuotaArrangementItem(PurgQuotaArrangementItem purgQuotaArrangementItem) Deprecated.Create a newPurgQuotaArrangementItementity and save it to the S/4HANA system.deletePurchasingQuotaArrangement(PurchasingQuotaArrangement purchasingQuotaArrangement) Deprecated.Deletes an existingPurchasingQuotaArrangemententity in the S/4HANA system.deletePurgQuotaArrangementItem(PurgQuotaArrangementItem purgQuotaArrangementItem) Deprecated.Deletes an existingPurgQuotaArrangementItementity in the S/4HANA system.Deprecated.Fetch multiplePurchasingQuotaArrangemententities.Deprecated.Fetch multiplePurgQuotaArrangementItementities.getPurchasingQuotaArrangementByKey(String quotaArrangement) Deprecated.Fetch a singlePurchasingQuotaArrangemententity using key fields.getPurgQuotaArrangementItemByKey(String quotaArrangement, String quotaArrangementItem) Deprecated.Fetch a singlePurgQuotaArrangementItementity using key fields.updatePurchasingQuotaArrangement(PurchasingQuotaArrangement purchasingQuotaArrangement) Deprecated.Update an existingPurchasingQuotaArrangemententity and save it to the S/4HANA system.updatePurgQuotaArrangementItem(PurgQuotaArrangementItem purgQuotaArrangementItem) Deprecated.Update an existingPurgQuotaArrangementItementity 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.
-
Constructor Details
-
DefaultPurchasingQuotaArrangementService
public DefaultPurchasingQuotaArrangementService()Deprecated.Creates a service usingPurchasingQuotaArrangementService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultPurchasingQuotaArrangementService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:PurchasingQuotaArrangementServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfacePurchasingQuotaArrangementService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<PurchasingQuotaArrangementServiceBatch>
-
getAllPurchasingQuotaArrangement
Deprecated.Description copied from interface:PurchasingQuotaArrangementServiceFetch multiplePurchasingQuotaArrangemententities.- Specified by:
getAllPurchasingQuotaArrangementin interfacePurchasingQuotaArrangementService- Returns:
- A fluent helper to fetch multiple
PurchasingQuotaArrangemententities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getPurchasingQuotaArrangementByKey
@Nonnull public PurchasingQuotaArrangementByKeyFluentHelper getPurchasingQuotaArrangementByKey(String quotaArrangement) Deprecated.Description copied from interface:PurchasingQuotaArrangementServiceFetch a singlePurchasingQuotaArrangemententity using key fields.- Specified by:
getPurchasingQuotaArrangementByKeyin interfacePurchasingQuotaArrangementService- Parameters:
quotaArrangement- Number of quota arrangementConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
PurchasingQuotaArrangemententity 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 theexecutemethod on the fluent helper object.
-
createPurchasingQuotaArrangement
@Nonnull public PurchasingQuotaArrangementCreateFluentHelper createPurchasingQuotaArrangement(@Nonnull PurchasingQuotaArrangement purchasingQuotaArrangement) Deprecated.Description copied from interface:PurchasingQuotaArrangementServiceCreate a newPurchasingQuotaArrangemententity and save it to the S/4HANA system.- Specified by:
createPurchasingQuotaArrangementin interfacePurchasingQuotaArrangementService- Parameters:
purchasingQuotaArrangement-PurchasingQuotaArrangemententity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PurchasingQuotaArrangemententity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePurchasingQuotaArrangement
@Nonnull public PurchasingQuotaArrangementUpdateFluentHelper updatePurchasingQuotaArrangement(@Nonnull PurchasingQuotaArrangement purchasingQuotaArrangement) Deprecated.Description copied from interface:PurchasingQuotaArrangementServiceUpdate an existingPurchasingQuotaArrangemententity and save it to the S/4HANA system.- Specified by:
updatePurchasingQuotaArrangementin interfacePurchasingQuotaArrangementService- Parameters:
purchasingQuotaArrangement-PurchasingQuotaArrangemententity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PurchasingQuotaArrangemententity. To perform execution, call theexecutemethod on the fluent helper object.
-
deletePurchasingQuotaArrangement
@Nonnull public PurchasingQuotaArrangementDeleteFluentHelper deletePurchasingQuotaArrangement(@Nonnull PurchasingQuotaArrangement purchasingQuotaArrangement) Deprecated.Description copied from interface:PurchasingQuotaArrangementServiceDeletes an existingPurchasingQuotaArrangemententity in the S/4HANA system.- Specified by:
deletePurchasingQuotaArrangementin interfacePurchasingQuotaArrangementService- Parameters:
purchasingQuotaArrangement-PurchasingQuotaArrangemententity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
PurchasingQuotaArrangemententity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPurgQuotaArrangementItem
Deprecated.Description copied from interface:PurchasingQuotaArrangementServiceFetch multiplePurgQuotaArrangementItementities.- Specified by:
getAllPurgQuotaArrangementItemin interfacePurchasingQuotaArrangementService- Returns:
- A fluent helper to fetch multiple
PurgQuotaArrangementItementities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getPurgQuotaArrangementItemByKey
@Nonnull public PurgQuotaArrangementItemByKeyFluentHelper getPurgQuotaArrangementItemByKey(String quotaArrangement, String quotaArrangementItem) Deprecated.Description copied from interface:PurchasingQuotaArrangementServiceFetch a singlePurgQuotaArrangementItementity using key fields.- Specified by:
getPurgQuotaArrangementItemByKeyin interfacePurchasingQuotaArrangementService- Parameters:
quotaArrangement- Number of quota arrangementConstraints: Not nullable, Maximum length: 10
quotaArrangementItem- Quota arrangement itemConstraints: Not nullable, Maximum length: 3
- Returns:
- A fluent helper to fetch a single
PurgQuotaArrangementItementity 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 theexecutemethod on the fluent helper object.
-
createPurgQuotaArrangementItem
@Nonnull public PurgQuotaArrangementItemCreateFluentHelper createPurgQuotaArrangementItem(@Nonnull PurgQuotaArrangementItem purgQuotaArrangementItem) Deprecated.Description copied from interface:PurchasingQuotaArrangementServiceCreate a newPurgQuotaArrangementItementity and save it to the S/4HANA system.- Specified by:
createPurgQuotaArrangementItemin interfacePurchasingQuotaArrangementService- Parameters:
purgQuotaArrangementItem-PurgQuotaArrangementItementity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PurgQuotaArrangementItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePurgQuotaArrangementItem
@Nonnull public PurgQuotaArrangementItemUpdateFluentHelper updatePurgQuotaArrangementItem(@Nonnull PurgQuotaArrangementItem purgQuotaArrangementItem) Deprecated.Description copied from interface:PurchasingQuotaArrangementServiceUpdate an existingPurgQuotaArrangementItementity and save it to the S/4HANA system.- Specified by:
updatePurgQuotaArrangementItemin interfacePurchasingQuotaArrangementService- Parameters:
purgQuotaArrangementItem-PurgQuotaArrangementItementity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PurgQuotaArrangementItementity. To perform execution, call theexecutemethod on the fluent helper object.
-
deletePurgQuotaArrangementItem
@Nonnull public PurgQuotaArrangementItemDeleteFluentHelper deletePurgQuotaArrangementItem(@Nonnull PurgQuotaArrangementItem purgQuotaArrangementItem) Deprecated.Description copied from interface:PurchasingQuotaArrangementServiceDeletes an existingPurgQuotaArrangementItementity in the S/4HANA system.- Specified by:
deletePurgQuotaArrangementItemin interfacePurchasingQuotaArrangementService- Parameters:
purgQuotaArrangementItem-PurgQuotaArrangementItementity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
PurgQuotaArrangementItementity. To perform execution, call theexecutemethod on the fluent helper object.
-