Class DefaultSalesAndDistributionDocumentOrderReasonService
- All Implemented Interfaces:
BatchService<SalesAndDistributionDocumentOrderReasonServiceBatch>,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 Business Accelerator Hub
Details:
| OData Service: | API_SALES_DOCUMENT_REASON_SRV |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | SAP Self-Billing Cockpit Integration(SAP_COM_0564) |
| Scope Items: | Self-Billing(4H2) |
| Authentication Methods: | x509 |
| Business Object: | Billing Document |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.SalesAndDistributionDocumentOrderReasonService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingSalesAndDistributionDocumentOrderReasonService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Deprecated.Fetch multipleRetroBillingUsageTextentities.Deprecated.Fetch multipleSDDocumentReasonentities.Deprecated.Fetch multipleSDDocumentReasonTextentities.Deprecated.Fetch multipleSelfBillingValueItemTextentities.getRetroBillingUsageTextByKey(String retroBillingUsage, String language) Deprecated.Fetch a singleRetroBillingUsageTextentity using key fields.getSDDocumentReasonByKey(String sDDocumentReason) Deprecated.Fetch a singleSDDocumentReasonentity using key fields.getSDDocumentReasonTextByKey(String sDDocumentReason, String language) Deprecated.Fetch a singleSDDocumentReasonTextentity using key fields.getSelfBillingValueItemTextByKey(String selfBillingValueItem, String language) Deprecated.Fetch a singleSelfBillingValueItemTextentity using key fields.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.
-
Constructor Details
-
DefaultSalesAndDistributionDocumentOrderReasonService
public DefaultSalesAndDistributionDocumentOrderReasonService()Deprecated.Creates a service usingSalesAndDistributionDocumentOrderReasonService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultSalesAndDistributionDocumentOrderReasonService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:SalesAndDistributionDocumentOrderReasonServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceSalesAndDistributionDocumentOrderReasonService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.- Specified by:
batchin interfaceBatchService<SalesAndDistributionDocumentOrderReasonServiceBatch>
-
getAllRetroBillingUsageText
Deprecated.Description copied from interface:SalesAndDistributionDocumentOrderReasonServiceFetch multipleRetroBillingUsageTextentities.- Specified by:
getAllRetroBillingUsageTextin interfaceSalesAndDistributionDocumentOrderReasonService- Returns:
- A fluent helper to fetch multiple
RetroBillingUsageTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getRetroBillingUsageTextByKey
@Nonnull public RetroBillingUsageTextByKeyFluentHelper getRetroBillingUsageTextByKey(String retroBillingUsage, String language) Deprecated.Description copied from interface:SalesAndDistributionDocumentOrderReasonServiceFetch a singleRetroBillingUsageTextentity using key fields.- Specified by:
getRetroBillingUsageTextByKeyin interfaceSalesAndDistributionDocumentOrderReasonService- Parameters:
retroBillingUsage- Use of Order Reason for Retroactive BillingConstraints: Not nullable, Maximum length: 1
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
RetroBillingUsageTextentity 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 theexecutemethod on the fluent helper object.
-
getAllSDDocumentReason
Deprecated.Description copied from interface:SalesAndDistributionDocumentOrderReasonServiceFetch multipleSDDocumentReasonentities.- Specified by:
getAllSDDocumentReasonin interfaceSalesAndDistributionDocumentOrderReasonService- Returns:
- A fluent helper to fetch multiple
SDDocumentReasonentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getSDDocumentReasonByKey
Deprecated.Description copied from interface:SalesAndDistributionDocumentOrderReasonServiceFetch a singleSDDocumentReasonentity using key fields.- Specified by:
getSDDocumentReasonByKeyin interfaceSalesAndDistributionDocumentOrderReasonService- Parameters:
sDDocumentReason- Order Reason (Reason for the Business Transaction)Constraints: Not nullable, Maximum length: 3
- Returns:
- A fluent helper to fetch a single
SDDocumentReasonentity 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 theexecutemethod on the fluent helper object.
-
getAllSDDocumentReasonText
Deprecated.Description copied from interface:SalesAndDistributionDocumentOrderReasonServiceFetch multipleSDDocumentReasonTextentities.- Specified by:
getAllSDDocumentReasonTextin interfaceSalesAndDistributionDocumentOrderReasonService- Returns:
- A fluent helper to fetch multiple
SDDocumentReasonTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getSDDocumentReasonTextByKey
@Nonnull public SDDocumentReasonTextByKeyFluentHelper getSDDocumentReasonTextByKey(String sDDocumentReason, String language) Deprecated.Description copied from interface:SalesAndDistributionDocumentOrderReasonServiceFetch a singleSDDocumentReasonTextentity using key fields.- Specified by:
getSDDocumentReasonTextByKeyin interfaceSalesAndDistributionDocumentOrderReasonService- Parameters:
sDDocumentReason- Order Reason (Reason for the Business Transaction)Constraints: Not nullable, Maximum length: 3
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
SDDocumentReasonTextentity 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 theexecutemethod on the fluent helper object.
-
getAllSelfBillingValueItemText
Deprecated.Description copied from interface:SalesAndDistributionDocumentOrderReasonServiceFetch multipleSelfBillingValueItemTextentities.- Specified by:
getAllSelfBillingValueItemTextin interfaceSalesAndDistributionDocumentOrderReasonService- Returns:
- A fluent helper to fetch multiple
SelfBillingValueItemTextentities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the fluent helper object.
-
getSelfBillingValueItemTextByKey
@Nonnull public SelfBillingValueItemTextByKeyFluentHelper getSelfBillingValueItemTextByKey(String selfBillingValueItem, String language) Deprecated.Description copied from interface:SalesAndDistributionDocumentOrderReasonServiceFetch a singleSelfBillingValueItemTextentity using key fields.- Specified by:
getSelfBillingValueItemTextByKeyin interfaceSalesAndDistributionDocumentOrderReasonService- Parameters:
selfBillingValueItem- Value Item for Self-BillingConstraints: Not nullable, Maximum length: 1
language- Language KeyConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
SelfBillingValueItemTextentity 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 theexecutemethod on the fluent helper object.
-