Interface PurchasingInfoRecordService
- All Superinterfaces:
BatchService<PurchasingInfoRecordServiceBatch>
- All Known Implementing Classes:
DefaultPurchasingInfoRecordService
This synchronous inbound service enables you to create, update, and delete purchasing info records with conditions. The service contains general data, purchase organization data and conditions. It is based on the OData protocol. The information is sent in the request as a payload.All information is used when creating a purchasing info record, including conditions are checked for authorizations. Once the purchasinginfo record has been created, the purchasing info record number is sent in the response. If there are any issues when the purchasing info recordis created, the system displays error messages in the response. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_INFORECORD_PROCESS_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Purchasing Info Record Integration(SAP_COM_0145) |
| Scope Items: | Physical Inventory - Inventory Count and Adjustment(BML), Consumable Purchasing(BNX), Service and Material Procurement - Project-Based Services(J13), Procurement of Direct Materials(J45), Procurement of Direct Materials(O45), Consumable Purchasing(ONX) |
| Authentication Methods: | x509 |
| Business Object: | Purchasing Info Record |
-
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 TypeMethodDescriptioncreatePurchasingInfoRecord(PurchasingInfoRecord purchasingInfoRecord) Deprecated.Create a newPurchasingInfoRecordentity and save it to the S/4HANA system.createPurgInfoRecdOrgPlantData(PurgInfoRecdOrgPlantData purgInfoRecdOrgPlantData) Deprecated.Create a newPurgInfoRecdOrgPlantDataentity and save it to the S/4HANA system.createPurInfoRecdPrcgCndn(PurInfoRecdPrcgCndn purInfoRecdPrcgCndn) Deprecated.Create a newPurInfoRecdPrcgCndnentity and save it to the S/4HANA system.createPurInfoRecdPrcgCndnScale(PurInfoRecdPrcgCndnScale purInfoRecdPrcgCndnScale) Deprecated.Create a newPurInfoRecdPrcgCndnScaleentity and save it to the S/4HANA system.createPurInfoRecdPrcgCndnValidity(PurInfoRecdPrcgCndnValidity purInfoRecdPrcgCndnValidity) Deprecated.Create a newPurInfoRecdPrcgCndnValidityentity and save it to the S/4HANA system.createPurInfoRecdSuplmntPrcgCndn(PurInfoRecdSuplmntPrcgCndn purInfoRecdSuplmntPrcgCndn) Deprecated.Create a newPurInfoRecdSuplmntPrcgCndnentity and save it to the S/4HANA system.deletePurInfoRecdPrcgCndnScale(PurInfoRecdPrcgCndnScale purInfoRecdPrcgCndnScale) Deprecated.Deletes an existingPurInfoRecdPrcgCndnScaleentity in the S/4HANA system.deletePurInfoRecdSuplmntPrcgCndn(PurInfoRecdSuplmntPrcgCndn purInfoRecdSuplmntPrcgCndn) Deprecated.Deletes an existingPurInfoRecdSuplmntPrcgCndnentity in the S/4HANA system.Deprecated.Fetch multiplePurchasingInfoRecordentities.Deprecated.Fetch multiplePurgInfoRecdOrgPlantDataentities.Deprecated.Fetch multiplePurInfoRecdPrcgCndnentities.Deprecated.Fetch multiplePurInfoRecdPrcgCndnScaleentities.Deprecated.Fetch multiplePurInfoRecdPrcgCndnValidityentities.Deprecated.Fetch multiplePurInfoRecdSuplmntPrcgCndnentities.getPurchasingInfoRecordByKey(String purchasingInfoRecord) Deprecated.Fetch a singlePurchasingInfoRecordentity using key fields.getPurgInfoRecdOrgPlantDataByKey(String purchasingInfoRecord, String purchasingInfoRecordCategory, String purchasingOrganization, String plant) Deprecated.Fetch a singlePurgInfoRecdOrgPlantDataentity using key fields.getPurInfoRecdPrcgCndnByKey(String conditionRecord) Deprecated.Fetch a singlePurInfoRecdPrcgCndnentity using key fields.getPurInfoRecdPrcgCndnScaleByKey(String conditionRecord, String conditionSequentialNumber, String conditionScaleLine) Deprecated.Fetch a singlePurInfoRecdPrcgCndnScaleentity using key fields.getPurInfoRecdPrcgCndnValidityByKey(String conditionRecord, LocalDateTime conditionValidityEndDate) Deprecated.Fetch a singlePurInfoRecdPrcgCndnValidityentity using key fields.getPurInfoRecdSuplmntPrcgCndnByKey(String conditionRecord, String conditionSequentialNumber) Deprecated.Fetch a singlePurInfoRecdSuplmntPrcgCndnentity using key fields.updatePurchasingInfoRecord(PurchasingInfoRecord purchasingInfoRecord) Deprecated.Update an existingPurchasingInfoRecordentity and save it to the S/4HANA system.updatePurgInfoRecdOrgPlantData(PurgInfoRecdOrgPlantData purgInfoRecdOrgPlantData) Deprecated.Update an existingPurgInfoRecdOrgPlantDataentity and save it to the S/4HANA system.updatePurInfoRecdPrcgCndn(PurInfoRecdPrcgCndn purInfoRecdPrcgCndn) Deprecated.Update an existingPurInfoRecdPrcgCndnentity and save it to the S/4HANA system.updatePurInfoRecdPrcgCndnScale(PurInfoRecdPrcgCndnScale purInfoRecdPrcgCndnScale) Deprecated.Update an existingPurInfoRecdPrcgCndnScaleentity and save it to the S/4HANA system.updatePurInfoRecdPrcgCndnValidity(PurInfoRecdPrcgCndnValidity purInfoRecdPrcgCndnValidity) Deprecated.Update an existingPurInfoRecdPrcgCndnValidityentity and save it to the S/4HANA system.updatePurInfoRecdSuplmntPrcgCndn(PurInfoRecdSuplmntPrcgCndn purInfoRecdSuplmntPrcgCndn) Deprecated.Update an existingPurInfoRecdSuplmntPrcgCndnentity 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 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.
-
getAllPurchasingInfoRecord
Deprecated.Fetch multiplePurchasingInfoRecordentities.- Returns:
- A fluent helper to fetch multiple
PurchasingInfoRecordentities. 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.
-
getPurchasingInfoRecordByKey
@Nonnull PurchasingInfoRecordByKeyFluentHelper getPurchasingInfoRecordByKey(String purchasingInfoRecord) Deprecated.Fetch a singlePurchasingInfoRecordentity using key fields.- Parameters:
purchasingInfoRecord- Number of purchasing info recordConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
PurchasingInfoRecordentity 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.
-
createPurchasingInfoRecord
@Nonnull PurchasingInfoRecordCreateFluentHelper createPurchasingInfoRecord(@Nonnull PurchasingInfoRecord purchasingInfoRecord) Deprecated.Create a newPurchasingInfoRecordentity and save it to the S/4HANA system.- Parameters:
purchasingInfoRecord-PurchasingInfoRecordentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PurchasingInfoRecordentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePurchasingInfoRecord
@Nonnull PurchasingInfoRecordUpdateFluentHelper updatePurchasingInfoRecord(@Nonnull PurchasingInfoRecord purchasingInfoRecord) Deprecated.Update an existingPurchasingInfoRecordentity and save it to the S/4HANA system.- Parameters:
purchasingInfoRecord-PurchasingInfoRecordentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PurchasingInfoRecordentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPurgInfoRecdOrgPlantData
Deprecated.Fetch multiplePurgInfoRecdOrgPlantDataentities.- Returns:
- A fluent helper to fetch multiple
PurgInfoRecdOrgPlantDataentities. 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.
-
getPurgInfoRecdOrgPlantDataByKey
@Nonnull PurgInfoRecdOrgPlantDataByKeyFluentHelper getPurgInfoRecdOrgPlantDataByKey(String purchasingInfoRecord, String purchasingInfoRecordCategory, String purchasingOrganization, String plant) Deprecated.Fetch a singlePurgInfoRecdOrgPlantDataentity using key fields.- Parameters:
plant- PlantConstraints: Not nullable, Maximum length: 4
purchasingOrganization- Purchasing OrganizationConstraints: Not nullable, Maximum length: 4
purchasingInfoRecord- Number of purchasing info recordConstraints: Not nullable, Maximum length: 10
purchasingInfoRecordCategory- Purchasing info record categoryConstraints: Not nullable, Maximum length: 1
- Returns:
- A fluent helper to fetch a single
PurgInfoRecdOrgPlantDataentity 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.
-
createPurgInfoRecdOrgPlantData
@Nonnull PurgInfoRecdOrgPlantDataCreateFluentHelper createPurgInfoRecdOrgPlantData(@Nonnull PurgInfoRecdOrgPlantData purgInfoRecdOrgPlantData) Deprecated.Create a newPurgInfoRecdOrgPlantDataentity and save it to the S/4HANA system.- Parameters:
purgInfoRecdOrgPlantData-PurgInfoRecdOrgPlantDataentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PurgInfoRecdOrgPlantDataentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePurgInfoRecdOrgPlantData
@Nonnull PurgInfoRecdOrgPlantDataUpdateFluentHelper updatePurgInfoRecdOrgPlantData(@Nonnull PurgInfoRecdOrgPlantData purgInfoRecdOrgPlantData) Deprecated.Update an existingPurgInfoRecdOrgPlantDataentity and save it to the S/4HANA system.- Parameters:
purgInfoRecdOrgPlantData-PurgInfoRecdOrgPlantDataentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PurgInfoRecdOrgPlantDataentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPurInfoRecdPrcgCndn
Deprecated.Fetch multiplePurInfoRecdPrcgCndnentities.- Returns:
- A fluent helper to fetch multiple
PurInfoRecdPrcgCndnentities. 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.
-
getPurInfoRecdPrcgCndnByKey
Deprecated.Fetch a singlePurInfoRecdPrcgCndnentity using key fields.- Parameters:
conditionRecord- Number of Condition RecordConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
PurInfoRecdPrcgCndnentity 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.
-
createPurInfoRecdPrcgCndn
@Nonnull PurInfoRecdPrcgCndnCreateFluentHelper createPurInfoRecdPrcgCndn(@Nonnull PurInfoRecdPrcgCndn purInfoRecdPrcgCndn) Deprecated.Create a newPurInfoRecdPrcgCndnentity and save it to the S/4HANA system.- Parameters:
purInfoRecdPrcgCndn-PurInfoRecdPrcgCndnentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PurInfoRecdPrcgCndnentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePurInfoRecdPrcgCndn
@Nonnull PurInfoRecdPrcgCndnUpdateFluentHelper updatePurInfoRecdPrcgCndn(@Nonnull PurInfoRecdPrcgCndn purInfoRecdPrcgCndn) Deprecated.Update an existingPurInfoRecdPrcgCndnentity and save it to the S/4HANA system.- Parameters:
purInfoRecdPrcgCndn-PurInfoRecdPrcgCndnentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PurInfoRecdPrcgCndnentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPurInfoRecdPrcgCndnScale
Deprecated.Fetch multiplePurInfoRecdPrcgCndnScaleentities.- Returns:
- A fluent helper to fetch multiple
PurInfoRecdPrcgCndnScaleentities. 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.
-
getPurInfoRecdPrcgCndnScaleByKey
@Nonnull PurInfoRecdPrcgCndnScaleByKeyFluentHelper getPurInfoRecdPrcgCndnScaleByKey(String conditionRecord, String conditionSequentialNumber, String conditionScaleLine) Deprecated.Fetch a singlePurInfoRecdPrcgCndnScaleentity using key fields.- Parameters:
conditionSequentialNumber- Sequential number of the conditionConstraints: Not nullable, Maximum length: 2
conditionRecord- Number of Condition RecordConstraints: Not nullable, Maximum length: 10
conditionScaleLine- Current number of the line scaleConstraints: Not nullable, Maximum length: 4
- Returns:
- A fluent helper to fetch a single
PurInfoRecdPrcgCndnScaleentity 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.
-
createPurInfoRecdPrcgCndnScale
@Nonnull PurInfoRecdPrcgCndnScaleCreateFluentHelper createPurInfoRecdPrcgCndnScale(@Nonnull PurInfoRecdPrcgCndnScale purInfoRecdPrcgCndnScale) Deprecated.Create a newPurInfoRecdPrcgCndnScaleentity and save it to the S/4HANA system.- Parameters:
purInfoRecdPrcgCndnScale-PurInfoRecdPrcgCndnScaleentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PurInfoRecdPrcgCndnScaleentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePurInfoRecdPrcgCndnScale
@Nonnull PurInfoRecdPrcgCndnScaleUpdateFluentHelper updatePurInfoRecdPrcgCndnScale(@Nonnull PurInfoRecdPrcgCndnScale purInfoRecdPrcgCndnScale) Deprecated.Update an existingPurInfoRecdPrcgCndnScaleentity and save it to the S/4HANA system.- Parameters:
purInfoRecdPrcgCndnScale-PurInfoRecdPrcgCndnScaleentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PurInfoRecdPrcgCndnScaleentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deletePurInfoRecdPrcgCndnScale
@Nonnull PurInfoRecdPrcgCndnScaleDeleteFluentHelper deletePurInfoRecdPrcgCndnScale(@Nonnull PurInfoRecdPrcgCndnScale purInfoRecdPrcgCndnScale) Deprecated.Deletes an existingPurInfoRecdPrcgCndnScaleentity in the S/4HANA system.- Parameters:
purInfoRecdPrcgCndnScale-PurInfoRecdPrcgCndnScaleentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
PurInfoRecdPrcgCndnScaleentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPurInfoRecdPrcgCndnValidity
Deprecated.Fetch multiplePurInfoRecdPrcgCndnValidityentities.- Returns:
- A fluent helper to fetch multiple
PurInfoRecdPrcgCndnValidityentities. 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.
-
getPurInfoRecdPrcgCndnValidityByKey
@Nonnull PurInfoRecdPrcgCndnValidityByKeyFluentHelper getPurInfoRecdPrcgCndnValidityByKey(String conditionRecord, LocalDateTime conditionValidityEndDate) Deprecated.Fetch a singlePurInfoRecdPrcgCndnValidityentity using key fields.- Parameters:
conditionValidityEndDate- Validity end date of the condition recordConstraints: Not nullable, Precision: 0
conditionRecord- Number of Condition RecordConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
PurInfoRecdPrcgCndnValidityentity 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.
-
createPurInfoRecdPrcgCndnValidity
@Nonnull PurInfoRecdPrcgCndnValidityCreateFluentHelper createPurInfoRecdPrcgCndnValidity(@Nonnull PurInfoRecdPrcgCndnValidity purInfoRecdPrcgCndnValidity) Deprecated.Create a newPurInfoRecdPrcgCndnValidityentity and save it to the S/4HANA system.- Parameters:
purInfoRecdPrcgCndnValidity-PurInfoRecdPrcgCndnValidityentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PurInfoRecdPrcgCndnValidityentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePurInfoRecdPrcgCndnValidity
@Nonnull PurInfoRecdPrcgCndnValidityUpdateFluentHelper updatePurInfoRecdPrcgCndnValidity(@Nonnull PurInfoRecdPrcgCndnValidity purInfoRecdPrcgCndnValidity) Deprecated.Update an existingPurInfoRecdPrcgCndnValidityentity and save it to the S/4HANA system.- Parameters:
purInfoRecdPrcgCndnValidity-PurInfoRecdPrcgCndnValidityentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PurInfoRecdPrcgCndnValidityentity. To perform execution, call theexecutemethod on the fluent helper object.
-
getAllPurInfoRecdSuplmntPrcgCndn
Deprecated.Fetch multiplePurInfoRecdSuplmntPrcgCndnentities.- Returns:
- A fluent helper to fetch multiple
PurInfoRecdSuplmntPrcgCndnentities. 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.
-
getPurInfoRecdSuplmntPrcgCndnByKey
@Nonnull PurInfoRecdSuplmntPrcgCndnByKeyFluentHelper getPurInfoRecdSuplmntPrcgCndnByKey(String conditionRecord, String conditionSequentialNumber) Deprecated.Fetch a singlePurInfoRecdSuplmntPrcgCndnentity using key fields.- Parameters:
conditionSequentialNumber- Sequential number of the conditionConstraints: Not nullable, Maximum length: 2
conditionRecord- Number of Condition RecordConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
PurInfoRecdSuplmntPrcgCndnentity 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.
-
createPurInfoRecdSuplmntPrcgCndn
@Nonnull PurInfoRecdSuplmntPrcgCndnCreateFluentHelper createPurInfoRecdSuplmntPrcgCndn(@Nonnull PurInfoRecdSuplmntPrcgCndn purInfoRecdSuplmntPrcgCndn) Deprecated.Create a newPurInfoRecdSuplmntPrcgCndnentity and save it to the S/4HANA system.- Parameters:
purInfoRecdSuplmntPrcgCndn-PurInfoRecdSuplmntPrcgCndnentity object that will be created in the S/4HANA system.- Returns:
- A fluent helper to create a new
PurInfoRecdSuplmntPrcgCndnentity. To perform execution, call theexecutemethod on the fluent helper object.
-
updatePurInfoRecdSuplmntPrcgCndn
@Nonnull PurInfoRecdSuplmntPrcgCndnUpdateFluentHelper updatePurInfoRecdSuplmntPrcgCndn(@Nonnull PurInfoRecdSuplmntPrcgCndn purInfoRecdSuplmntPrcgCndn) Deprecated.Update an existingPurInfoRecdSuplmntPrcgCndnentity and save it to the S/4HANA system.- Parameters:
purInfoRecdSuplmntPrcgCndn-PurInfoRecdSuplmntPrcgCndnentity object that will be updated in the S/4HANA system.- Returns:
- A fluent helper to update an existing
PurInfoRecdSuplmntPrcgCndnentity. To perform execution, call theexecutemethod on the fluent helper object.
-
deletePurInfoRecdSuplmntPrcgCndn
@Nonnull PurInfoRecdSuplmntPrcgCndnDeleteFluentHelper deletePurInfoRecdSuplmntPrcgCndn(@Nonnull PurInfoRecdSuplmntPrcgCndn purInfoRecdSuplmntPrcgCndn) Deprecated.Deletes an existingPurInfoRecdSuplmntPrcgCndnentity in the S/4HANA system.- Parameters:
purInfoRecdSuplmntPrcgCndn-PurInfoRecdSuplmntPrcgCndnentity object that will be deleted in the S/4HANA system.- Returns:
- A fluent helper to delete an existing
PurInfoRecdSuplmntPrcgCndnentity. To perform execution, call theexecutemethod on the fluent helper object.
-