@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSupplierQuotationService") public class DefaultSupplierQuotationService extends Object implements SupplierQuotationService
This service enables you to read, update and create supplier quotations with reference to an RFQ from or in the SAP S/4HANA Cloud system. The service contains header, item, and bidder nodes. The information is sent in the request as a payload. Once the supplier quotation has been successfully created, the supplier quotation number is sent in the response with the data included in the supplier quotation. If any issues arise when the supplier quotation is created, the system displays error messages in the response. .
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: | Collaborative Manufacturing with SAP Digital Manufacturing Cloud (1NX), Sourcing with SAP Ariba Sourcing (1A0), Supplier Quote Automation with SAP Ariba Commerce Automation (1L2), Request for Price (1XF), Consumable Purchasing (BNX) |
Authentication Methods: | Basic, x509 |
Business Object: | SupplierQuotation |
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 |
---|---|
DefaultSupplierQuotationServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
CancelFluentHelper |
cancel(String supplierQuotation)
Creates a fluent helper for the Cancel OData function import.
|
CompleteFluentHelper |
complete(String supplierQuotation)
Creates a fluent helper for the Complete OData function import.
|
CreateFromRFQFluentHelper |
createFromRFQ(LocalDateTime quotationSubmissionDate,
String supplier,
String requestForQuotation)
Creates a fluent helper for the CreateFromRFQ OData function import.
|
SupplierQuotationCreateFluentHelper |
createSupplierQuotation(SupplierQuotation supplierQuotation)
Create a new
SupplierQuotation entity and save it to the S/4HANA system. |
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)
Creates a fluent helper for the Submit OData function import.
|
SubmitForApprovalFluentHelper |
submitForApproval(String supplierQuotation)
Creates 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 DefaultSupplierQuotationServiceBatch batch()
batch
in interface BatchService<SupplierQuotationServiceBatch>
@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 Number
Constraints: 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 SupplierQuotationCreateFluentHelper createSupplierQuotation(@Nonnull SupplierQuotation supplierQuotation)
SupplierQuotationService
SupplierQuotation
entity and save it to the S/4HANA system.createSupplierQuotation
in interface SupplierQuotationService
supplierQuotation
- SupplierQuotation
entity object that will be created in the S/4HANA system.SupplierQuotation
entity. 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 Quotation
Constraints: 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(@Nonnull String supplierQuotation)
SupplierQuotationService
Creates a fluent helper for the Submit OData function import.
submit
in interface SupplierQuotationService
supplierQuotation
- Supplier Quotation
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierQuotation
execute
method on the fluent helper object.@Nonnull public CompleteFluentHelper complete(@Nonnull String supplierQuotation)
SupplierQuotationService
Creates a fluent helper for the Complete OData function import.
complete
in interface SupplierQuotationService
supplierQuotation
- Supplier Quotation
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierQuotation
execute
method on the fluent helper object.@Nonnull public CancelFluentHelper cancel(@Nonnull String supplierQuotation)
SupplierQuotationService
Creates a fluent helper for the Cancel OData function import.
cancel
in interface SupplierQuotationService
supplierQuotation
- Supplier Quotation
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierQuotation
execute
method on the fluent helper object.@Nonnull public SubmitForApprovalFluentHelper submitForApproval(@Nonnull String supplierQuotation)
SupplierQuotationService
Creates a fluent helper for the SubmitForApproval OData function import.
submitForApproval
in interface SupplierQuotationService
supplierQuotation
- Supplier Quotation
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: SupplierQuotation
execute
method on the fluent helper object.@Nonnull public CreateFromRFQFluentHelper createFromRFQ(@Nonnull LocalDateTime quotationSubmissionDate, @Nonnull String supplier, @Nonnull String requestForQuotation)
SupplierQuotationService
Creates a fluent helper for the CreateFromRFQ OData function import.
createFromRFQ
in interface SupplierQuotationService
quotationSubmissionDate
- Quotation Submission Date
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: QuotationSubmissionDate
supplier
- Supplier
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: Supplier
requestForQuotation
- Request for Quotation
Constraints: Not nullable, Maximum length: 10
Original parameter name from the Odata EDM: RequestForQuotation
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.