public interface SalesDocumentWithCreditBlocksService extends BatchService<SalesDocumentWithCreditBlocksServiceBatch>
This synchronous inbound service enables you to retrieve sales documents that contain credit blocks, check, release and reject the blocked sales documents with data provided in a sales document. 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_SLS_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 |
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_SERVICE_PATH
If no other path was provided via the
withServicePath(String) method, this is the default service path
used to access the endpoint. |
batch
static final String DEFAULT_SERVICE_PATH
withServicePath(String)
method, this is the default service path
used to access the endpoint.@Nonnull SalesDocumentWithCreditBlocksService withServicePath(@Nonnull String servicePath)
servicePath
- Service path that will override the default.@Nonnull CreditBlockedSalesDocumentFluentHelper getAllCreditBlockedSalesDocument()
CreditBlockedSalesDocument
entities.CreditBlockedSalesDocument
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 CreditBlockedSalesDocumentByKeyFluentHelper getCreditBlockedSalesDocumentByKey(String salesDocument)
CreditBlockedSalesDocument
entity using key fields.salesDocument
- The number that uniquely identifies the sales document.
Constraints: Not nullable, Maximum length: 10
CreditBlockedSalesDocument
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 SalesDocumentRjcnReasonFluentHelper getAllSalesDocumentRjcnReason()
SalesDocumentRjcnReason
entities.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 SalesDocumentRjcnReasonByKeyFluentHelper getSalesDocumentRjcnReasonByKey(String salesDocumentRjcnReason)
SalesDocumentRjcnReason
entity using key fields.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 CheckCreditBlockFluentHelper checkCreditBlock(String salesDocument, String sDDocumentCategory)
Creates a fluent helper for the CheckCreditBlock OData function import.
salesDocument
- Constraints: none
Original parameter name from the Odata EDM: SalesDocument
sDDocumentCategory
- Constraints: none
Original parameter name from the Odata EDM: SDDocumentCategory
execute
method on the fluent helper object.@Nonnull RejectCreditBlockFluentHelper rejectCreditBlock(String salesDocument, String rejectionCode, String sDDocumentCategory)
Creates a fluent helper for the RejectCreditBlock OData function import.
salesDocument
- Constraints: none
Original parameter name from the Odata EDM: SalesDocument
rejectionCode
- Constraints: none
Original parameter name from the Odata EDM: RejectionCode
sDDocumentCategory
- Constraints: none
Original parameter name from the Odata EDM: SDDocumentCategory
execute
method on the fluent helper object.@Nonnull ReleaseCreditBlockFluentHelper releaseCreditBlock(String sDDocumentCategory, String salesDocument)
Creates a fluent helper for the ReleaseCreditBlock OData function import.
salesDocument
- Constraints: none
Original parameter name from the Odata EDM: SalesDocument
sDDocumentCategory
- Constraints: none
Original parameter name from the Odata EDM: SDDocumentCategory
execute
method on the fluent helper object.Copyright © 2019 SAP SE. All rights reserved.