Interface SalesAndDistributionDocumentOrderReasonService
- All Superinterfaces:
BatchService<SalesAndDistributionDocumentOrderReasonServiceBatch>
- All Known Implementing Classes:
DefaultSalesAndDistributionDocumentOrderReasonService
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
FieldsModifier and TypeFieldDescriptionstatic final StringDeprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.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.Methods inherited from interface com.sap.cloud.sdk.datamodel.odata.helper.batch.BatchService
batch
-
Field Details
-
DEFAULT_SERVICE_PATH
Deprecated.If no other path was provided via thewithServicePath(String)method, this is the default service path used to access the endpoint.- See Also:
-
-
Method Details
-
withServicePath
@Nonnull SalesAndDistributionDocumentOrderReasonService withServicePath(@Nonnull String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
getAllRetroBillingUsageText
Deprecated.Fetch multipleRetroBillingUsageTextentities.- 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 RetroBillingUsageTextByKeyFluentHelper getRetroBillingUsageTextByKey(String retroBillingUsage, String language) Deprecated.Fetch a singleRetroBillingUsageTextentity using key fields.- 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.Fetch multipleSDDocumentReasonentities.- 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.Fetch a singleSDDocumentReasonentity using key fields.- 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.Fetch multipleSDDocumentReasonTextentities.- 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 SDDocumentReasonTextByKeyFluentHelper getSDDocumentReasonTextByKey(String sDDocumentReason, String language) Deprecated.Fetch a singleSDDocumentReasonTextentity using key fields.- 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.Fetch multipleSelfBillingValueItemTextentities.- 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 SelfBillingValueItemTextByKeyFluentHelper getSelfBillingValueItemTextByKey(String selfBillingValueItem, String language) Deprecated.Fetch a singleSelfBillingValueItemTextentity using key fields.- Parameters:
language- Language KeyConstraints: Not nullable, Maximum length: 2
selfBillingValueItem- Value Item for Self-BillingConstraints: Not nullable, Maximum length: 1
- 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.
-