@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultSalesQuotationService") public class DefaultSalesQuotationService extends Object implements SalesQuotationService
In every API call, you can make use of the following operations: You can read entire sales quotations or only parts of the data, using the provided filters. You can create sales quotations. Note that you must use “deep insert” requests (a header plus the following entities: header partner, header pricing element, header text, item, item partner, item pricing element, and item text). You cannot create entities without including any related entities. For existing sales quotations, you can create new items. Note that you must use “deep insert” requests (with the following entities: item partner, item pricing element, and item text). You cannot create entities without including any related entities. For existing sales quotations, you can update the header, header partner, header pricing element, header text, item, item partner, item pricing element, and item text. For existing sales quotations, you can delete the header, header partner, header pricing element, header text, item, item partner, item pricing element, and item text. You can accept or deny approval requests for sales quotations that cannot be processed without the consent of an approver. Note: Certain elements and entities can only be used if you activate the business function ISR_RETAILSYSTEM. For more information, see Business Documentation..
Reference: SAP API Business Hub
OData Service: | OP_API_SALES_QUOTATION_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Sales Quotation |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSalesQuotationService()
Creates a service using
SalesQuotationService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultSalesQuotationService()
SalesQuotationService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSalesQuotationService withServicePath(@Nonnull String servicePath)
SalesQuotationService
withServicePath
in interface SalesQuotationService
servicePath
- Service path that will override the default.@Nonnull public DefaultSalesQuotationServiceBatch batch()
batch
in interface BatchService<SalesQuotationServiceBatch>
@Nonnull public SalesQuotationFluentHelper getAllSalesQuotation()
SalesQuotationService
SalesQuotation
entities.getAllSalesQuotation
in interface SalesQuotationService
SalesQuotation
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 SalesQuotationByKeyFluentHelper getSalesQuotationByKey(String salesQuotation)
SalesQuotationService
SalesQuotation
entity using key fields.getSalesQuotationByKey
in interface SalesQuotationService
salesQuotation
- Sales Quotation
Constraints: Not nullable, Maximum length: 10
SalesQuotation
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 SalesQuotationCreateFluentHelper createSalesQuotation(@Nonnull SalesQuotation salesQuotation)
SalesQuotationService
SalesQuotation
entity and save it to the S/4HANA system.createSalesQuotation
in interface SalesQuotationService
salesQuotation
- SalesQuotation
entity object that will be created in the S/4HANA system.SalesQuotation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationUpdateFluentHelper updateSalesQuotation(@Nonnull SalesQuotation salesQuotation)
SalesQuotationService
SalesQuotation
entity and save it to the S/4HANA system.updateSalesQuotation
in interface SalesQuotationService
salesQuotation
- SalesQuotation
entity object that will be updated in the S/4HANA system.SalesQuotation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationDeleteFluentHelper deleteSalesQuotation(@Nonnull SalesQuotation salesQuotation)
SalesQuotationService
SalesQuotation
entity in the S/4HANA system.deleteSalesQuotation
in interface SalesQuotationService
salesQuotation
- SalesQuotation
entity object that will be deleted in the S/4HANA system.SalesQuotation
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationItemFluentHelper getAllSalesQuotationItem()
SalesQuotationService
SalesQuotationItem
entities.getAllSalesQuotationItem
in interface SalesQuotationService
SalesQuotationItem
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 SalesQuotationItemByKeyFluentHelper getSalesQuotationItemByKey(String salesQuotation, String salesQuotationItem)
SalesQuotationService
SalesQuotationItem
entity using key fields.getSalesQuotationItemByKey
in interface SalesQuotationService
salesQuotation
- Sales Quotation
Constraints: Not nullable, Maximum length: 10
salesQuotationItem
- Sales Quotation Item
Constraints: Not nullable, Maximum length: 6
SalesQuotationItem
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 SalesQuotationItemCreateFluentHelper createSalesQuotationItem(@Nonnull SalesQuotationItem salesQuotationItem)
SalesQuotationService
SalesQuotationItem
entity and save it to the S/4HANA system.createSalesQuotationItem
in interface SalesQuotationService
salesQuotationItem
- SalesQuotationItem
entity object that will be created in the S/4HANA system.SalesQuotationItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationItemUpdateFluentHelper updateSalesQuotationItem(@Nonnull SalesQuotationItem salesQuotationItem)
SalesQuotationService
SalesQuotationItem
entity and save it to the S/4HANA system.updateSalesQuotationItem
in interface SalesQuotationService
salesQuotationItem
- SalesQuotationItem
entity object that will be updated in the S/4HANA system.SalesQuotationItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationItemDeleteFluentHelper deleteSalesQuotationItem(@Nonnull SalesQuotationItem salesQuotationItem)
SalesQuotationService
SalesQuotationItem
entity in the S/4HANA system.deleteSalesQuotationItem
in interface SalesQuotationService
salesQuotationItem
- SalesQuotationItem
entity object that will be deleted in the S/4HANA system.SalesQuotationItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationItemPartnerFluentHelper getAllSalesQuotationItemPartner()
SalesQuotationService
SalesQuotationItemPartner
entities.getAllSalesQuotationItemPartner
in interface SalesQuotationService
SalesQuotationItemPartner
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 SalesQuotationItemPartnerByKeyFluentHelper getSalesQuotationItemPartnerByKey(String salesQuotation, String salesQuotationItem, String partnerFunction)
SalesQuotationService
SalesQuotationItemPartner
entity using key fields.getSalesQuotationItemPartnerByKey
in interface SalesQuotationService
salesQuotation
- Sales and Distribution Document Number
Constraints: Not nullable, Maximum length: 10
salesQuotationItem
- Item number of the SD document
Constraints: Not nullable, Maximum length: 6
partnerFunction
- Partner Function
Constraints: Not nullable, Maximum length: 2
SalesQuotationItemPartner
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 SalesQuotationItemPartnerUpdateFluentHelper updateSalesQuotationItemPartner(@Nonnull SalesQuotationItemPartner salesQuotationItemPartner)
SalesQuotationService
SalesQuotationItemPartner
entity and save it to the S/4HANA system.updateSalesQuotationItemPartner
in interface SalesQuotationService
salesQuotationItemPartner
- SalesQuotationItemPartner
entity object that will be updated in the S/4HANA system.SalesQuotationItemPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationItemPartnerDeleteFluentHelper deleteSalesQuotationItemPartner(@Nonnull SalesQuotationItemPartner salesQuotationItemPartner)
SalesQuotationService
SalesQuotationItemPartner
entity in the S/4HANA system.deleteSalesQuotationItemPartner
in interface SalesQuotationService
salesQuotationItemPartner
- SalesQuotationItemPartner
entity object that will be deleted in the S/4HANA system.SalesQuotationItemPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationItemPrcgElmntFluentHelper getAllSalesQuotationItemPrcgElmnt()
SalesQuotationService
SalesQuotationItemPrcgElmnt
entities.getAllSalesQuotationItemPrcgElmnt
in interface SalesQuotationService
SalesQuotationItemPrcgElmnt
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 SalesQuotationItemPrcgElmntByKeyFluentHelper getSalesQuotationItemPrcgElmntByKey(String salesQuotation, String salesQuotationItem, String pricingProcedureStep, String pricingProcedureCounter)
SalesQuotationService
SalesQuotationItemPrcgElmnt
entity using key fields.getSalesQuotationItemPrcgElmntByKey
in interface SalesQuotationService
salesQuotation
- Sales Document
Constraints: Not nullable, Maximum length: 10
salesQuotationItem
- Condition item number
Constraints: Not nullable, Maximum length: 6
pricingProcedureStep
- Step Number
Constraints: Not nullable, Maximum length: 3
pricingProcedureCounter
- Condition Counter
Constraints: Not nullable, Maximum length: 3
SalesQuotationItemPrcgElmnt
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 SalesQuotationItemPrcgElmntUpdateFluentHelper updateSalesQuotationItemPrcgElmnt(@Nonnull SalesQuotationItemPrcgElmnt salesQuotationItemPrcgElmnt)
SalesQuotationService
SalesQuotationItemPrcgElmnt
entity and save it to the S/4HANA system.updateSalesQuotationItemPrcgElmnt
in interface SalesQuotationService
salesQuotationItemPrcgElmnt
- SalesQuotationItemPrcgElmnt
entity object that will be updated in the S/4HANA system.SalesQuotationItemPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationItemPrcgElmntDeleteFluentHelper deleteSalesQuotationItemPrcgElmnt(@Nonnull SalesQuotationItemPrcgElmnt salesQuotationItemPrcgElmnt)
SalesQuotationService
SalesQuotationItemPrcgElmnt
entity in the S/4HANA system.deleteSalesQuotationItemPrcgElmnt
in interface SalesQuotationService
salesQuotationItemPrcgElmnt
- SalesQuotationItemPrcgElmnt
entity object that will be deleted in the S/4HANA system.SalesQuotationItemPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationItemTextFluentHelper getAllSalesQuotationItemText()
SalesQuotationService
SalesQuotationItemText
entities.getAllSalesQuotationItemText
in interface SalesQuotationService
SalesQuotationItemText
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 SalesQuotationItemTextByKeyFluentHelper getSalesQuotationItemTextByKey(String salesQuotation, String salesQuotationItem, String language, String longTextID)
SalesQuotationService
SalesQuotationItemText
entity using key fields.getSalesQuotationItemTextByKey
in interface SalesQuotationService
salesQuotation
- Sales Quotation
Constraints: Not nullable, Maximum length: 10
salesQuotationItem
- Sales Quotation Item
Constraints: Not nullable, Maximum length: 6
language
- Language Key
Constraints: Not nullable, Maximum length: 2
longTextID
- Text ID
Constraints: Not nullable, Maximum length: 4
SalesQuotationItemText
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 SalesQuotationItemTextUpdateFluentHelper updateSalesQuotationItemText(@Nonnull SalesQuotationItemText salesQuotationItemText)
SalesQuotationService
SalesQuotationItemText
entity and save it to the S/4HANA system.updateSalesQuotationItemText
in interface SalesQuotationService
salesQuotationItemText
- SalesQuotationItemText
entity object that will be updated in the S/4HANA system.SalesQuotationItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationItemTextDeleteFluentHelper deleteSalesQuotationItemText(@Nonnull SalesQuotationItemText salesQuotationItemText)
SalesQuotationService
SalesQuotationItemText
entity in the S/4HANA system.deleteSalesQuotationItemText
in interface SalesQuotationService
salesQuotationItemText
- SalesQuotationItemText
entity object that will be deleted in the S/4HANA system.SalesQuotationItemText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationPartnerFluentHelper getAllSalesQuotationPartner()
SalesQuotationService
SalesQuotationPartner
entities.getAllSalesQuotationPartner
in interface SalesQuotationService
SalesQuotationPartner
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 SalesQuotationPartnerByKeyFluentHelper getSalesQuotationPartnerByKey(String salesQuotation, String partnerFunction)
SalesQuotationService
SalesQuotationPartner
entity using key fields.getSalesQuotationPartnerByKey
in interface SalesQuotationService
salesQuotation
- Sales and Distribution Document Number
Constraints: Not nullable, Maximum length: 10
partnerFunction
- Partner Function
Constraints: Not nullable, Maximum length: 2
SalesQuotationPartner
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 SalesQuotationPartnerUpdateFluentHelper updateSalesQuotationPartner(@Nonnull SalesQuotationPartner salesQuotationPartner)
SalesQuotationService
SalesQuotationPartner
entity and save it to the S/4HANA system.updateSalesQuotationPartner
in interface SalesQuotationService
salesQuotationPartner
- SalesQuotationPartner
entity object that will be updated in the S/4HANA system.SalesQuotationPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationPartnerDeleteFluentHelper deleteSalesQuotationPartner(@Nonnull SalesQuotationPartner salesQuotationPartner)
SalesQuotationService
SalesQuotationPartner
entity in the S/4HANA system.deleteSalesQuotationPartner
in interface SalesQuotationService
salesQuotationPartner
- SalesQuotationPartner
entity object that will be deleted in the S/4HANA system.SalesQuotationPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationPrcgElmntFluentHelper getAllSalesQuotationPrcgElmnt()
SalesQuotationService
SalesQuotationPrcgElmnt
entities.getAllSalesQuotationPrcgElmnt
in interface SalesQuotationService
SalesQuotationPrcgElmnt
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 SalesQuotationPrcgElmntByKeyFluentHelper getSalesQuotationPrcgElmntByKey(String salesQuotation, String pricingProcedureStep, String pricingProcedureCounter)
SalesQuotationService
SalesQuotationPrcgElmnt
entity using key fields.getSalesQuotationPrcgElmntByKey
in interface SalesQuotationService
salesQuotation
- Sales Document
Constraints: Not nullable, Maximum length: 10
pricingProcedureStep
- Step Number
Constraints: Not nullable, Maximum length: 3
pricingProcedureCounter
- Condition Counter
Constraints: Not nullable, Maximum length: 3
SalesQuotationPrcgElmnt
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 SalesQuotationPrcgElmntUpdateFluentHelper updateSalesQuotationPrcgElmnt(@Nonnull SalesQuotationPrcgElmnt salesQuotationPrcgElmnt)
SalesQuotationService
SalesQuotationPrcgElmnt
entity and save it to the S/4HANA system.updateSalesQuotationPrcgElmnt
in interface SalesQuotationService
salesQuotationPrcgElmnt
- SalesQuotationPrcgElmnt
entity object that will be updated in the S/4HANA system.SalesQuotationPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationPrcgElmntDeleteFluentHelper deleteSalesQuotationPrcgElmnt(@Nonnull SalesQuotationPrcgElmnt salesQuotationPrcgElmnt)
SalesQuotationService
SalesQuotationPrcgElmnt
entity in the S/4HANA system.deleteSalesQuotationPrcgElmnt
in interface SalesQuotationService
salesQuotationPrcgElmnt
- SalesQuotationPrcgElmnt
entity object that will be deleted in the S/4HANA system.SalesQuotationPrcgElmnt
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationTextFluentHelper getAllSalesQuotationText()
SalesQuotationService
SalesQuotationText
entities.getAllSalesQuotationText
in interface SalesQuotationService
SalesQuotationText
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 SalesQuotationTextByKeyFluentHelper getSalesQuotationTextByKey(String salesQuotation, String language, String longTextID)
SalesQuotationService
SalesQuotationText
entity using key fields.getSalesQuotationTextByKey
in interface SalesQuotationService
salesQuotation
- Sales Quotation
Constraints: Not nullable, Maximum length: 10
language
- Language Key
Constraints: Not nullable, Maximum length: 2
longTextID
- Text ID
Constraints: Not nullable, Maximum length: 4
SalesQuotationText
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 SalesQuotationTextUpdateFluentHelper updateSalesQuotationText(@Nonnull SalesQuotationText salesQuotationText)
SalesQuotationService
SalesQuotationText
entity and save it to the S/4HANA system.updateSalesQuotationText
in interface SalesQuotationService
salesQuotationText
- SalesQuotationText
entity object that will be updated in the S/4HANA system.SalesQuotationText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationTextDeleteFluentHelper deleteSalesQuotationText(@Nonnull SalesQuotationText salesQuotationText)
SalesQuotationService
SalesQuotationText
entity in the S/4HANA system.deleteSalesQuotationText
in interface SalesQuotationService
salesQuotationText
- SalesQuotationText
entity object that will be deleted in the S/4HANA system.SalesQuotationText
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationValAddedSrvcFluentHelper getAllSalesQuotationValAddedSrvc()
SalesQuotationService
SalesQuotationValAddedSrvc
entities.getAllSalesQuotationValAddedSrvc
in interface SalesQuotationService
SalesQuotationValAddedSrvc
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 SalesQuotationValAddedSrvcByKeyFluentHelper getSalesQuotationValAddedSrvcByKey(String valueAddedServiceType, String valueAddedSubServiceType, String salesQuotation, String salesQuotationItem)
SalesQuotationService
SalesQuotationValAddedSrvc
entity using key fields.getSalesQuotationValAddedSrvcByKey
in interface SalesQuotationService
valueAddedServiceType
- VAS Service Types
Constraints: Not nullable, Maximum length: 2
valueAddedSubServiceType
- VAS Sub Services
Constraints: Not nullable, Maximum length: 5
salesQuotation
- Document number of the reference document
Constraints: Not nullable, Maximum length: 10
salesQuotationItem
- Item number of the reference item
Constraints: Not nullable, Maximum length: 6
SalesQuotationValAddedSrvc
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 SalesQuotationValAddedSrvcCreateFluentHelper createSalesQuotationValAddedSrvc(@Nonnull SalesQuotationValAddedSrvc salesQuotationValAddedSrvc)
SalesQuotationService
SalesQuotationValAddedSrvc
entity and save it to the S/4HANA system.createSalesQuotationValAddedSrvc
in interface SalesQuotationService
salesQuotationValAddedSrvc
- SalesQuotationValAddedSrvc
entity object that will be created in the S/4HANA system.SalesQuotationValAddedSrvc
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationValAddedSrvcUpdateFluentHelper updateSalesQuotationValAddedSrvc(@Nonnull SalesQuotationValAddedSrvc salesQuotationValAddedSrvc)
SalesQuotationService
SalesQuotationValAddedSrvc
entity and save it to the S/4HANA system.updateSalesQuotationValAddedSrvc
in interface SalesQuotationService
salesQuotationValAddedSrvc
- SalesQuotationValAddedSrvc
entity object that will be updated in the S/4HANA system.SalesQuotationValAddedSrvc
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesQuotationValAddedSrvcDeleteFluentHelper deleteSalesQuotationValAddedSrvc(@Nonnull SalesQuotationValAddedSrvc salesQuotationValAddedSrvc)
SalesQuotationService
SalesQuotationValAddedSrvc
entity in the S/4HANA system.deleteSalesQuotationValAddedSrvc
in interface SalesQuotationService
salesQuotationValAddedSrvc
- SalesQuotationValAddedSrvc
entity object that will be deleted in the S/4HANA system.SalesQuotationValAddedSrvc
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public ReleaseApprovalRequestFluentHelper releaseApprovalRequest(String salesQuotation)
SalesQuotationService
Creates a fluent helper for the releaseApprovalRequest OData function import.
releaseApprovalRequest
in interface SalesQuotationService
salesQuotation
- Constraints: Not nullable, Maximum length: 11000
Original parameter name from the Odata EDM: SalesQuotation
execute
method on the fluent helper object.@Nonnull public RejectApprovalRequestFluentHelper rejectApprovalRequest(String salesQuotation)
SalesQuotationService
Creates a fluent helper for the rejectApprovalRequest OData function import.
rejectApprovalRequest
in interface SalesQuotationService
salesQuotation
- Constraints: Not nullable, Maximum length: 11000
Original parameter name from the Odata EDM: SalesQuotation
execute
method on the fluent helper object.Copyright © 2021 SAP SE. All rights reserved.