Class DefaultDeliveryDocumentWithCreditBlocksService
- All Implemented Interfaces:
BatchService<DeliveryDocumentWithCreditBlocksServiceBatch>,DeliveryDocumentWithCreditBlocksService
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
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odata.services.DeliveryDocumentWithCreditBlocksService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingDeliveryDocumentWithCreditBlocksService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.checkCreditBlock(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.
-
Constructor Details
-
DefaultDeliveryDocumentWithCreditBlocksService
public DefaultDeliveryDocumentWithCreditBlocksService()Deprecated.Creates a service usingDeliveryDocumentWithCreditBlocksService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultDeliveryDocumentWithCreditBlocksService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:DeliveryDocumentWithCreditBlocksServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceDeliveryDocumentWithCreditBlocksService- 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<DeliveryDocumentWithCreditBlocksServiceBatch>
-
getAllCreditBlockedDeliveryDoc
Deprecated.Description copied from interface:DeliveryDocumentWithCreditBlocksServiceFetch multipleCreditBlockedDeliveryDocentities.- Specified by:
getAllCreditBlockedDeliveryDocin interfaceDeliveryDocumentWithCreditBlocksService- 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 public CreditBlockedDeliveryDocByKeyFluentHelper getCreditBlockedDeliveryDocByKey(String deliveryDocument) Deprecated.Description copied from interface:DeliveryDocumentWithCreditBlocksServiceFetch a singleCreditBlockedDeliveryDocentity using key fields.- Specified by:
getCreditBlockedDeliveryDocByKeyin interfaceDeliveryDocumentWithCreditBlocksService- 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.Description copied from interface:DeliveryDocumentWithCreditBlocksServiceFetch multipleSalesDocumentRjcnReasonentities.- Specified by:
getAllSalesDocumentRjcnReasonin interfaceDeliveryDocumentWithCreditBlocksService- 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 public SalesDocumentRjcnReasonByKeyFluentHelper getSalesDocumentRjcnReasonByKey(String salesDocumentRjcnReason) Deprecated.Description copied from interface:DeliveryDocumentWithCreditBlocksServiceFetch a singleSalesDocumentRjcnReasonentity using key fields.- Specified by:
getSalesDocumentRjcnReasonByKeyin interfaceDeliveryDocumentWithCreditBlocksService- 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 public CheckCreditBlockFluentHelper checkCreditBlock(@Nonnull String deliveryDocument, @Nonnull String sDDocumentCategory) Deprecated.Description copied from interface:DeliveryDocumentWithCreditBlocksServiceCreates a fluent helper for the CheckCreditBlock OData function import.
- Specified by:
checkCreditBlockin interfaceDeliveryDocumentWithCreditBlocksService- 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 public RejectCreditBlockFluentHelper rejectCreditBlock(@Nonnull String deliveryDocument, @Nonnull String salesDocumentRjcnReason, @Nonnull String sDDocumentCategory) Deprecated.Description copied from interface:DeliveryDocumentWithCreditBlocksServiceCreates a fluent helper for the RejectCreditBlock OData function import.
- Specified by:
rejectCreditBlockin interfaceDeliveryDocumentWithCreditBlocksService- Parameters:
deliveryDocument- Constraints: noneOriginal parameter name from the Odata EDM: DeliveryDocument
salesDocumentRjcnReason- Constraints: noneOriginal parameter name from the Odata EDM: SalesDocumentRjcnReason
sDDocumentCategory- Constraints: noneOriginal parameter name from the Odata EDM: SDDocumentCategory
- 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 public ReleaseCreditBlockFluentHelper releaseCreditBlock(@Nonnull String sDDocumentCategory, @Nonnull String deliveryDocument) Deprecated.Description copied from interface:DeliveryDocumentWithCreditBlocksServiceCreates a fluent helper for the ReleaseCreditBlock OData function import.
- Specified by:
releaseCreditBlockin interfaceDeliveryDocumentWithCreditBlocksService- Parameters:
sDDocumentCategory- Constraints: noneOriginal parameter name from the Odata EDM: SDDocumentCategory
deliveryDocument- Constraints: noneOriginal parameter name from the Odata EDM: DeliveryDocument
- 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.
-