@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultPurchaseOrderService") public class DefaultPurchaseOrderService extends Object implements PurchaseOrderService
The service is based on the OData protocol and can be consumed in SAP Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_PURCHASEORDER_PROCESS_SRV |
API Version: | 1 |
Communication Scenario: | Distributed Manufacturing Integration (SAP_COM_0077), Purchase Order Integration (SAP_COM_0053) |
Scope Items: | Collaborative Manufacturing with SAP Digital Manufacturing Cloud (1NX), 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: | Basic, x509, OAuth2 |
Business Object: | PurchaseOrder |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultPurchaseOrderService()
Creates a service using
PurchaseOrderService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultPurchaseOrderService()
PurchaseOrderService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultPurchaseOrderService withServicePath(@Nonnull String servicePath)
PurchaseOrderService
withServicePath
in interface PurchaseOrderService
servicePath
- Service path that will override the default.@Nonnull public DefaultPurchaseOrderServiceBatch batch()
batch
in interface BatchService<PurchaseOrderServiceBatch>
@Nonnull public POSubcontractingComponentFluentHelper getAllPOSubcontractingComponent()
PurchaseOrderService
POSubcontractingComponent
entities.getAllPOSubcontractingComponent
in interface PurchaseOrderService
POSubcontractingComponent
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 POSubcontractingComponentByKeyFluentHelper getPOSubcontractingComponentByKey(String purchaseOrder, String purchaseOrderItem, String scheduleLine, String reservationItem, String recordType)
PurchaseOrderService
POSubcontractingComponent
entity using key fields.getPOSubcontractingComponentByKey
in interface PurchaseOrderService
purchaseOrder
- Purchasing Document
Constraints: Not nullable, Maximum length: 10
purchaseOrderItem
- Purchasing Document Item
Constraints: Not nullable, Maximum length: 5
scheduleLine
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 4
reservationItem
- Reservation Item
Constraints: Not nullable, Maximum length: 4
recordType
- Reservation Record Type
Constraints: Not nullable, Maximum length: 1
POSubcontractingComponent
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 POSubcontractingComponentCreateFluentHelper createPOSubcontractingComponent(@Nonnull POSubcontractingComponent pOSubcontractingComponent)
PurchaseOrderService
POSubcontractingComponent
entity and save it to the S/4HANA system.createPOSubcontractingComponent
in interface PurchaseOrderService
pOSubcontractingComponent
- POSubcontractingComponent
entity object that will be created in the S/4HANA system.POSubcontractingComponent
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public POSubcontractingComponentUpdateFluentHelper updatePOSubcontractingComponent(@Nonnull POSubcontractingComponent pOSubcontractingComponent)
PurchaseOrderService
POSubcontractingComponent
entity and save it to the S/4HANA system.updatePOSubcontractingComponent
in interface PurchaseOrderService
pOSubcontractingComponent
- POSubcontractingComponent
entity object that will be updated in the S/4HANA system.POSubcontractingComponent
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public POSubcontractingComponentDeleteFluentHelper deletePOSubcontractingComponent(@Nonnull POSubcontractingComponent pOSubcontractingComponent)
PurchaseOrderService
POSubcontractingComponent
entity in the S/4HANA system.deletePOSubcontractingComponent
in interface PurchaseOrderService
pOSubcontractingComponent
- POSubcontractingComponent
entity object that will be deleted in the S/4HANA system.POSubcontractingComponent
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderFluentHelper getAllPurchaseOrder()
PurchaseOrderService
PurchaseOrder
entities.getAllPurchaseOrder
in interface PurchaseOrderService
PurchaseOrder
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 PurchaseOrderByKeyFluentHelper getPurchaseOrderByKey(String purchaseOrder)
PurchaseOrderService
PurchaseOrder
entity using key fields.getPurchaseOrderByKey
in interface PurchaseOrderService
purchaseOrder
- Purchase Order Number
Constraints: Not nullable, Maximum length: 10
PurchaseOrder
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 PurchaseOrderCreateFluentHelper createPurchaseOrder(@Nonnull PurchaseOrder purchaseOrder)
PurchaseOrderService
PurchaseOrder
entity and save it to the S/4HANA system.createPurchaseOrder
in interface PurchaseOrderService
purchaseOrder
- PurchaseOrder
entity object that will be created in the S/4HANA system.PurchaseOrder
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderUpdateFluentHelper updatePurchaseOrder(@Nonnull PurchaseOrder purchaseOrder)
PurchaseOrderService
PurchaseOrder
entity and save it to the S/4HANA system.updatePurchaseOrder
in interface PurchaseOrderService
purchaseOrder
- PurchaseOrder
entity object that will be updated in the S/4HANA system.PurchaseOrder
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderDeleteFluentHelper deletePurchaseOrder(@Nonnull PurchaseOrder purchaseOrder)
PurchaseOrderService
PurchaseOrder
entity in the S/4HANA system.deletePurchaseOrder
in interface PurchaseOrderService
purchaseOrder
- PurchaseOrder
entity object that will be deleted in the S/4HANA system.PurchaseOrder
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderItemFluentHelper getAllPurchaseOrderItem()
PurchaseOrderService
PurchaseOrderItem
entities.getAllPurchaseOrderItem
in interface PurchaseOrderService
PurchaseOrderItem
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 PurchaseOrderItemByKeyFluentHelper getPurchaseOrderItemByKey(String purchaseOrder, String purchaseOrderItem)
PurchaseOrderService
PurchaseOrderItem
entity using key fields.getPurchaseOrderItemByKey
in interface PurchaseOrderService
purchaseOrder
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
purchaseOrderItem
- Item Number of Purchase Order
Constraints: Not nullable, Maximum length: 5
PurchaseOrderItem
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 PurchaseOrderItemCreateFluentHelper createPurchaseOrderItem(@Nonnull PurchaseOrderItem purchaseOrderItem)
PurchaseOrderService
PurchaseOrderItem
entity and save it to the S/4HANA system.createPurchaseOrderItem
in interface PurchaseOrderService
purchaseOrderItem
- PurchaseOrderItem
entity object that will be created in the S/4HANA system.PurchaseOrderItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderItemUpdateFluentHelper updatePurchaseOrderItem(@Nonnull PurchaseOrderItem purchaseOrderItem)
PurchaseOrderService
PurchaseOrderItem
entity and save it to the S/4HANA system.updatePurchaseOrderItem
in interface PurchaseOrderService
purchaseOrderItem
- PurchaseOrderItem
entity object that will be updated in the S/4HANA system.PurchaseOrderItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderItemDeleteFluentHelper deletePurchaseOrderItem(@Nonnull PurchaseOrderItem purchaseOrderItem)
PurchaseOrderService
PurchaseOrderItem
entity in the S/4HANA system.deletePurchaseOrderItem
in interface PurchaseOrderService
purchaseOrderItem
- PurchaseOrderItem
entity object that will be deleted in the S/4HANA system.PurchaseOrderItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderItemNoteFluentHelper getAllPurchaseOrderItemNote()
PurchaseOrderService
PurchaseOrderItemNote
entities.getAllPurchaseOrderItemNote
in interface PurchaseOrderService
PurchaseOrderItemNote
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 PurchaseOrderItemNoteByKeyFluentHelper getPurchaseOrderItemNoteByKey(String purchaseOrder, String purchaseOrderItem, String textObjectType, String language)
PurchaseOrderService
PurchaseOrderItemNote
entity using key fields.getPurchaseOrderItemNoteByKey
in interface PurchaseOrderService
purchaseOrder
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
purchaseOrderItem
- Specifies the number that uniquely identifies an item in .
Constraints: Not nullable, Maximum length: 5
textObjectType
- The text ID defines the various types of texts related to a text object. For example, the object
"TEXT" (standard texts) can have the following text IDs:
Constraints: Not nullable, Maximum length: 4
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
PurchaseOrderItemNote
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 PurchaseOrderItemNoteCreateFluentHelper createPurchaseOrderItemNote(@Nonnull PurchaseOrderItemNote purchaseOrderItemNote)
PurchaseOrderService
PurchaseOrderItemNote
entity and save it to the S/4HANA system.createPurchaseOrderItemNote
in interface PurchaseOrderService
purchaseOrderItemNote
- PurchaseOrderItemNote
entity object that will be created in the S/4HANA system.PurchaseOrderItemNote
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderItemNoteUpdateFluentHelper updatePurchaseOrderItemNote(@Nonnull PurchaseOrderItemNote purchaseOrderItemNote)
PurchaseOrderService
PurchaseOrderItemNote
entity and save it to the S/4HANA system.updatePurchaseOrderItemNote
in interface PurchaseOrderService
purchaseOrderItemNote
- PurchaseOrderItemNote
entity object that will be updated in the S/4HANA system.PurchaseOrderItemNote
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderItemNoteDeleteFluentHelper deletePurchaseOrderItemNote(@Nonnull PurchaseOrderItemNote purchaseOrderItemNote)
PurchaseOrderService
PurchaseOrderItemNote
entity in the S/4HANA system.deletePurchaseOrderItemNote
in interface PurchaseOrderService
purchaseOrderItemNote
- PurchaseOrderItemNote
entity object that will be deleted in the S/4HANA system.PurchaseOrderItemNote
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderNoteFluentHelper getAllPurchaseOrderNote()
PurchaseOrderService
PurchaseOrderNote
entities.getAllPurchaseOrderNote
in interface PurchaseOrderService
PurchaseOrderNote
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 PurchaseOrderNoteByKeyFluentHelper getPurchaseOrderNoteByKey(String purchaseOrder, String textObjectType, String language)
PurchaseOrderService
PurchaseOrderNote
entity using key fields.getPurchaseOrderNoteByKey
in interface PurchaseOrderService
purchaseOrder
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
textObjectType
- The text ID defines the various types of texts related to a text object. For example, the object
"TEXT" (standard texts) can have the following text IDs:
Constraints: Not nullable, Maximum length: 4
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
PurchaseOrderNote
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 PurchaseOrderNoteCreateFluentHelper createPurchaseOrderNote(@Nonnull PurchaseOrderNote purchaseOrderNote)
PurchaseOrderService
PurchaseOrderNote
entity and save it to the S/4HANA system.createPurchaseOrderNote
in interface PurchaseOrderService
purchaseOrderNote
- PurchaseOrderNote
entity object that will be created in the S/4HANA system.PurchaseOrderNote
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderNoteUpdateFluentHelper updatePurchaseOrderNote(@Nonnull PurchaseOrderNote purchaseOrderNote)
PurchaseOrderService
PurchaseOrderNote
entity and save it to the S/4HANA system.updatePurchaseOrderNote
in interface PurchaseOrderService
purchaseOrderNote
- PurchaseOrderNote
entity object that will be updated in the S/4HANA system.PurchaseOrderNote
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderNoteDeleteFluentHelper deletePurchaseOrderNote(@Nonnull PurchaseOrderNote purchaseOrderNote)
PurchaseOrderService
PurchaseOrderNote
entity in the S/4HANA system.deletePurchaseOrderNote
in interface PurchaseOrderService
purchaseOrderNote
- PurchaseOrderNote
entity object that will be deleted in the S/4HANA system.PurchaseOrderNote
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderScheduleLineFluentHelper getAllPurchaseOrderScheduleLine()
PurchaseOrderService
PurchaseOrderScheduleLine
entities.getAllPurchaseOrderScheduleLine
in interface PurchaseOrderService
PurchaseOrderScheduleLine
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 PurchaseOrderScheduleLineByKeyFluentHelper getPurchaseOrderScheduleLineByKey(String purchasingDocument, String purchasingDocumentItem, String scheduleLine)
PurchaseOrderService
PurchaseOrderScheduleLine
entity using key fields.getPurchaseOrderScheduleLineByKey
in interface PurchaseOrderService
purchasingDocument
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
purchasingDocumentItem
- Specifies the number that uniquely identifies an item in .
Constraints: Not nullable, Maximum length: 5
scheduleLine
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 4
PurchaseOrderScheduleLine
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 PurchaseOrderScheduleLineCreateFluentHelper createPurchaseOrderScheduleLine(@Nonnull PurchaseOrderScheduleLine purchaseOrderScheduleLine)
PurchaseOrderService
PurchaseOrderScheduleLine
entity and save it to the S/4HANA system.createPurchaseOrderScheduleLine
in interface PurchaseOrderService
purchaseOrderScheduleLine
- PurchaseOrderScheduleLine
entity object that will be created in the S/4HANA system.PurchaseOrderScheduleLine
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderScheduleLineUpdateFluentHelper updatePurchaseOrderScheduleLine(@Nonnull PurchaseOrderScheduleLine purchaseOrderScheduleLine)
PurchaseOrderService
PurchaseOrderScheduleLine
entity and save it to the S/4HANA system.updatePurchaseOrderScheduleLine
in interface PurchaseOrderService
purchaseOrderScheduleLine
- PurchaseOrderScheduleLine
entity object that will be updated in the S/4HANA system.PurchaseOrderScheduleLine
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurchaseOrderScheduleLineDeleteFluentHelper deletePurchaseOrderScheduleLine(@Nonnull PurchaseOrderScheduleLine purchaseOrderScheduleLine)
PurchaseOrderService
PurchaseOrderScheduleLine
entity in the S/4HANA system.deletePurchaseOrderScheduleLine
in interface PurchaseOrderService
purchaseOrderScheduleLine
- PurchaseOrderScheduleLine
entity object that will be deleted in the S/4HANA system.PurchaseOrderScheduleLine
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurOrdAccountAssignmentFluentHelper getAllPurOrdAccountAssignment()
PurchaseOrderService
PurOrdAccountAssignment
entities.getAllPurOrdAccountAssignment
in interface PurchaseOrderService
PurOrdAccountAssignment
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 PurOrdAccountAssignmentByKeyFluentHelper getPurOrdAccountAssignmentByKey(String purchaseOrder, String purchaseOrderItem, String accountAssignmentNumber)
PurchaseOrderService
PurOrdAccountAssignment
entity using key fields.getPurOrdAccountAssignmentByKey
in interface PurchaseOrderService
purchaseOrder
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
purchaseOrderItem
- Specifies the number that uniquely identifies an item in .
Constraints: Not nullable, Maximum length: 5
accountAssignmentNumber
- Number uniquely defining the account assignment of a purchase document item.
Constraints: Not nullable, Maximum length: 2
PurOrdAccountAssignment
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 PurOrdAccountAssignmentCreateFluentHelper createPurOrdAccountAssignment(@Nonnull PurOrdAccountAssignment purOrdAccountAssignment)
PurchaseOrderService
PurOrdAccountAssignment
entity and save it to the S/4HANA system.createPurOrdAccountAssignment
in interface PurchaseOrderService
purOrdAccountAssignment
- PurOrdAccountAssignment
entity object that will be created in the S/4HANA system.PurOrdAccountAssignment
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurOrdAccountAssignmentUpdateFluentHelper updatePurOrdAccountAssignment(@Nonnull PurOrdAccountAssignment purOrdAccountAssignment)
PurchaseOrderService
PurOrdAccountAssignment
entity and save it to the S/4HANA system.updatePurOrdAccountAssignment
in interface PurchaseOrderService
purOrdAccountAssignment
- PurOrdAccountAssignment
entity object that will be updated in the S/4HANA system.PurOrdAccountAssignment
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurOrdAccountAssignmentDeleteFluentHelper deletePurOrdAccountAssignment(@Nonnull PurOrdAccountAssignment purOrdAccountAssignment)
PurchaseOrderService
PurOrdAccountAssignment
entity in the S/4HANA system.deletePurOrdAccountAssignment
in interface PurchaseOrderService
purOrdAccountAssignment
- PurOrdAccountAssignment
entity object that will be deleted in the S/4HANA system.PurOrdAccountAssignment
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurOrdPricingElementFluentHelper getAllPurOrdPricingElement()
PurchaseOrderService
PurOrdPricingElement
entities.getAllPurOrdPricingElement
in interface PurchaseOrderService
PurOrdPricingElement
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 PurOrdPricingElementByKeyFluentHelper getPurOrdPricingElementByKey(String purchaseOrder, String purchaseOrderItem, String pricingDocument, String pricingDocumentItem, String pricingProcedureStep, String pricingProcedureCounter)
PurchaseOrderService
PurOrdPricingElement
entity using key fields.getPurOrdPricingElementByKey
in interface PurchaseOrderService
purchaseOrder
- Alphanumeric key uniquely identifying the document.
Constraints: Not nullable, Maximum length: 10
purchaseOrderItem
- Specifies the number that uniquely identifies an item in .
Constraints: Not nullable, Maximum length: 5
pricingDocument
- The internal number under which the system saves conditions that apply to a sales order, for example.
Constraints: Not nullable, Maximum length: 10
pricingDocumentItem
- The number that uniquely identifies the condition item.
Constraints: Not nullable, Maximum length: 6
pricingProcedureStep
- Number that determines the sequence of the condition within a procedure.
Constraints: Not nullable, Maximum length: 3
pricingProcedureCounter
- Access number of the conditions within a step in the pricing procedure.
Constraints: Not nullable, Maximum length: 3
PurOrdPricingElement
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 PurOrdPricingElementCreateFluentHelper createPurOrdPricingElement(@Nonnull PurOrdPricingElement purOrdPricingElement)
PurchaseOrderService
PurOrdPricingElement
entity and save it to the S/4HANA system.createPurOrdPricingElement
in interface PurchaseOrderService
purOrdPricingElement
- PurOrdPricingElement
entity object that will be created in the S/4HANA system.PurOrdPricingElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurOrdPricingElementUpdateFluentHelper updatePurOrdPricingElement(@Nonnull PurOrdPricingElement purOrdPricingElement)
PurchaseOrderService
PurOrdPricingElement
entity and save it to the S/4HANA system.updatePurOrdPricingElement
in interface PurchaseOrderService
purOrdPricingElement
- PurOrdPricingElement
entity object that will be updated in the S/4HANA system.PurOrdPricingElement
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public PurOrdPricingElementDeleteFluentHelper deletePurOrdPricingElement(@Nonnull PurOrdPricingElement purOrdPricingElement)
PurchaseOrderService
PurOrdPricingElement
entity in the S/4HANA system.deletePurOrdPricingElement
in interface PurchaseOrderService
purOrdPricingElement
- PurOrdPricingElement
entity object that will be deleted in the S/4HANA system.PurOrdPricingElement
entity. To perform execution, call the
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.