@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.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: | OP_API_SALES_DOCUMENT_REASON_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Billing Document |
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
- Use of Order Reason for Retro-Billing
Constraints: Not nullable, Maximum length: 1
language
- Language Key
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
- Order Reason (Reason for the Business Transaction)
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
- Order Reason (Reason for the Business Transaction)
Constraints: Not nullable, Maximum length: 3
language
- Language Key
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
- Language Key
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 © 2021 SAP SE. All rights reserved.