@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultAlignmentPurchaseRequisitionToPurchaseOrderService") public class DefaultAlignmentPurchaseRequisitionToPurchaseOrderService extends Object implements AlignmentPurchaseRequisitionToPurchaseOrderService
This service enables you to align or nullify alignment of account assigned third-party order (TPO) or individual purchase order (PTO) purchase requisition items with existing purchase order items. The service contains only the item node. Note: You can use the functionality of this service only by activating the business function ISR_RETAILSYSTEM..
Reference: SAP API Business Hub
OData Service: | OP_API_ALIGN_PURREQN_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Purchase Requisition |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultAlignmentPurchaseRequisitionToPurchaseOrderService()
Creates a service using
AlignmentPurchaseRequisitionToPurchaseOrderService.DEFAULT_SERVICE_PATH to send
the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultAlignmentPurchaseRequisitionToPurchaseOrderServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
PurReqnAlgnmtCreateFluentHelper |
createPurReqnAlgnmt(PurReqnAlgnmt purReqnAlgnmt)
Create a new
PurReqnAlgnmt entity and save it to the S/4HANA system. |
PurReqnAlgnmtFluentHelper |
getAllPurReqnAlgnmt()
Fetch multiple
PurReqnAlgnmt entities. |
PurReqnAlgnmtByKeyFluentHelper |
getPurReqnAlgnmtByKey(String purchaseRequisition,
String purchaseRequisitionItem)
Fetch a single
PurReqnAlgnmt entity using key fields. |
DefaultAlignmentPurchaseRequisitionToPurchaseOrderService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultAlignmentPurchaseRequisitionToPurchaseOrderService()
AlignmentPurchaseRequisitionToPurchaseOrderService.DEFAULT_SERVICE_PATH
to send
the requests.@Nonnull public DefaultAlignmentPurchaseRequisitionToPurchaseOrderService withServicePath(@Nonnull String servicePath)
AlignmentPurchaseRequisitionToPurchaseOrderService
withServicePath
in interface AlignmentPurchaseRequisitionToPurchaseOrderService
servicePath
- Service path that will override the default.@Nonnull public DefaultAlignmentPurchaseRequisitionToPurchaseOrderServiceBatch batch()
batch
in interface BatchService<AlignmentPurchaseRequisitionToPurchaseOrderServiceBatch>
@Nonnull public PurReqnAlgnmtFluentHelper getAllPurReqnAlgnmt()
AlignmentPurchaseRequisitionToPurchaseOrderService
PurReqnAlgnmt
entities.getAllPurReqnAlgnmt
in interface AlignmentPurchaseRequisitionToPurchaseOrderService
PurReqnAlgnmt
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 PurReqnAlgnmtByKeyFluentHelper getPurReqnAlgnmtByKey(String purchaseRequisition, String purchaseRequisitionItem)
AlignmentPurchaseRequisitionToPurchaseOrderService
PurReqnAlgnmt
entity using key fields.getPurReqnAlgnmtByKey
in interface AlignmentPurchaseRequisitionToPurchaseOrderService
purchaseRequisition
- Purchase requisition number
Constraints: Not nullable, Maximum length: 10
purchaseRequisitionItem
- Item number of purchase requisition
Constraints: Not nullable, Maximum length: 5
PurReqnAlgnmt
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 PurReqnAlgnmtCreateFluentHelper createPurReqnAlgnmt(@Nonnull PurReqnAlgnmt purReqnAlgnmt)
AlignmentPurchaseRequisitionToPurchaseOrderService
PurReqnAlgnmt
entity and save it to the S/4HANA system.createPurReqnAlgnmt
in interface AlignmentPurchaseRequisitionToPurchaseOrderService
purReqnAlgnmt
- PurReqnAlgnmt
entity object that will be created in the S/4HANA system.PurReqnAlgnmt
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.