@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultDeliveryDocumentWithCreditBlocksService") public class DefaultDeliveryDocumentWithCreditBlocksService extends Object implements DeliveryDocumentWithCreditBlocksService
This synchronous inbound service enables you to read delivery documents that contain credit blocks, and check, release and reject the blocked delivery documents. It is based on the OData protocol and can be consumed in Fiori apps and on other user interfaces.
Reference: SAP API Business Hub
OData Service: | API_DEL_DOC_WITH_CREDIT_BLOCK |
API Version: | 1 |
Communication Scenario: | Sales Credit Management Integration (SAP_COM_0325) |
Scope Items: | Basic Credit Management (BD6) |
Authentication Methods: | Basic, x509, OAuth2 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultDeliveryDocumentWithCreditBlocksService()
Creates a service using
DeliveryDocumentWithCreditBlocksService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultDeliveryDocumentWithCreditBlocksService()
DeliveryDocumentWithCreditBlocksService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultDeliveryDocumentWithCreditBlocksService withServicePath(@Nonnull String servicePath)
DeliveryDocumentWithCreditBlocksService
withServicePath
in interface DeliveryDocumentWithCreditBlocksService
servicePath
- Service path that will override the default.@Nonnull public CreditBlockedDeliveryDocFluentHelper getAllCreditBlockedDeliveryDoc()
DeliveryDocumentWithCreditBlocksService
CreditBlockedDeliveryDoc
entities.getAllCreditBlockedDeliveryDoc
in interface DeliveryDocumentWithCreditBlocksService
CreditBlockedDeliveryDoc
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.@Nonnull public CreditBlockedDeliveryDocByKeyFluentHelper getCreditBlockedDeliveryDocByKey(String deliveryDocument)
DeliveryDocumentWithCreditBlocksService
CreditBlockedDeliveryDoc
entity using key fields.getCreditBlockedDeliveryDocByKey
in interface DeliveryDocumentWithCreditBlocksService
deliveryDocument
- The number that uniquely identifies the delivery.Constraints: Not nullable, Maximum length: 10
CreditBlockedDeliveryDoc
entity 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 the execute
method on the fluent helper object.@Nonnull public SalesDocumentRjcnReasonFluentHelper getAllSalesDocumentRjcnReason()
DeliveryDocumentWithCreditBlocksService
SalesDocumentRjcnReason
entities.getAllSalesDocumentRjcnReason
in interface DeliveryDocumentWithCreditBlocksService
SalesDocumentRjcnReason
entities. This fluent helper allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call the execute
method on the fluent helper object.@Nonnull public SalesDocumentRjcnReasonByKeyFluentHelper getSalesDocumentRjcnReasonByKey(String salesDocumentRjcnReason)
DeliveryDocumentWithCreditBlocksService
SalesDocumentRjcnReason
entity using key fields.getSalesDocumentRjcnReasonByKey
in interface DeliveryDocumentWithCreditBlocksService
salesDocumentRjcnReason
- The reason for rejecting a sales document (for example, a sales quotation or a sales order).Constraints: Not nullable, Maximum length: 2
SalesDocumentRjcnReason
entity 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 the execute
method on the fluent helper object.@Nonnull public CheckCreditBlockFluentHelper checkCreditBlock(String deliveryDocument, String sDDocumentCategory)
DeliveryDocumentWithCreditBlocksService
Creates a fluent helper for the CheckCreditBlock OData function import.
checkCreditBlock
in interface DeliveryDocumentWithCreditBlocksService
deliveryDocument
- Constraints: noneOriginal parameter name from the Odata EDM: DeliveryDocument
sDDocumentCategory
- Constraints: noneOriginal parameter name from the Odata EDM: SDDocumentCategory
execute
method on the fluent helper object.@Nonnull public RejectCreditBlockFluentHelper rejectCreditBlock(String deliveryDocument, String salesDocumentRjcnReason, String sDDocumentCategory)
DeliveryDocumentWithCreditBlocksService
Creates a fluent helper for the RejectCreditBlock OData function import.
rejectCreditBlock
in interface DeliveryDocumentWithCreditBlocksService
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
execute
method on the fluent helper object.@Nonnull public ReleaseCreditBlockFluentHelper releaseCreditBlock(String sDDocumentCategory, String deliveryDocument)
DeliveryDocumentWithCreditBlocksService
Creates a fluent helper for the ReleaseCreditBlock OData function import.
releaseCreditBlock
in interface DeliveryDocumentWithCreditBlocksService
sDDocumentCategory
- Constraints: noneOriginal parameter name from the Odata EDM: SDDocumentCategory
deliveryDocument
- Constraints: noneOriginal parameter name from the Odata EDM: DeliveryDocument
execute
method on the fluent helper object.Copyright © 2018 SAP SE. All rights reserved.