@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultSubsequentBillingDocumentService") public class DefaultSubsequentBillingDocumentService extends Object implements SubsequentBillingDocumentService
SAP Self-Billing Cockpit uses this service to retrieve details about billing documents in your system that were created with reference to existing billing documents in your system. For example, if a credit memo was created with reference to an invoice, the invoice is the preceding billing document and the credit memo is the subsequent billing document. The service makes the subsequent billing document's data available through a single service entity. This service is intended solely for the integration between SAP S/4HANA Cloud and SAP Self-Billing Cockpit and should not be used for any other purposes. .
Reference: SAP API Business Hub
OData Service: | API_SUBSQNT_BILLG_DOC_SBI_SRV |
API Version: | 1 |
Communication Scenario: | SAP Self-Billing Cockpit Integration (SAP_COM_0564) |
Scope Items: | Self-Billing (4H2) |
Authentication Methods: | Basic, x509 |
Business Object: | BillingDocument |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultSubsequentBillingDocumentService()
Creates a service using
SubsequentBillingDocumentService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultSubsequentBillingDocumentServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
SubsqntBillgDocForSelfBillgFluentHelper |
getAllSubsqntBillgDocForSelfBillg()
Fetch multiple
SubsqntBillgDocForSelfBillg entities. |
SubsqntBillgDocForSelfBillgByKeyFluentHelper |
getSubsqntBillgDocForSelfBillgByKey(String billingDocument,
String billingDocumentItem,
String subsequentDocument,
String subsequentDocumentItem)
Fetch a single
SubsqntBillgDocForSelfBillg entity using key fields. |
DefaultSubsequentBillingDocumentService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultSubsequentBillingDocumentService()
SubsequentBillingDocumentService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultSubsequentBillingDocumentService withServicePath(@Nonnull String servicePath)
SubsequentBillingDocumentService
withServicePath
in interface SubsequentBillingDocumentService
servicePath
- Service path that will override the default.@Nonnull public DefaultSubsequentBillingDocumentServiceBatch batch()
batch
in interface BatchService<SubsequentBillingDocumentServiceBatch>
@Nonnull public SubsqntBillgDocForSelfBillgFluentHelper getAllSubsqntBillgDocForSelfBillg()
SubsequentBillingDocumentService
SubsqntBillgDocForSelfBillg
entities.getAllSubsqntBillgDocForSelfBillg
in interface SubsequentBillingDocumentService
SubsqntBillgDocForSelfBillg
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 SubsqntBillgDocForSelfBillgByKeyFluentHelper getSubsqntBillgDocForSelfBillgByKey(String billingDocument, String billingDocumentItem, String subsequentDocument, String subsequentDocumentItem)
SubsequentBillingDocumentService
SubsqntBillgDocForSelfBillg
entity using key fields.getSubsqntBillgDocForSelfBillgByKey
in interface SubsequentBillingDocumentService
billingDocument
- The number that uniquely identifies the billing document (the invoice, for example).
Constraints: Not nullable, Maximum length: 10
billingDocumentItem
- Preceding Item of an SD Document
Constraints: Not nullable, Maximum length: 6
subsequentDocument
- Number that uniquely identifies the subsequent sales, delivery, or billing document (for example, the
sales order that you create from a previous quotation).
Constraints: Not nullable, Maximum length: 10
subsequentDocumentItem
- Number that uniquely identifies the item in the subsequent document (for example, in a sales order
that you created from a quotation).
Constraints: Not nullable, Maximum length: 6
SubsqntBillgDocForSelfBillg
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.Copyright © 2020 SAP SE. All rights reserved.