Class DefaultConvergentInvoicingDocumentService
- All Implemented Interfaces:
OperationsOnEntityCollections,ServiceWithNavigableEntities,ConvergentInvoicingDocumentService
This API enables you to read invoicing documents in Convergent Invoicing. You can read entire invoicing documents or only parts of the data, using the provided filters. In addition, you can also set or remove the print lock of an invoicing document using the corresponding actions. .
Reference: SAP Business Accelerator Hub
Details:
| OData Service: | CAINVOICINGDOCUMENT_0001 |
| API Version: | 1.0.0 |
| Minimum ERP Version: | 2302 |
| Communication Scenario: | Convergent Invoicing Integration(SAP_COM_0165) |
| Scope Items: | Convergent Invoicing - Invoice Creation for Usage and Service(2BG), Convergent Invoicing - Recurring and One-Off Items(2T3), Convergent Invoicing - Management and Rating of Consumption Items(3DX), Convergent Invoicing and Contract Accounting for Utilities(3L1), Convergent Invoicing: Invoice Creation for Usage and Service(OBG), Convergent Invoicing:Recurring and One-Off Items(OT3) |
| Authentication Methods: | x509 |
| Service Group Name: | API_CAINVOICINGDOCUMENT |
| Business Object: | Contract Accounting Invoicing Document |
-
Field Summary
Fields inherited from interface com.sap.cloud.sdk.s4hana.datamodel.odatav4.services.ConvergentInvoicingDocumentService
DEFAULT_SERVICE_PATH -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Creates a service usingConvergentInvoicingDocumentService.DEFAULT_SERVICE_PATHto send the requests. -
Method Summary
Modifier and TypeMethodDescriptionbatch()Deprecated.Creates a batch request builder object.Deprecated.Fetch the number of entries from theCAInvcgDocItementity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCAInvcgDocPostingentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCAInvcgDocSourceentity collection matching the filter and search expressions.Deprecated.Fetch the number of entries from theCAInvcgDocumententity collection matching the filter and search expressions.createCAInvcgDocument(CAInvcgDocument cAInvcgDocument) Deprecated.Create a newCAInvcgDocumententity and save it to the S/4HANA system.Deprecated.Fetch multipleCAInvcgDocItementities.Deprecated.Fetch multipleCAInvcgDocPostingentities.Deprecated.Fetch multipleCAInvcgDocSourceentities.Deprecated.Fetch multipleCAInvcgDocumententities.getCAInvcgDocItemByKey(String cAInvoicingDocument, String cAInvcgDocItem) Deprecated.Fetch a singleCAInvcgDocItementity using key fields.getCAInvcgDocPostingByKey(String cAInvoicingDocument, String cASequenceNumber) Deprecated.Fetch a singleCAInvcgDocPostingentity using key fields.getCAInvcgDocSourceByKey(String cAInvcgSourceDocumentCat, String cAInvcgSourceDocumentNumber, String cAInvoicingDocument) Deprecated.Fetch a singleCAInvcgDocSourceentity using key fields.getCAInvcgDocumentByKey(String cAInvoicingDocument) Deprecated.Fetch a singleCAInvcgDocumententity using key fields.Deprecated.withServicePath(String servicePath) Deprecated.Overrides the default service path and returns a new service instance with the specified service path.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sap.cloud.sdk.datamodel.odatav4.core.ServiceWithNavigableEntities
applyAction, applyAction, applyFunction, applyFunction, forEntity, withFunction, withFunction
-
Constructor Details
-
DefaultConvergentInvoicingDocumentService
public DefaultConvergentInvoicingDocumentService()Deprecated.Creates a service usingConvergentInvoicingDocumentService.DEFAULT_SERVICE_PATHto send the requests.
-
-
Method Details
-
withServicePath
@Nonnull public DefaultConvergentInvoicingDocumentService withServicePath(@Nonnull String servicePath) Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceOverrides the default service path and returns a new service instance with the specified service path. Also adjusts the respective entity URLs.- Specified by:
withServicePathin interfaceConvergentInvoicingDocumentService- Parameters:
servicePath- Service path that will override the default.- Returns:
- A new service instance with the specified service path.
-
batch
Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceCreates a batch request builder object.- Specified by:
batchin interfaceConvergentInvoicingDocumentService- Returns:
- A request builder to handle batch operation on this service. To perform execution, call the
executemethod on the request builder object.
-
getAllCAInvcgDocItem
Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch multipleCAInvcgDocItementities.- Specified by:
getAllCAInvcgDocItemin interfaceConvergentInvoicingDocumentService- Returns:
- A request builder to fetch multiple
CAInvcgDocItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countCAInvcgDocItem
Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch the number of entries from theCAInvcgDocItementity collection matching the filter and search expressions.- Specified by:
countCAInvcgDocItemin interfaceConvergentInvoicingDocumentService- Returns:
- A request builder to fetch the count of
CAInvcgDocItementities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getCAInvcgDocItemByKey
@Nonnull public GetByKeyRequestBuilder<CAInvcgDocItem> getCAInvcgDocItemByKey(String cAInvoicingDocument, String cAInvcgDocItem) Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch a singleCAInvcgDocItementity using key fields.- Specified by:
getCAInvcgDocItemByKeyin interfaceConvergentInvoicingDocumentService- Parameters:
cAInvoicingDocument- Number of Invoicing DocumentConstraints: Not nullable, Maximum length: 12
cAInvcgDocItem- Sequential Number of Document ItemConstraints: Not nullable, Maximum length: 8
- Returns:
- A request builder to fetch a single
CAInvcgDocItementity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllCAInvcgDocPosting
Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch multipleCAInvcgDocPostingentities.- Specified by:
getAllCAInvcgDocPostingin interfaceConvergentInvoicingDocumentService- Returns:
- A request builder to fetch multiple
CAInvcgDocPostingentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countCAInvcgDocPosting
Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch the number of entries from theCAInvcgDocPostingentity collection matching the filter and search expressions.- Specified by:
countCAInvcgDocPostingin interfaceConvergentInvoicingDocumentService- Returns:
- A request builder to fetch the count of
CAInvcgDocPostingentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getCAInvcgDocPostingByKey
@Nonnull public GetByKeyRequestBuilder<CAInvcgDocPosting> getCAInvcgDocPostingByKey(String cAInvoicingDocument, String cASequenceNumber) Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch a singleCAInvcgDocPostingentity using key fields.- Specified by:
getCAInvcgDocPostingByKeyin interfaceConvergentInvoicingDocumentService- Parameters:
cAInvoicingDocument- Number of Invoicing DocumentConstraints: Not nullable, Maximum length: 12
cASequenceNumber- Sequence NumberConstraints: Not nullable, Maximum length: 6
- Returns:
- A request builder to fetch a single
CAInvcgDocPostingentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllCAInvcgDocSource
Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch multipleCAInvcgDocSourceentities.- Specified by:
getAllCAInvcgDocSourcein interfaceConvergentInvoicingDocumentService- Returns:
- A request builder to fetch multiple
CAInvcgDocSourceentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countCAInvcgDocSource
Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch the number of entries from theCAInvcgDocSourceentity collection matching the filter and search expressions.- Specified by:
countCAInvcgDocSourcein interfaceConvergentInvoicingDocumentService- Returns:
- A request builder to fetch the count of
CAInvcgDocSourceentities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getCAInvcgDocSourceByKey
@Nonnull public GetByKeyRequestBuilder<CAInvcgDocSource> getCAInvcgDocSourceByKey(String cAInvcgSourceDocumentCat, String cAInvcgSourceDocumentNumber, String cAInvoicingDocument) Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch a singleCAInvcgDocSourceentity using key fields.- Specified by:
getCAInvcgDocSourceByKeyin interfaceConvergentInvoicingDocumentService- Parameters:
cAInvcgSourceDocumentCat- Category of Source Document To Be InvoicedConstraints: Not nullable, Maximum length: 5
cAInvcgSourceDocumentNumber- Source Document NumberConstraints: Not nullable, Maximum length: 20
cAInvoicingDocument- Number of Invoicing DocumentConstraints: Not nullable, Maximum length: 12
- Returns:
- A request builder to fetch a single
CAInvcgDocSourceentity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getAllCAInvcgDocument
Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch multipleCAInvcgDocumententities.- Specified by:
getAllCAInvcgDocumentin interfaceConvergentInvoicingDocumentService- Returns:
- A request builder to fetch multiple
CAInvcgDocumententities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
countCAInvcgDocument
Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch the number of entries from theCAInvcgDocumententity collection matching the filter and search expressions.- Specified by:
countCAInvcgDocumentin interfaceConvergentInvoicingDocumentService- Returns:
- A request builder to fetch the count of
CAInvcgDocumententities. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
getCAInvcgDocumentByKey
@Nonnull public GetByKeyRequestBuilder<CAInvcgDocument> getCAInvcgDocumentByKey(String cAInvoicingDocument) Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceFetch a singleCAInvcgDocumententity using key fields.- Specified by:
getCAInvcgDocumentByKeyin interfaceConvergentInvoicingDocumentService- Parameters:
cAInvoicingDocument- Number of Invoicing DocumentConstraints: Not nullable, Maximum length: 12
- Returns:
- A request builder to fetch a single
CAInvcgDocumententity using key fields. This request builder allows methods which modify the underlying query to be called before executing the query itself. To perform execution, call theexecutemethod on the request builder object.
-
createCAInvcgDocument
@Nonnull public CreateRequestBuilder<CAInvcgDocument> createCAInvcgDocument(@Nonnull CAInvcgDocument cAInvcgDocument) Deprecated.Description copied from interface:ConvergentInvoicingDocumentServiceCreate a newCAInvcgDocumententity and save it to the S/4HANA system.- Specified by:
createCAInvcgDocumentin interfaceConvergentInvoicingDocumentService- Parameters:
cAInvcgDocument-CAInvcgDocumententity object that will be created in the S/4HANA system.- Returns:
- A request builder to create a new
CAInvcgDocumententity. To perform execution, call theexecutemethod on the request builder object.
-
getServicePath
Deprecated.- Specified by:
getServicePathin interfaceServiceWithNavigableEntities
-