@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSalesAndDistributionDocumentOrderReasonService") public class DefaultSalesAndDistributionDocumentOrderReasonService extends Object implements SalesAndDistributionDocumentOrderReasonService
The service contains four entities, from which Self- Billing Cockpit consumers can retrieve the order reason ID and description, retro- billing relevance of the order reason, as well as the related item type for self- billing processing.
Reference: SAP API Business Hub
OData Service: | API_SALES_DOCUMENT_REASON_SRV |
API Version: | 1 |
Communication Scenario: | SAP Self-Billing Cockpit Integration (SAP_COM_0564) |
Scope Items: | Self-Billing - S/4HANA Backend Integration (4H2) |
Authentication Methods: | Basic, x509 |
Business Object: | BillingDocument |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSalesAndDistributionDocumentOrderReasonService()
Creates a service using
SalesAndDistributionDocumentOrderReasonService.DEFAULT_SERVICE_PATH to send the
requests. |
public DefaultSalesAndDistributionDocumentOrderReasonService()
SalesAndDistributionDocumentOrderReasonService.DEFAULT_SERVICE_PATH
to send the
requests.@Nonnull public DefaultSalesAndDistributionDocumentOrderReasonService withServicePath(@Nonnull String servicePath)
SalesAndDistributionDocumentOrderReasonService
withServicePath
in interface SalesAndDistributionDocumentOrderReasonService
servicePath
- Service path that will override the default.@Nonnull public DefaultSalesAndDistributionDocumentOrderReasonServiceBatch batch()
batch
in interface BatchService<SalesAndDistributionDocumentOrderReasonServiceBatch>
@Nonnull public RetroBillingUsageTextFluentHelper getAllRetroBillingUsageText()
SalesAndDistributionDocumentOrderReasonService
RetroBillingUsageText
entities.getAllRetroBillingUsageText
in interface SalesAndDistributionDocumentOrderReasonService
RetroBillingUsageText
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 RetroBillingUsageTextByKeyFluentHelper getRetroBillingUsageTextByKey(String retroBillingUsage, String language)
SalesAndDistributionDocumentOrderReasonService
RetroBillingUsageText
entity using key fields.getRetroBillingUsageTextByKey
in interface SalesAndDistributionDocumentOrderReasonService
retroBillingUsage
- This indicator is only relevant if you specify the order reason in a credit/debit memo request or a
credit/debit memo.
Constraints: Not nullable, Maximum length: 1
language
- The language key contains the abbreviation for the language in which a text is stored. It controls the
language in which texts are output on the printer or on the screen.
Constraints: Not nullable, Maximum length: 2
RetroBillingUsageText
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 SDDocumentReasonFluentHelper getAllSDDocumentReason()
SalesAndDistributionDocumentOrderReasonService
SDDocumentReason
entities.getAllSDDocumentReason
in interface SalesAndDistributionDocumentOrderReasonService
SDDocumentReason
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 SDDocumentReasonByKeyFluentHelper getSDDocumentReasonByKey(String sDDocumentReason)
SalesAndDistributionDocumentOrderReasonService
SDDocumentReason
entity using key fields.getSDDocumentReasonByKey
in interface SalesAndDistributionDocumentOrderReasonService
sDDocumentReason
- Indicates the reason for creating the sales document.
Constraints: Not nullable, Maximum length: 3
SDDocumentReason
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 SDDocumentReasonTextFluentHelper getAllSDDocumentReasonText()
SalesAndDistributionDocumentOrderReasonService
SDDocumentReasonText
entities.getAllSDDocumentReasonText
in interface SalesAndDistributionDocumentOrderReasonService
SDDocumentReasonText
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 SDDocumentReasonTextByKeyFluentHelper getSDDocumentReasonTextByKey(String sDDocumentReason, String language)
SalesAndDistributionDocumentOrderReasonService
SDDocumentReasonText
entity using key fields.getSDDocumentReasonTextByKey
in interface SalesAndDistributionDocumentOrderReasonService
sDDocumentReason
- Indicates the reason for creating the sales document.
Constraints: Not nullable, Maximum length: 3
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
SDDocumentReasonText
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 SelfBillingValueItemTextFluentHelper getAllSelfBillingValueItemText()
SalesAndDistributionDocumentOrderReasonService
SelfBillingValueItemText
entities.getAllSelfBillingValueItemText
in interface SalesAndDistributionDocumentOrderReasonService
SelfBillingValueItemText
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 SelfBillingValueItemTextByKeyFluentHelper getSelfBillingValueItemTextByKey(String selfBillingValueItem, String language)
SalesAndDistributionDocumentOrderReasonService
SelfBillingValueItemText
entity using key fields.getSelfBillingValueItemTextByKey
in interface SalesAndDistributionDocumentOrderReasonService
selfBillingValueItem
- Value Item for Self-Billing
Constraints: Not nullable, Maximum length: 1
language
- The language key contains the abbreviation for the language in which a text is stored. It controls the
language in which texts are output on the printer or on the screen.
Constraints: Not nullable, Maximum length: 2
SelfBillingValueItemText
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.