@Named(value="com.sap.cloud.sdk.s4hana.onpremise.v2020.datamodel.odata.services.DefaultJournalEntryItemService") public class DefaultJournalEntryItemService extends Object implements JournalEntryItemService
The service contains journal entry items and master data of the referenced company code, cost center, profit center. This API call 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: | OP_API_JOURNALENTRYITEMBASIC_SRV_0001 |
API Version: | 1 |
Minimum ERP Version: | 2020 |
Authentication Methods: | Basic, x509 |
Business Object: | Journal Entry |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultJournalEntryItemService()
Creates a service using
JournalEntryItemService.DEFAULT_SERVICE_PATH to send the requests. |
public DefaultJournalEntryItemService()
JournalEntryItemService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultJournalEntryItemService withServicePath(@Nonnull String servicePath)
JournalEntryItemService
withServicePath
in interface JournalEntryItemService
servicePath
- Service path that will override the default.@Nonnull public DefaultJournalEntryItemServiceBatch batch()
batch
in interface BatchService<JournalEntryItemServiceBatch>
@Nonnull public CompanyCodeFluentHelper getAllCompanyCode()
JournalEntryItemService
CompanyCode
entities.getAllCompanyCode
in interface JournalEntryItemService
CompanyCode
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 CompanyCodeByKeyFluentHelper getCompanyCodeByKey(String companyCode)
JournalEntryItemService
CompanyCode
entity using key fields.getCompanyCodeByKey
in interface JournalEntryItemService
companyCode
- Company Code
Constraints: Not nullable, Maximum length: 4
CompanyCode
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 CostCenterFluentHelper getAllCostCenter()
JournalEntryItemService
CostCenter
entities.getAllCostCenter
in interface JournalEntryItemService
CostCenter
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 CostCenterByKeyFluentHelper getCostCenterByKey(String controllingArea, String costCenter, LocalDateTime validityEndDate)
JournalEntryItemService
CostCenter
entity using key fields.getCostCenterByKey
in interface JournalEntryItemService
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
costCenter
- Cost Center
Constraints: Not nullable, Maximum length: 10
validityEndDate
- Valid To Date
Constraints: Not nullable, Precision: 0
CostCenter
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 GLAccountInChartOfAccountsFluentHelper getAllGLAccountInChartOfAccounts()
JournalEntryItemService
GLAccountInChartOfAccounts
entities.getAllGLAccountInChartOfAccounts
in interface JournalEntryItemService
GLAccountInChartOfAccounts
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 GLAccountInChartOfAccountsByKeyFluentHelper getGLAccountInChartOfAccountsByKey(String chartOfAccounts, String gLAccount)
JournalEntryItemService
GLAccountInChartOfAccounts
entity using key fields.getGLAccountInChartOfAccountsByKey
in interface JournalEntryItemService
chartOfAccounts
- Chart of Accounts
Constraints: Not nullable, Maximum length: 4
gLAccount
- G/L Account Number
Constraints: Not nullable, Maximum length: 10
GLAccountInChartOfAccounts
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 JournalEntryItemBasicFluentHelper getAllJournalEntryItemBasic()
JournalEntryItemService
JournalEntryItemBasic
entities.getAllJournalEntryItemBasic
in interface JournalEntryItemService
JournalEntryItemBasic
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 JournalEntryItemBasicByKeyFluentHelper getJournalEntryItemBasicByKey(String iD)
JournalEntryItemService
JournalEntryItemBasic
entity using key fields.getJournalEntryItemBasicByKey
in interface JournalEntryItemService
JournalEntryItemBasic
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 ProfitCenterFluentHelper getAllProfitCenter()
JournalEntryItemService
ProfitCenter
entities.getAllProfitCenter
in interface JournalEntryItemService
ProfitCenter
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 ProfitCenterByKeyFluentHelper getProfitCenterByKey(String controllingArea, String profitCenter, LocalDateTime validityEndDate)
JournalEntryItemService
ProfitCenter
entity using key fields.getProfitCenterByKey
in interface JournalEntryItemService
controllingArea
- Controlling Area
Constraints: Not nullable, Maximum length: 4
profitCenter
- Profit Center
Constraints: Not nullable, Maximum length: 10
validityEndDate
- Valid To Date
Constraints: Not nullable, Precision: 0
ProfitCenter
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.