@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultChartOfAccountsService") public class DefaultChartOfAccountsService extends Object implements ChartOfAccountsService
The service enables you to retrieve chart of accounts and their names in the respective language..
Reference: SAP API Business Hub
OData Service: | API_CHARTOFACCOUNTS_SRV |
API Version: | 1 |
Communication Scenario: | SAP Analytics Cloud for Planning Integration (SAP_COM_0087), Finance - Cloud Consolidation Data Collection Integration (SAP_COM_0241) |
Scope Items: | Import Connection setup with SAP Analytics Cloud (1YB), Group Reporting - Data from SAP Group Reporting Data Collection (287) |
Authentication Methods: | Basic, x509 |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultChartOfAccountsService()
Creates a service using
ChartOfAccountsService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultChartOfAccountsServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
ChartOfAccountsFluentHelper |
getAllChartOfAccounts()
Fetch multiple
ChartOfAccounts entities. |
ChartOfAccountsTextFluentHelper |
getAllChartOfAccountsText()
Fetch multiple
ChartOfAccountsText entities. |
ChartOfAccountsByKeyFluentHelper |
getChartOfAccountsByKey(String chartOfAccounts)
Fetch a single
ChartOfAccounts entity using key fields. |
ChartOfAccountsTextByKeyFluentHelper |
getChartOfAccountsTextByKey(String chartOfAccounts,
String language)
Fetch a single
ChartOfAccountsText entity using key fields. |
DefaultChartOfAccountsService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultChartOfAccountsService()
ChartOfAccountsService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultChartOfAccountsService withServicePath(@Nonnull String servicePath)
ChartOfAccountsService
withServicePath
in interface ChartOfAccountsService
servicePath
- Service path that will override the default.@Nonnull public DefaultChartOfAccountsServiceBatch batch()
batch
in interface BatchService<ChartOfAccountsServiceBatch>
@Nonnull public ChartOfAccountsFluentHelper getAllChartOfAccounts()
ChartOfAccountsService
ChartOfAccounts
entities.getAllChartOfAccounts
in interface ChartOfAccountsService
ChartOfAccounts
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 ChartOfAccountsByKeyFluentHelper getChartOfAccountsByKey(String chartOfAccounts)
ChartOfAccountsService
ChartOfAccounts
entity using key fields.getChartOfAccountsByKey
in interface ChartOfAccountsService
chartOfAccounts
- Chart of Accounts
Constraints: Not nullable, Maximum length: 4
ChartOfAccounts
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 ChartOfAccountsTextFluentHelper getAllChartOfAccountsText()
ChartOfAccountsService
ChartOfAccountsText
entities.getAllChartOfAccountsText
in interface ChartOfAccountsService
ChartOfAccountsText
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 ChartOfAccountsTextByKeyFluentHelper getChartOfAccountsTextByKey(String chartOfAccounts, String language)
ChartOfAccountsService
ChartOfAccountsText
entity using key fields.getChartOfAccountsTextByKey
in interface ChartOfAccountsService
chartOfAccounts
- Key that uniquely identifies a chart of accounts.
Constraints: Not nullable, Maximum length: 4
language
- The language key indicates
Constraints: Not nullable, Maximum length: 2
ChartOfAccountsText
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.