@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSalesOrderWithoutChargeService") public class DefaultSalesOrderWithoutChargeService extends Object implements SalesOrderWithoutChargeService
In every API call, you can make use of the following operations: - You can retrieve sales orders without charge. Apply any of the filters provided or retrieve all existing data. - You can create sales orders without charge. Note that you must use “deep insert” requests (a header plus the following entities: header partner, item and item partner). You cannot create entities without including any related entities. - For existing sales orders without charge, you can create new items. Note that you must use “deep insert” requests (with the entity: item partner). You cannot create entities without including any related entities. - For existing sales orders without charge, you can update the header, header partner, item and item partner. - For existing sales orders without charge, you can delete the header, header partner, item and item partner. .
Reference: SAP API Business Hub
OData Service: | API_SALES_ORDER_WITHOUT_CHARGE_SRV |
API Version: | 1 |
Communication Scenario: | Sales Order Without Charge Integration (SAP_COM_0334) |
Scope Items: | Free of Charge Delivery (BDA) |
Authentication Methods: | Basic, x509 |
Business Object: | SalesOrderWithoutCharge |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSalesOrderWithoutChargeService()
Creates a service using
SalesOrderWithoutChargeService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultSalesOrderWithoutChargeService()
SalesOrderWithoutChargeService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSalesOrderWithoutChargeService withServicePath(@Nonnull String servicePath)
SalesOrderWithoutChargeService
withServicePath
in interface SalesOrderWithoutChargeService
servicePath
- Service path that will override the default.@Nonnull public DefaultSalesOrderWithoutChargeServiceBatch batch()
batch
in interface BatchService<SalesOrderWithoutChargeServiceBatch>
@Nonnull public SalesOrderWithoutChargeFluentHelper getAllSalesOrderWithoutCharge()
SalesOrderWithoutChargeService
SalesOrderWithoutCharge
entities.getAllSalesOrderWithoutCharge
in interface SalesOrderWithoutChargeService
SalesOrderWithoutCharge
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 SalesOrderWithoutChargeByKeyFluentHelper getSalesOrderWithoutChargeByKey(String salesOrderWithoutCharge)
SalesOrderWithoutChargeService
SalesOrderWithoutCharge
entity using key fields.getSalesOrderWithoutChargeByKey
in interface SalesOrderWithoutChargeService
salesOrderWithoutCharge
- Sales Order Without Charge
Constraints: Not nullable, Maximum length: 10
SalesOrderWithoutCharge
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 SalesOrderWithoutChargeCreateFluentHelper createSalesOrderWithoutCharge(@Nonnull SalesOrderWithoutCharge salesOrderWithoutCharge)
SalesOrderWithoutChargeService
SalesOrderWithoutCharge
entity and save it to the S/4HANA system.createSalesOrderWithoutCharge
in interface SalesOrderWithoutChargeService
salesOrderWithoutCharge
- SalesOrderWithoutCharge
entity object that will be created in the S/4HANA system.SalesOrderWithoutCharge
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesOrderWithoutChargeUpdateFluentHelper updateSalesOrderWithoutCharge(@Nonnull SalesOrderWithoutCharge salesOrderWithoutCharge)
SalesOrderWithoutChargeService
SalesOrderWithoutCharge
entity and save it to the S/4HANA system.updateSalesOrderWithoutCharge
in interface SalesOrderWithoutChargeService
salesOrderWithoutCharge
- SalesOrderWithoutCharge
entity object that will be updated in the S/4HANA system.SalesOrderWithoutCharge
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesOrderWithoutChargeDeleteFluentHelper deleteSalesOrderWithoutCharge(@Nonnull SalesOrderWithoutCharge salesOrderWithoutCharge)
SalesOrderWithoutChargeService
SalesOrderWithoutCharge
entity in the S/4HANA system.deleteSalesOrderWithoutCharge
in interface SalesOrderWithoutChargeService
salesOrderWithoutCharge
- SalesOrderWithoutCharge
entity object that will be deleted in the S/4HANA system.SalesOrderWithoutCharge
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesOrderWithoutChargeItemFluentHelper getAllSalesOrderWithoutChargeItem()
SalesOrderWithoutChargeService
SalesOrderWithoutChargeItem
entities.getAllSalesOrderWithoutChargeItem
in interface SalesOrderWithoutChargeService
SalesOrderWithoutChargeItem
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 SalesOrderWithoutChargeItemByKeyFluentHelper getSalesOrderWithoutChargeItemByKey(String salesOrderWithoutCharge, String salesOrderWithoutChargeItem)
SalesOrderWithoutChargeService
SalesOrderWithoutChargeItem
entity using key fields.getSalesOrderWithoutChargeItemByKey
in interface SalesOrderWithoutChargeService
salesOrderWithoutCharge
- The number that uniquely identifies the sales document.
Constraints: Not nullable, Maximum length: 10
salesOrderWithoutChargeItem
- The number that uniquely identifies the item in the sales document.
Constraints: Not nullable, Maximum length: 6
SalesOrderWithoutChargeItem
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 SalesOrderWithoutChargeItemCreateFluentHelper createSalesOrderWithoutChargeItem(@Nonnull SalesOrderWithoutChargeItem salesOrderWithoutChargeItem)
SalesOrderWithoutChargeService
SalesOrderWithoutChargeItem
entity and save it to the S/4HANA system.createSalesOrderWithoutChargeItem
in interface SalesOrderWithoutChargeService
salesOrderWithoutChargeItem
- SalesOrderWithoutChargeItem
entity object that will be created in the S/4HANA system.SalesOrderWithoutChargeItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesOrderWithoutChargeItemUpdateFluentHelper updateSalesOrderWithoutChargeItem(@Nonnull SalesOrderWithoutChargeItem salesOrderWithoutChargeItem)
SalesOrderWithoutChargeService
SalesOrderWithoutChargeItem
entity and save it to the S/4HANA system.updateSalesOrderWithoutChargeItem
in interface SalesOrderWithoutChargeService
salesOrderWithoutChargeItem
- SalesOrderWithoutChargeItem
entity object that will be updated in the S/4HANA system.SalesOrderWithoutChargeItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SalesOrderWithoutChargeItemDeleteFluentHelper deleteSalesOrderWithoutChargeItem(@Nonnull SalesOrderWithoutChargeItem salesOrderWithoutChargeItem)
SalesOrderWithoutChargeService
SalesOrderWithoutChargeItem
entity in the S/4HANA system.deleteSalesOrderWithoutChargeItem
in interface SalesOrderWithoutChargeService
salesOrderWithoutChargeItem
- SalesOrderWithoutChargeItem
entity object that will be deleted in the S/4HANA system.SalesOrderWithoutChargeItem
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SlsOrdWthoutChrgItmPartnerFluentHelper getAllSlsOrdWthoutChrgItmPartner()
SalesOrderWithoutChargeService
SlsOrdWthoutChrgItmPartner
entities.getAllSlsOrdWthoutChrgItmPartner
in interface SalesOrderWithoutChargeService
SlsOrdWthoutChrgItmPartner
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 SlsOrdWthoutChrgItmPartnerByKeyFluentHelper getSlsOrdWthoutChrgItmPartnerByKey(String salesOrderWithoutCharge, String salesOrderWithoutChargeItem, String partnerFunction)
SalesOrderWithoutChargeService
SlsOrdWthoutChrgItmPartner
entity using key fields.getSlsOrdWthoutChrgItmPartnerByKey
in interface SalesOrderWithoutChargeService
salesOrderWithoutCharge
- Sales Order Without Charge
Constraints: Not nullable, Maximum length: 10
salesOrderWithoutChargeItem
- Sales Order Without Charge Item
Constraints: Not nullable, Maximum length: 6
partnerFunction
- The abbreviated form of the name that identifies the partner function.
Constraints: Not nullable, Maximum length: 2
SlsOrdWthoutChrgItmPartner
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 SlsOrdWthoutChrgItmPartnerUpdateFluentHelper updateSlsOrdWthoutChrgItmPartner(@Nonnull SlsOrdWthoutChrgItmPartner slsOrdWthoutChrgItmPartner)
SalesOrderWithoutChargeService
SlsOrdWthoutChrgItmPartner
entity and save it to the S/4HANA system.updateSlsOrdWthoutChrgItmPartner
in interface SalesOrderWithoutChargeService
slsOrdWthoutChrgItmPartner
- SlsOrdWthoutChrgItmPartner
entity object that will be updated in the S/4HANA system.SlsOrdWthoutChrgItmPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SlsOrdWthoutChrgItmPartnerDeleteFluentHelper deleteSlsOrdWthoutChrgItmPartner(@Nonnull SlsOrdWthoutChrgItmPartner slsOrdWthoutChrgItmPartner)
SalesOrderWithoutChargeService
SlsOrdWthoutChrgItmPartner
entity in the S/4HANA system.deleteSlsOrdWthoutChrgItmPartner
in interface SalesOrderWithoutChargeService
slsOrdWthoutChrgItmPartner
- SlsOrdWthoutChrgItmPartner
entity object that will be deleted in the S/4HANA system.SlsOrdWthoutChrgItmPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SlsOrdWthoutChrgPartnerFluentHelper getAllSlsOrdWthoutChrgPartner()
SalesOrderWithoutChargeService
SlsOrdWthoutChrgPartner
entities.getAllSlsOrdWthoutChrgPartner
in interface SalesOrderWithoutChargeService
SlsOrdWthoutChrgPartner
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 SlsOrdWthoutChrgPartnerByKeyFluentHelper getSlsOrdWthoutChrgPartnerByKey(String salesOrderWithoutCharge, String partnerFunction)
SalesOrderWithoutChargeService
SlsOrdWthoutChrgPartner
entity using key fields.getSlsOrdWthoutChrgPartnerByKey
in interface SalesOrderWithoutChargeService
salesOrderWithoutCharge
- Sales Order Without Charge
Constraints: Not nullable, Maximum length: 10
partnerFunction
- The abbreviated form of the name that identifies the partner function.
Constraints: Not nullable, Maximum length: 2
SlsOrdWthoutChrgPartner
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 SlsOrdWthoutChrgPartnerUpdateFluentHelper updateSlsOrdWthoutChrgPartner(@Nonnull SlsOrdWthoutChrgPartner slsOrdWthoutChrgPartner)
SalesOrderWithoutChargeService
SlsOrdWthoutChrgPartner
entity and save it to the S/4HANA system.updateSlsOrdWthoutChrgPartner
in interface SalesOrderWithoutChargeService
slsOrdWthoutChrgPartner
- SlsOrdWthoutChrgPartner
entity object that will be updated in the S/4HANA system.SlsOrdWthoutChrgPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SlsOrdWthoutChrgPartnerDeleteFluentHelper deleteSlsOrdWthoutChrgPartner(@Nonnull SlsOrdWthoutChrgPartner slsOrdWthoutChrgPartner)
SalesOrderWithoutChargeService
SlsOrdWthoutChrgPartner
entity in the S/4HANA system.deleteSlsOrdWthoutChrgPartner
in interface SalesOrderWithoutChargeService
slsOrdWthoutChrgPartner
- SlsOrdWthoutChrgPartner
entity object that will be deleted in the S/4HANA system.SlsOrdWthoutChrgPartner
entity. To perform execution, call the
execute
method on the fluent helper object.@Nonnull public SlsOrdWthoutChrgSchedLineFluentHelper getAllSlsOrdWthoutChrgSchedLine()
SalesOrderWithoutChargeService
SlsOrdWthoutChrgSchedLine
entities.getAllSlsOrdWthoutChrgSchedLine
in interface SalesOrderWithoutChargeService
SlsOrdWthoutChrgSchedLine
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 SlsOrdWthoutChrgSchedLineByKeyFluentHelper getSlsOrdWthoutChrgSchedLineByKey(String salesOrderWithoutCharge, String salesOrderWithoutChargeItem, String scheduleLine)
SalesOrderWithoutChargeService
SlsOrdWthoutChrgSchedLine
entity using key fields.getSlsOrdWthoutChrgSchedLineByKey
in interface SalesOrderWithoutChargeService
salesOrderWithoutCharge
- The number that uniquely identifies the sales document.
Constraints: Not nullable, Maximum length: 10
salesOrderWithoutChargeItem
- The number that uniquely identifies the item in the sales document.
Constraints: Not nullable, Maximum length: 6
scheduleLine
- The number that uniquely identifies the schedule line in the sales document.
Constraints: Not nullable, Maximum length: 4
SlsOrdWthoutChrgSchedLine
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.Copyright © 2020 SAP SE. All rights reserved.