Interface DeliveryDocumentWithCreditBlocksService
- All Superinterfaces:
BatchService<DeliveryDocumentWithCreditBlocksServiceBatch>
- All Known Implementing Classes:
DefaultDeliveryDocumentWithCreditBlocksService
The service contains entities for credit blocked delivery document and reject reason. Once the delivery document has been checked, released, or rejected, a success message containing the document number is sent in the response. Once the credit blocked delivery 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 delivery document, the system displays error messages in the response.
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | API_DEL_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: | Outbound Delivery |
-
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 deliveryDocument, String sDDocumentCategory) Deprecated.Creates a fluent helper for the CheckCreditBlock OData function import.Deprecated.Fetch multipleCreditBlockedDeliveryDocentities.Deprecated.Fetch multipleSalesDocumentRjcnReasonentities.getCreditBlockedDeliveryDocByKey(String deliveryDocument) Deprecated.Fetch a singleCreditBlockedDeliveryDocentity using key fields.getSalesDocumentRjcnReasonByKey(String salesDocumentRjcnReason) Deprecated.Fetch a singleSalesDocumentRjcnReasonentity using key fields.rejectCreditBlock(String deliveryDocument, String salesDocumentRjcnReason, String sDDocumentCategory) Deprecated.Creates a fluent helper for the RejectCreditBlock OData function import.releaseCreditBlock(String sDDocumentCategory, String deliveryDocument) 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.
-
getAllCreditBlockedDeliveryDoc
Deprecated.Fetch multipleCreditBlockedDeliveryDocentities.- Returns:
- A fluent helper to fetch multiple
CreditBlockedDeliveryDocentities. 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.
-
getCreditBlockedDeliveryDocByKey
@Nonnull CreditBlockedDeliveryDocByKeyFluentHelper getCreditBlockedDeliveryDocByKey(String deliveryDocument) Deprecated.Fetch a singleCreditBlockedDeliveryDocentity using key fields.- Parameters:
deliveryDocument- DeliveryConstraints: Not nullable, Maximum length: 10
- Returns:
- A fluent helper to fetch a single
CreditBlockedDeliveryDocentity 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 deliveryDocument, @Nonnull String sDDocumentCategory) Deprecated.Creates a fluent helper for the CheckCreditBlock OData function import.
- Parameters:
deliveryDocument- Constraints: noneOriginal parameter name from the Odata EDM: DeliveryDocument
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 deliveryDocument, @Nonnull String salesDocumentRjcnReason, @Nonnull String sDDocumentCategory) Deprecated.Creates a fluent helper for the RejectCreditBlock OData function import.
- Parameters:
deliveryDocument- Constraints: noneOriginal parameter name from the Odata EDM: DeliveryDocument
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 sDDocumentCategory, @Nonnull String deliveryDocument) Deprecated.Creates a fluent helper for the ReleaseCreditBlock OData function import.
- Parameters:
deliveryDocument- Constraints: noneOriginal parameter name from the Odata EDM: DeliveryDocument
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.
-