@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultGeneralLedgerAccountLineItemService") public class DefaultGeneralLedgerAccountLineItemService extends Object implements GeneralLedgerAccountLineItemService
This service enables you to retrieve accounting-specific information from all journal entries in Financials. You can read journal entry items and detailed information for ledger, company code, ledger fiscal year, G/L account and optionally segment, profit center, cost center and other fields..
Reference: SAP API Business Hub
OData Service: | API_GLACCOUNTLINEITEM |
API Version: | 1 |
Communication Scenario: | Finance - Accounting Analytics Integration (SAP_COM_0303) |
Scope Items: | Accounting and Financial Close (J58), Accounting and Financial Close (O58) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultGeneralLedgerAccountLineItemService()
Creates a service using
GeneralLedgerAccountLineItemService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultGeneralLedgerAccountLineItemServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
GLAccountLineItemFluentHelper |
getAllGLAccountLineItem()
Fetch multiple
GLAccountLineItem entities. |
GLAccountLineItemByKeyFluentHelper |
getGLAccountLineItemByKey(String iD)
Fetch a single
GLAccountLineItem entity using key fields. |
DefaultGeneralLedgerAccountLineItemService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultGeneralLedgerAccountLineItemService()
GeneralLedgerAccountLineItemService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultGeneralLedgerAccountLineItemService withServicePath(@Nonnull String servicePath)
GeneralLedgerAccountLineItemService
withServicePath
in interface GeneralLedgerAccountLineItemService
servicePath
- Service path that will override the default.@Nonnull public DefaultGeneralLedgerAccountLineItemServiceBatch batch()
batch
in interface BatchService<GeneralLedgerAccountLineItemServiceBatch>
@Nonnull public GLAccountLineItemFluentHelper getAllGLAccountLineItem()
GeneralLedgerAccountLineItemService
GLAccountLineItem
entities.getAllGLAccountLineItem
in interface GeneralLedgerAccountLineItemService
GLAccountLineItem
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 GLAccountLineItemByKeyFluentHelper getGLAccountLineItemByKey(String iD)
GeneralLedgerAccountLineItemService
GLAccountLineItem
entity using key fields.getGLAccountLineItemByKey
in interface GeneralLedgerAccountLineItemService
GLAccountLineItem
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 © 2021 SAP SE. All rights reserved.