@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSalesQuotationService") public class DefaultSalesQuotationService extends Object implements SalesQuotationService
You can use this service to integrate external applications with sales quotation processing in SAP S/4HANA Cloud. In every API call, you can make use of the following operations: - You can retrieve sales quotations. Apply any of the filters provided or retrieve all existing data. - You can create sales quotations. Note that you must use “deep insert” requests (a header plus the following entities: header partner, header pricing element, item, item partner, and item pricing element). 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 and item pricing element). You cannot create entities without including any related entities. - For existing sales quotations, you can update the header, header partner, header pricing element, item, item partner, and item pricing element. - For existing sales quotations, you can delete the header, header partner, header pricing element, item, item partner, and item pricing element..
Reference: SAP API Business Hub
OData Service: | API_SALES_QUOTATION_SRV |
API Version: | 1 |
Communication Scenario: | Sales Quotation Integration (SAP_COM_0118) |
Scope Items: | Sales Quotation (BDG) |
Authentication Methods: | Basic, x509 |
Business Object: | SalesQuotation |
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 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
- The number that uniquely identifies the sales, delivery, or billing document.
Constraints: Not nullable, Maximum length: 10
salesQuotationItem
- The number that uniquely identifies the item in the sales, shipping, or billing document.
Constraints: Not nullable, Maximum length: 6
partnerFunction
- The abbreviated form of the name that identifies the 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
- The number that uniquely identifies the sales document.
Constraints: Not nullable, Maximum length: 10
salesQuotationItem
- 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
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 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
- The number that uniquely identifies the sales, delivery, or billing document.
Constraints: Not nullable, Maximum length: 10
partnerFunction
- The abbreviated form of the name that identifies the 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
- The number that uniquely identifies the sales document.
Constraints: Not nullable, Maximum length: 10
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
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.Copyright © 2019 SAP SE. All rights reserved.