@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPurchasingInfoRecordService") public class DefaultPurchasingInfoRecordService extends Object implements PurchasingInfoRecordService
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 API Business Hub
OData Service: | API_INFORECORD_PROCESS_SRV |
API Version: | 1 |
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) |
Authentication Methods: | Basic, x509 |
Business Object: | PurchasingInfoRecord |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPurchasingInfoRecordService()
Creates a service using
PurchasingInfoRecordService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultPurchasingInfoRecordService()
PurchasingInfoRecordService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPurchasingInfoRecordService withServicePath(@Nonnull String servicePath)
PurchasingInfoRecordService
withServicePath
in interface PurchasingInfoRecordService
servicePath
- Service path that will override the default.@Nonnull public DefaultPurchasingInfoRecordServiceBatch batch()
batch
in interface BatchService<PurchasingInfoRecordServiceBatch>
@Nonnull public PurchasingInfoRecordFluentHelper getAllPurchasingInfoRecord()
PurchasingInfoRecordService
PurchasingInfoRecord
entities.getAllPurchasingInfoRecord
in interface PurchasingInfoRecordService
PurchasingInfoRecord
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 PurchasingInfoRecordByKeyFluentHelper getPurchasingInfoRecordByKey(String purchasingInfoRecord)
PurchasingInfoRecordService
PurchasingInfoRecord
entity using key fields.getPurchasingInfoRecordByKey
in interface PurchasingInfoRecordService
purchasingInfoRecord
- Specifies the number that uniquely identifies a purchasing info record.
Constraints: Not nullable, Maximum length: 10
PurchasingInfoRecord
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 PurchasingInfoRecordCreateFluentHelper createPurchasingInfoRecord(@Nonnull PurchasingInfoRecord purchasingInfoRecord)
PurchasingInfoRecordService
PurchasingInfoRecord
entity and save it to the S/4HANA system.createPurchasingInfoRecord
in interface PurchasingInfoRecordService
purchasingInfoRecord
- PurchasingInfoRecord
entity object that will be created in the S/4HANA system.PurchasingInfoRecord
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchasingInfoRecordUpdateFluentHelper updatePurchasingInfoRecord(@Nonnull PurchasingInfoRecord purchasingInfoRecord)
PurchasingInfoRecordService
PurchasingInfoRecord
entity and save it to the S/4HANA system.updatePurchasingInfoRecord
in interface PurchasingInfoRecordService
purchasingInfoRecord
- PurchasingInfoRecord
entity object that will be updated in the S/4HANA system.PurchasingInfoRecord
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgInfoRecdOrgPlantDataFluentHelper getAllPurgInfoRecdOrgPlantData()
PurchasingInfoRecordService
PurgInfoRecdOrgPlantData
entities.getAllPurgInfoRecdOrgPlantData
in interface PurchasingInfoRecordService
PurgInfoRecdOrgPlantData
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 PurgInfoRecdOrgPlantDataByKeyFluentHelper getPurgInfoRecdOrgPlantDataByKey(String purchasingInfoRecord, String purchasingInfoRecordCategory, String purchasingOrganization, String plant)
PurchasingInfoRecordService
PurgInfoRecdOrgPlantData
entity using key fields.getPurgInfoRecdOrgPlantDataByKey
in interface PurchasingInfoRecordService
purchasingInfoRecord
- Specifies the number that uniquely identifies a purchasing info record.
Constraints: Not nullable, Maximum length: 10
purchasingInfoRecordCategory
- The info record category enables you to create different info records for different document types.
Constraints: Not nullable, Maximum length: 1
purchasingOrganization
- Denotes the purchasing organization.
Constraints: Not nullable, Maximum length: 4
plant
- Specifies the key for a production facility or branch office within the company (that is, the company
code).
Constraints: Not nullable, Maximum length: 4
PurgInfoRecdOrgPlantData
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 PurgInfoRecdOrgPlantDataCreateFluentHelper createPurgInfoRecdOrgPlantData(@Nonnull PurgInfoRecdOrgPlantData purgInfoRecdOrgPlantData)
PurchasingInfoRecordService
PurgInfoRecdOrgPlantData
entity and save it to the S/4HANA system.createPurgInfoRecdOrgPlantData
in interface PurchasingInfoRecordService
purgInfoRecdOrgPlantData
- PurgInfoRecdOrgPlantData
entity object that will be created in the S/4HANA system.PurgInfoRecdOrgPlantData
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurgInfoRecdOrgPlantDataUpdateFluentHelper updatePurgInfoRecdOrgPlantData(@Nonnull PurgInfoRecdOrgPlantData purgInfoRecdOrgPlantData)
PurchasingInfoRecordService
PurgInfoRecdOrgPlantData
entity and save it to the S/4HANA system.updatePurgInfoRecdOrgPlantData
in interface PurchasingInfoRecordService
purgInfoRecdOrgPlantData
- PurgInfoRecdOrgPlantData
entity object that will be updated in the S/4HANA system.PurgInfoRecdOrgPlantData
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurInfoRecdPrcgCndnFluentHelper getAllPurInfoRecdPrcgCndn()
PurchasingInfoRecordService
PurInfoRecdPrcgCndn
entities.getAllPurInfoRecdPrcgCndn
in interface PurchasingInfoRecordService
PurInfoRecdPrcgCndn
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 PurInfoRecdPrcgCndnByKeyFluentHelper getPurInfoRecdPrcgCndnByKey(String conditionRecord)
PurchasingInfoRecordService
PurInfoRecdPrcgCndn
entity using key fields.getPurInfoRecdPrcgCndnByKey
in interface PurchasingInfoRecordService
conditionRecord
- Number that uniquely identifies a condition record.
Constraints: Not nullable, Maximum length: 10
PurInfoRecdPrcgCndn
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 PurInfoRecdPrcgCndnCreateFluentHelper createPurInfoRecdPrcgCndn(@Nonnull PurInfoRecdPrcgCndn purInfoRecdPrcgCndn)
PurchasingInfoRecordService
PurInfoRecdPrcgCndn
entity and save it to the S/4HANA system.createPurInfoRecdPrcgCndn
in interface PurchasingInfoRecordService
purInfoRecdPrcgCndn
- PurInfoRecdPrcgCndn
entity object that will be created in the S/4HANA system.PurInfoRecdPrcgCndn
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurInfoRecdPrcgCndnUpdateFluentHelper updatePurInfoRecdPrcgCndn(@Nonnull PurInfoRecdPrcgCndn purInfoRecdPrcgCndn)
PurchasingInfoRecordService
PurInfoRecdPrcgCndn
entity and save it to the S/4HANA system.updatePurInfoRecdPrcgCndn
in interface PurchasingInfoRecordService
purInfoRecdPrcgCndn
- PurInfoRecdPrcgCndn
entity object that will be updated in the S/4HANA system.PurInfoRecdPrcgCndn
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurInfoRecdPrcgCndnValidityFluentHelper getAllPurInfoRecdPrcgCndnValidity()
PurchasingInfoRecordService
PurInfoRecdPrcgCndnValidity
entities.getAllPurInfoRecdPrcgCndnValidity
in interface PurchasingInfoRecordService
PurInfoRecdPrcgCndnValidity
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 PurInfoRecdPrcgCndnValidityByKeyFluentHelper getPurInfoRecdPrcgCndnValidityByKey(String conditionRecord, LocalDateTime conditionValidityEndDate)
PurchasingInfoRecordService
PurInfoRecdPrcgCndnValidity
entity using key fields.getPurInfoRecdPrcgCndnValidityByKey
in interface PurchasingInfoRecordService
conditionRecord
- Number that uniquely identifies a condition record.
Constraints: Not nullable, Maximum length: 10
conditionValidityEndDate
- The date up to which the condition is valid.
Constraints: Not nullable, Precision: 0
PurInfoRecdPrcgCndnValidity
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 PurInfoRecdPrcgCndnValidityCreateFluentHelper createPurInfoRecdPrcgCndnValidity(@Nonnull PurInfoRecdPrcgCndnValidity purInfoRecdPrcgCndnValidity)
PurchasingInfoRecordService
PurInfoRecdPrcgCndnValidity
entity and save it to the S/4HANA system.createPurInfoRecdPrcgCndnValidity
in interface PurchasingInfoRecordService
purInfoRecdPrcgCndnValidity
- PurInfoRecdPrcgCndnValidity
entity object that will be created in the S/4HANA system.PurInfoRecdPrcgCndnValidity
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurInfoRecdPrcgCndnValidityUpdateFluentHelper updatePurInfoRecdPrcgCndnValidity(@Nonnull PurInfoRecdPrcgCndnValidity purInfoRecdPrcgCndnValidity)
PurchasingInfoRecordService
PurInfoRecdPrcgCndnValidity
entity and save it to the S/4HANA system.updatePurInfoRecdPrcgCndnValidity
in interface PurchasingInfoRecordService
purInfoRecdPrcgCndnValidity
- PurInfoRecdPrcgCndnValidity
entity object that will be updated in the S/4HANA system.PurInfoRecdPrcgCndnValidity
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurInfoRecdSuplmntPrcgCndnFluentHelper getAllPurInfoRecdSuplmntPrcgCndn()
PurchasingInfoRecordService
PurInfoRecdSuplmntPrcgCndn
entities.getAllPurInfoRecdSuplmntPrcgCndn
in interface PurchasingInfoRecordService
PurInfoRecdSuplmntPrcgCndn
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 PurInfoRecdSuplmntPrcgCndnByKeyFluentHelper getPurInfoRecdSuplmntPrcgCndnByKey(String conditionRecord, String conditionSequentialNumber)
PurchasingInfoRecordService
PurInfoRecdSuplmntPrcgCndn
entity using key fields.getPurInfoRecdSuplmntPrcgCndnByKey
in interface PurchasingInfoRecordService
conditionRecord
- Number that uniquely identifies a condition record.
Constraints: Not nullable, Maximum length: 10
conditionSequentialNumber
- The sequential number that uniquely identifies the condition if a condition supplement exists.
Constraints: Not nullable, Maximum length: 2
PurInfoRecdSuplmntPrcgCndn
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 PurInfoRecdSuplmntPrcgCndnCreateFluentHelper createPurInfoRecdSuplmntPrcgCndn(@Nonnull PurInfoRecdSuplmntPrcgCndn purInfoRecdSuplmntPrcgCndn)
PurchasingInfoRecordService
PurInfoRecdSuplmntPrcgCndn
entity and save it to the S/4HANA system.createPurInfoRecdSuplmntPrcgCndn
in interface PurchasingInfoRecordService
purInfoRecdSuplmntPrcgCndn
- PurInfoRecdSuplmntPrcgCndn
entity object that will be created in the S/4HANA system.PurInfoRecdSuplmntPrcgCndn
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurInfoRecdSuplmntPrcgCndnUpdateFluentHelper updatePurInfoRecdSuplmntPrcgCndn(@Nonnull PurInfoRecdSuplmntPrcgCndn purInfoRecdSuplmntPrcgCndn)
PurchasingInfoRecordService
PurInfoRecdSuplmntPrcgCndn
entity and save it to the S/4HANA system.updatePurInfoRecdSuplmntPrcgCndn
in interface PurchasingInfoRecordService
purInfoRecdSuplmntPrcgCndn
- PurInfoRecdSuplmntPrcgCndn
entity object that will be updated in the S/4HANA system.PurInfoRecdSuplmntPrcgCndn
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurInfoRecdSuplmntPrcgCndnDeleteFluentHelper deletePurInfoRecdSuplmntPrcgCndn(@Nonnull PurInfoRecdSuplmntPrcgCndn purInfoRecdSuplmntPrcgCndn)
PurchasingInfoRecordService
PurInfoRecdSuplmntPrcgCndn
entity in the S/4HANA system.deletePurInfoRecdSuplmntPrcgCndn
in interface PurchasingInfoRecordService
purInfoRecdSuplmntPrcgCndn
- PurInfoRecdSuplmntPrcgCndn
entity object that will be deleted in the S/4HANA system.PurInfoRecdSuplmntPrcgCndn
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.