Interface SalesDocumentWithCreditBlocksService
- All Superinterfaces:
BatchService<SalesDocumentWithCreditBlocksServiceBatch>
- All Known Implementing Classes:
DefaultSalesDocumentWithCreditBlocksService
The service contains entities for credit blocked sales document and reject reason. Once the sales document has been checked, released, or rejected, a success message containing the document number is sent in the response. Once the credit blocked sales document has been retrieved, the data is sent in the response. If there are any issues when reading, checking, releasing, or rejecting the credit blocked sales document, the system displays error messages in the response.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_SLS_DOC_WITH_CREDIT_BLOCK |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Sales Credit Management Integration(SAP_COM_0325) |
| Scope Items: | Basic Credit Management(BD6) |
| Authentication Methods: | x509 |
| Business Object: | Sales Order |
-
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 TypeMethodDescriptioncheckCreditBlock(String sDDocumentCategory, String salesDocument) Deprecated.Creates a fluent helper for the CheckCreditBlock OData function import.Deprecated.Fetch multipleCreditBlockedSalesDocumententities.Deprecated.Fetch multipleSalesDocumentRjcnReasonentities.getCreditBlockedSalesDocumentByKey(String salesDocument) Deprecated.Fetch a singleCreditBlockedSalesDocumententity using key fields.getSalesDocumentRjcnReasonByKey(String salesDocumentRjcnReason) Deprecated.Fetch a singleSalesDocumentRjcnReasonentity using key fields.rejectCreditBlock(String sDDocumentCategory, String salesDocumentRjcnReason, String salesDocument) Deprecated.Creates a fluent helper for the RejectCreditBlock OData function import.releaseCreditBlock(String salesDocument, String sDDocumentCategory) Deprecated.Creates a fluent helper for the ReleaseCreditBlock OData function import.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
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.
-
getAllCreditBlockedSalesDocument
Deprecated.Fetch multipleCreditBlockedSalesDocumententities.- Returns:
- A fluent helper to fetch multiple
CreditBlockedSalesDocumententities. 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.
-
getCreditBlockedSalesDocumentByKey
@Nonnull CreditBlockedSalesDocumentByKeyFluentHelper getCreditBlockedSalesDocumentByKey(String salesDocument) Deprecated.Fetch a singleCreditBlockedSalesDocumententity using key fields.- Parameters:
salesDocument- Sales DocumentConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
CreditBlockedSalesDocumententity 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.
-
getAllSalesDocumentRjcnReason
Deprecated.Fetch multipleSalesDocumentRjcnReasonentities.- Returns:
- A fluent helper to fetch multiple
SalesDocumentRjcnReasonentities. 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.
-
getSalesDocumentRjcnReasonByKey
@Nonnull SalesDocumentRjcnReasonByKeyFluentHelper getSalesDocumentRjcnReasonByKey(String salesDocumentRjcnReason) Deprecated.Fetch a singleSalesDocumentRjcnReasonentity using key fields.- Parameters:
salesDocumentRjcnReason- Reason for Rejection of Sales DocumentsConstraints: Not nullable, Maximum length: 2
- Returns:
- A fluent helper to fetch a single
SalesDocumentRjcnReasonentity 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.
-
checkCreditBlock
@Nonnull CheckCreditBlockFluentHelper checkCreditBlock(@Nonnull String sDDocumentCategory, @Nonnull String salesDocument) Deprecated.Creates a fluent helper for the CheckCreditBlock OData function import.
- Parameters:
salesDocument- Constraints: noneOriginal parameter name from the Odata EDM: SalesDocument
sDDocumentCategory- Constraints: noneOriginal parameter name from the Odata EDM: SDDocumentCategory
- Returns:
- A fluent helper object that will execute the CheckCreditBlock OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
rejectCreditBlock
@Nonnull RejectCreditBlockFluentHelper rejectCreditBlock(@Nonnull String sDDocumentCategory, @Nonnull String salesDocumentRjcnReason, @Nonnull String salesDocument) Deprecated.Creates a fluent helper for the RejectCreditBlock OData function import.
- Parameters:
salesDocument- Constraints: noneOriginal parameter name from the Odata EDM: SalesDocument
sDDocumentCategory- Constraints: noneOriginal parameter name from the Odata EDM: SDDocumentCategory
salesDocumentRjcnReason- Constraints: noneOriginal parameter name from the Odata EDM: SalesDocumentRjcnReason
- Returns:
- A fluent helper object that will execute the RejectCreditBlock OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-
releaseCreditBlock
@Nonnull ReleaseCreditBlockFluentHelper releaseCreditBlock(@Nonnull String salesDocument, @Nonnull String sDDocumentCategory) Deprecated.Creates a fluent helper for the ReleaseCreditBlock OData function import.
- Parameters:
salesDocument- Constraints: noneOriginal parameter name from the Odata EDM: SalesDocument
sDDocumentCategory- Constraints: noneOriginal parameter name from the Odata EDM: SDDocumentCategory
- Returns:
- A fluent helper object that will execute the ReleaseCreditBlock OData function import with the
provided parameters. To perform execution, call the
executemethod on the fluent helper object.
-