@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSupplierQuotationService") public class DefaultSupplierQuotationService extends Object implements SupplierQuotationService
This service enables a remote system to read, create (with reference to RFQ) and update supplier quotations from / in the SAP S/4HANA tenant.
Reference: SAP API Business Hub
OData Service: | API_QTN_PROCESS_SRV |
API Version: | 1 |
Communication Scenario: | Distributed Manufacturing Integration (SAP_COM_0077), Purchase Request for Quotation Integration (SAP_COM_0113) |
Scope Items: | 3D Printing On-Demand-Manufacturing Collaboration on HCP (1NX), Ariba - Sourcing Integration (1A0), Ariba - Spot Quote Integration for Procurement (1L2), Request for Price (1XF), Consumable Purchasing (BNX) |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSupplierQuotationService()
Creates a service using
SupplierQuotationService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
CancelFluentHelper |
cancel(String supplierQuotation)
Cancel Supplier QuotationCreates a fluent helper for the Cancel OData function import.
|
CompleteFluentHelper |
complete(String supplierQuotation)
Complete BiddingCreates a fluent helper for the Complete OData function import.
|
CreateFromRFQFluentHelper |
createFromRFQ(LocalDateTime quotationSubmissionDate,
String supplier,
String requestForQuotation)
Create QTN from RFQ (including all itms)Creates a fluent helper for the CreateFromRFQ OData function import.
|
SupplierQuotationDeleteFluentHelper |
deleteSupplierQuotation(SupplierQuotation supplierQuotation)
Deletes an existing
SupplierQuotation entity in the S/4HANA system. |
SupplierQuotationFluentHelper |
getAllSupplierQuotation()
Fetch multiple
SupplierQuotation entities. |
SupplierQuotationItemFluentHelper |
getAllSupplierQuotationItem()
Fetch multiple
SupplierQuotationItem entities. |
SupplierQuotationByKeyFluentHelper |
getSupplierQuotationByKey(String supplierQuotation)
Fetch a single
SupplierQuotation entity using key fields. |
SupplierQuotationItemByKeyFluentHelper |
getSupplierQuotationItemByKey(String supplierQuotation,
String supplierQuotationItem)
Fetch a single
SupplierQuotationItem entity using key fields. |
SubmitFluentHelper |
submit(String supplierQuotation)
Submit Supplier QuotationCreates a fluent helper for the Submit OData function import.
|
SubmitForApprovalFluentHelper |
submitForApproval(String supplierQuotation)
Submit Supplier Quotation for approvalCreates a fluent helper for the SubmitForApproval OData function import.
|
SupplierQuotationUpdateFluentHelper |
updateSupplierQuotation(SupplierQuotation supplierQuotation)
Update an existing
SupplierQuotation entity and save it to the S/4HANA system. |
SupplierQuotationItemUpdateFluentHelper |
updateSupplierQuotationItem(SupplierQuotationItem supplierQuotationItem)
Update an existing
SupplierQuotationItem entity and save it to the S/4HANA system. |
DefaultSupplierQuotationService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultSupplierQuotationService()
SupplierQuotationService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSupplierQuotationService withServicePath(@Nonnull String servicePath)
SupplierQuotationService
withServicePath
in interface SupplierQuotationService
servicePath
- Service path that will override the default.@Nonnull public SupplierQuotationFluentHelper getAllSupplierQuotation()
SupplierQuotationService
SupplierQuotation
entities.getAllSupplierQuotation
in interface SupplierQuotationService
SupplierQuotation
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 SupplierQuotationByKeyFluentHelper getSupplierQuotationByKey(String supplierQuotation)
SupplierQuotationService
SupplierQuotation
entity using key fields.getSupplierQuotationByKey
in interface SupplierQuotationService
supplierQuotation
- Supplier Quotation NumberConstraints: Not nullable, Maximum length: 10
SupplierQuotation
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 SupplierQuotationUpdateFluentHelper updateSupplierQuotation(@Nonnull SupplierQuotation supplierQuotation)
SupplierQuotationService
SupplierQuotation
entity and save it to the S/4HANA system.updateSupplierQuotation
in interface SupplierQuotationService
supplierQuotation
- SupplierQuotation
entity object that will be updated in the S/4HANA system.SupplierQuotation
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull public SupplierQuotationDeleteFluentHelper deleteSupplierQuotation(@Nonnull SupplierQuotation supplierQuotation)
SupplierQuotationService
SupplierQuotation
entity in the S/4HANA system.deleteSupplierQuotation
in interface SupplierQuotationService
supplierQuotation
- SupplierQuotation
entity object that will be deleted in the S/4HANA system.SupplierQuotation
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull public SupplierQuotationItemFluentHelper getAllSupplierQuotationItem()
SupplierQuotationService
SupplierQuotationItem
entities.getAllSupplierQuotationItem
in interface SupplierQuotationService
SupplierQuotationItem
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 SupplierQuotationItemByKeyFluentHelper getSupplierQuotationItemByKey(String supplierQuotation, String supplierQuotationItem)
SupplierQuotationService
SupplierQuotationItem
entity using key fields.getSupplierQuotationItemByKey
in interface SupplierQuotationService
supplierQuotation
- Alphanumeric key uniquely identifying the document.Constraints: Not nullable, Maximum length: 10
supplierQuotationItem
- Item Number of Supplier QuotationConstraints: Not nullable, Maximum length: 5
SupplierQuotationItem
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 SupplierQuotationItemUpdateFluentHelper updateSupplierQuotationItem(@Nonnull SupplierQuotationItem supplierQuotationItem)
SupplierQuotationService
SupplierQuotationItem
entity and save it to the S/4HANA system.updateSupplierQuotationItem
in interface SupplierQuotationService
supplierQuotationItem
- SupplierQuotationItem
entity object that will be updated in the S/4HANA system.SupplierQuotationItem
entity. To perform execution, call the execute
method on the fluent helper object.@Nonnull public SubmitFluentHelper submit(String supplierQuotation)
SupplierQuotationService
Creates a fluent helper for the Submit OData function import.
submit
in interface SupplierQuotationService
supplierQuotation
- Supplier QuotationConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierQuotation
execute
method on the fluent helper object.@Nonnull public CompleteFluentHelper complete(String supplierQuotation)
SupplierQuotationService
Creates a fluent helper for the Complete OData function import.
complete
in interface SupplierQuotationService
supplierQuotation
- Supplier QuotationConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierQuotation
execute
method on the fluent helper object.@Nonnull public CancelFluentHelper cancel(String supplierQuotation)
SupplierQuotationService
Creates a fluent helper for the Cancel OData function import.
cancel
in interface SupplierQuotationService
supplierQuotation
- Supplier QuotationConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierQuotation
execute
method on the fluent helper object.@Nonnull public SubmitForApprovalFluentHelper submitForApproval(String supplierQuotation)
SupplierQuotationService
Creates a fluent helper for the SubmitForApproval OData function import.
submitForApproval
in interface SupplierQuotationService
supplierQuotation
- Supplier QuotationConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierQuotation
execute
method on the fluent helper object.@Nonnull public CreateFromRFQFluentHelper createFromRFQ(LocalDateTime quotationSubmissionDate, String supplier, String requestForQuotation)
SupplierQuotationService
Creates a fluent helper for the CreateFromRFQ OData function import.
createFromRFQ
in interface SupplierQuotationService
quotationSubmissionDate
- Quotation Submission DateConstraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: QuotationSubmissionDate
supplier
- SupplierConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: Supplier
requestForQuotation
- Request for QuotationConstraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: RequestForQuotation
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.