@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPurchasingInfoRecordService") public class DefaultPurchasingInfoRecordService extends Object implements PurchasingInfoRecordService
This service enables the user to read header and item details of Purchasing InfoRecord. It is based on OData protocol, and can be consumed in Fiori apps as well as on other user interfaces.
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) |
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 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.Copyright © 2019 SAP SE. All rights reserved.