@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPurchasingQuotaArrangementService") public class DefaultPurchasingQuotaArrangementService extends Object implements PurchasingQuotaArrangementService
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 API Business Hub
OData Service: | API_PUR_QUOTA_ARRANGEMENT_SRV |
API Version: | 1 |
Communication Scenario: | Purchasing Quota Arrangement Integration (SAP_COM_0166) |
Scope Items: | Scheduling Agreements in Procurement (BMR), Physical Inventory - Inventory Count and Adjustment (OML) |
Authentication Methods: | Basic, x509 |
Business Object: | PurchasingQuotaArrangement |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPurchasingQuotaArrangementService()
Creates a service using
PurchasingQuotaArrangementService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultPurchasingQuotaArrangementService()
PurchasingQuotaArrangementService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPurchasingQuotaArrangementService withServicePath(@Nonnull String servicePath)
PurchasingQuotaArrangementService
withServicePath
in interface PurchasingQuotaArrangementService
servicePath
- Service path that will override the default.@Nonnull public DefaultPurchasingQuotaArrangementServiceBatch batch()
batch
in interface BatchService<PurchasingQuotaArrangementServiceBatch>
@Nonnull public PurchasingQuotaArrangementFluentHelper getAllPurchasingQuotaArrangement()
PurchasingQuotaArrangementService
PurchasingQuotaArrangement
entities.getAllPurchasingQuotaArrangement
in interface PurchasingQuotaArrangementService
PurchasingQuotaArrangement
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 public PurchasingQuotaArrangementByKeyFluentHelper getPurchasingQuotaArrangementByKey(String quotaArrangement)
PurchasingQuotaArrangementService
PurchasingQuotaArrangement
entity using key fields.getPurchasingQuotaArrangementByKey
in interface PurchasingQuotaArrangementService
quotaArrangement
- Uniquely identifies the quota arrangement.
Constraints: Not nullable, Maximum length: 10
PurchasingQuotaArrangement
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 public PurchasingQuotaArrangementCreateFluentHelper createPurchasingQuotaArrangement(@Nonnull PurchasingQuotaArrangement purchasingQuotaArrangement)
PurchasingQuotaArrangementService
PurchasingQuotaArrangement
entity and save it to the S/4HANA system.createPurchasingQuotaArrangement
in interface PurchasingQuotaArrangementService
purchasingQuotaArrangement
- PurchasingQuotaArrangement
entity object that will be created in the S/4HANA system.PurchasingQuotaArrangement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchasingQuotaArrangementUpdateFluentHelper updatePurchasingQuotaArrangement(@Nonnull PurchasingQuotaArrangement purchasingQuotaArrangement)
PurchasingQuotaArrangementService
PurchasingQuotaArrangement
entity and save it to the S/4HANA system.updatePurchasingQuotaArrangement
in interface PurchasingQuotaArrangementService
purchasingQuotaArrangement
- PurchasingQuotaArrangement
entity object that will be updated in the S/4HANA system.PurchasingQuotaArrangement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchasingQuotaArrangementDeleteFluentHelper deletePurchasingQuotaArrangement(@Nonnull PurchasingQuotaArrangement purchasingQuotaArrangement)
PurchasingQuotaArrangementService
PurchasingQuotaArrangement
entity in the S/4HANA system.deletePurchasingQuotaArrangement
in interface PurchasingQuotaArrangementService
purchasingQuotaArrangement
- PurchasingQuotaArrangement
entity object that will be deleted in the S/4HANA system.PurchasingQuotaArrangement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgQuotaArrangementItemFluentHelper getAllPurgQuotaArrangementItem()
PurchasingQuotaArrangementService
PurgQuotaArrangementItem
entities.getAllPurgQuotaArrangementItem
in interface PurchasingQuotaArrangementService
PurgQuotaArrangementItem
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 public PurgQuotaArrangementItemByKeyFluentHelper getPurgQuotaArrangementItemByKey(String quotaArrangement, String quotaArrangementItem)
PurchasingQuotaArrangementService
PurgQuotaArrangementItem
entity using key fields.getPurgQuotaArrangementItemByKey
in interface PurchasingQuotaArrangementService
quotaArrangement
- Uniquely identifies the quota arrangement.
Constraints: Not nullable, Maximum length: 10
quotaArrangementItem
- Uniquely identifies the quota arrangement item within a quota arrangement period.
Constraints: Not nullable, Maximum length: 3
PurgQuotaArrangementItem
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 public PurgQuotaArrangementItemCreateFluentHelper createPurgQuotaArrangementItem(@Nonnull PurgQuotaArrangementItem purgQuotaArrangementItem)
PurchasingQuotaArrangementService
PurgQuotaArrangementItem
entity and save it to the S/4HANA system.createPurgQuotaArrangementItem
in interface PurchasingQuotaArrangementService
purgQuotaArrangementItem
- PurgQuotaArrangementItem
entity object that will be created in the S/4HANA system.PurgQuotaArrangementItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgQuotaArrangementItemUpdateFluentHelper updatePurgQuotaArrangementItem(@Nonnull PurgQuotaArrangementItem purgQuotaArrangementItem)
PurchasingQuotaArrangementService
PurgQuotaArrangementItem
entity and save it to the S/4HANA system.updatePurgQuotaArrangementItem
in interface PurchasingQuotaArrangementService
purgQuotaArrangementItem
- PurgQuotaArrangementItem
entity object that will be updated in the S/4HANA system.PurgQuotaArrangementItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgQuotaArrangementItemDeleteFluentHelper deletePurgQuotaArrangementItem(@Nonnull PurgQuotaArrangementItem purgQuotaArrangementItem)
PurchasingQuotaArrangementService
PurgQuotaArrangementItem
entity in the S/4HANA system.deletePurgQuotaArrangementItem
in interface PurchasingQuotaArrangementService
purgQuotaArrangementItem
- PurgQuotaArrangementItem
entity object that will be deleted in the S/4HANA system.PurgQuotaArrangementItem
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.