@Named(value="com.sap.cloud.sdk.s4hana.datamodel.odata.services.DefaultBankReconciliationStatementService") public class DefaultBankReconciliationStatementService extends Object implements BankReconciliationStatementService
The service contains bank reconciliation items, bank reconciliation statements, journal entry items and bank statement items. The bank reconciliation items provide the G/L account balance, bank account balance and reconciliation status of all house bank accounts. The “StartReconcile” operation can start automatic reconciliation and generate bank reconciliation statement in the backend. If there are any issues when the bank reconciliation statement is created, the system displays error messages in the response. .
Reference: SAP API Business Hub
OData Service: | API_CN_BANK_RECONCILIAITON_SRV |
API Version: | 1 |
Communication Scenario: | Finance - Bank Reconciliation Integration (SAP_COM_0388) |
Scope Items: | Bank Integration with File Interface (1EG) |
Authentication Methods: | Basic, x509 |
Business Object: | BankAccount |
DEFAULT_SERVICE_PATH
Constructor and Description |
---|
DefaultBankReconciliationStatementService()
Creates a service using
BankReconciliationStatementService.DEFAULT_SERVICE_PATH to send the requests. |
Modifier and Type | Method and Description |
---|---|
DefaultBankReconciliationStatementServiceBatch |
batch()
Instantiate a new FluentHelper instance for a single OData batch request.
|
BankReconciliationItemFluentHelper |
getAllBankReconciliationItem()
Fetch multiple
BankReconciliationItem entities. |
BankReconciliationStatementFluentHelper |
getAllBankReconciliationStatement()
Fetch multiple
BankReconciliationStatement entities. |
BankStatementItemFluentHelper |
getAllBankStatementItem()
Fetch multiple
BankStatementItem entities. |
JournalEntryItemFluentHelper |
getAllJournalEntryItem()
Fetch multiple
JournalEntryItem entities. |
BankReconciliationItemByKeyFluentHelper |
getBankReconciliationItemByKey(String companyCode,
String houseBank,
String houseBankAccount,
LocalDateTime bankReconciliationDate)
Fetch a single
BankReconciliationItem entity using key fields. |
BankReconciliationStatementByKeyFluentHelper |
getBankReconciliationStatementByKey(String companyCode,
String houseBank,
String houseBankAccount,
LocalDateTime bankReconciliationDate)
Fetch a single
BankReconciliationStatement entity using key fields. |
BankStatementItemByKeyFluentHelper |
getBankStatementItemByKey(String companyCode,
String houseBank,
String houseBankAccount,
LocalDateTime bankReconciliationDate,
String bankStatementShortID,
String bankStatementItem)
Fetch a single
BankStatementItem entity using key fields. |
JournalEntryItemByKeyFluentHelper |
getJournalEntryItemByKey(String companyCode,
String houseBank,
String houseBankAccount,
LocalDateTime bankReconciliationDate,
String fiscalYear,
String accountingDocument,
String accountingDocumentItem)
Fetch a single
JournalEntryItem entity using key fields. |
StartReconcileFluentHelper |
startReconcile(LocalDateTime bankReconciliationDate,
String houseBankAccount,
String houseBank,
String companyCode)
Creates a fluent helper for the StartReconcile OData function import.
|
DefaultBankReconciliationStatementService |
withServicePath(String servicePath)
Overrides the default service path and returns a new service instance with the specified service path.
|
public DefaultBankReconciliationStatementService()
BankReconciliationStatementService.DEFAULT_SERVICE_PATH
to send the requests.@Nonnull public DefaultBankReconciliationStatementService withServicePath(@Nonnull String servicePath)
BankReconciliationStatementService
withServicePath
in interface BankReconciliationStatementService
servicePath
- Service path that will override the default.@Nonnull public DefaultBankReconciliationStatementServiceBatch batch()
batch
in interface BatchService<BankReconciliationStatementServiceBatch>
@Nonnull public BankStatementItemFluentHelper getAllBankStatementItem()
BankReconciliationStatementService
BankStatementItem
entities.getAllBankStatementItem
in interface BankReconciliationStatementService
BankStatementItem
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 BankStatementItemByKeyFluentHelper getBankStatementItemByKey(String companyCode, String houseBank, String houseBankAccount, LocalDateTime bankReconciliationDate, String bankStatementShortID, String bankStatementItem)
BankReconciliationStatementService
BankStatementItem
entity using key fields.getBankStatementItemByKey
in interface BankReconciliationStatementService
companyCode
- The company code is an organizational unit within financial accounting.
Constraints: Not nullable, Maximum length: 4
houseBank
- All bank data is determined using this key.
Constraints: Not nullable, Maximum length: 5
houseBankAccount
- This ID together with the ID for the house bank uniquely defines a bank account.
Constraints: Not nullable, Maximum length: 5
bankReconciliationDate
- Reconciliation Date
Constraints: Not nullable, Precision: 0
bankStatementShortID
- Short Key (Surrogate)
Constraints: Not nullable, Maximum length: 8
bankStatementItem
- Memo Record Number (Line Item Number in Bank Statement)
Constraints: Not nullable, Maximum length: 5
BankStatementItem
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 BankReconciliationItemFluentHelper getAllBankReconciliationItem()
BankReconciliationStatementService
BankReconciliationItem
entities.getAllBankReconciliationItem
in interface BankReconciliationStatementService
BankReconciliationItem
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 BankReconciliationItemByKeyFluentHelper getBankReconciliationItemByKey(String companyCode, String houseBank, String houseBankAccount, LocalDateTime bankReconciliationDate)
BankReconciliationStatementService
BankReconciliationItem
entity using key fields.getBankReconciliationItemByKey
in interface BankReconciliationStatementService
companyCode
- The company code is an organizational unit within financial accounting.
Constraints: Not nullable, Maximum length: 4
houseBank
- All bank data is determined using this key.
Constraints: Not nullable, Maximum length: 5
houseBankAccount
- This ID together with the ID for the house bank uniquely defines a bank account.
Constraints: Not nullable, Maximum length: 5
bankReconciliationDate
- Reconciliation Date
Constraints: Not nullable, Precision: 0
BankReconciliationItem
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 BankReconciliationStatementFluentHelper getAllBankReconciliationStatement()
BankReconciliationStatementService
BankReconciliationStatement
entities.getAllBankReconciliationStatement
in interface BankReconciliationStatementService
BankReconciliationStatement
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 BankReconciliationStatementByKeyFluentHelper getBankReconciliationStatementByKey(String companyCode, String houseBank, String houseBankAccount, LocalDateTime bankReconciliationDate)
BankReconciliationStatementService
BankReconciliationStatement
entity using key fields.getBankReconciliationStatementByKey
in interface BankReconciliationStatementService
companyCode
- The company code is an organizational unit within financial accounting.
Constraints: Not nullable, Maximum length: 4
houseBank
- All bank data is determined using this key.
Constraints: Not nullable, Maximum length: 5
houseBankAccount
- This ID together with the ID for the house bank uniquely defines a bank account.
Constraints: Not nullable, Maximum length: 5
bankReconciliationDate
- Reconciliation Date
Constraints: Not nullable, Precision: 0
BankReconciliationStatement
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 JournalEntryItemFluentHelper getAllJournalEntryItem()
BankReconciliationStatementService
JournalEntryItem
entities.getAllJournalEntryItem
in interface BankReconciliationStatementService
JournalEntryItem
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 JournalEntryItemByKeyFluentHelper getJournalEntryItemByKey(String companyCode, String houseBank, String houseBankAccount, LocalDateTime bankReconciliationDate, String fiscalYear, String accountingDocument, String accountingDocumentItem)
BankReconciliationStatementService
JournalEntryItem
entity using key fields.getJournalEntryItemByKey
in interface BankReconciliationStatementService
companyCode
- The company code is an organizational unit within financial accounting.
Constraints: Not nullable, Maximum length: 4
houseBank
- All bank data is determined using this key.
Constraints: Not nullable, Maximum length: 5
houseBankAccount
- This ID together with the ID for the house bank uniquely defines a bank account.
Constraints: Not nullable, Maximum length: 5
bankReconciliationDate
- Reconciliation Date
Constraints: Not nullable, Precision: 0
fiscalYear
- Period, 12 months as a rule, for which the company is to create its inventory and balance sheet. The
fiscal year can be the same as the calendar year, but does not have to be.
Constraints: Not nullable, Maximum length: 4
accountingDocument
- The document number is the key the system uses to access the accounting document.
Constraints: Not nullable, Maximum length: 10
accountingDocumentItem
- All the items in an accounting document contain a number by which they may be uniquely identified. The
system assigns the numbers continuously during document entry.
Constraints: Not nullable, Maximum length: 6
JournalEntryItem
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 StartReconcileFluentHelper startReconcile(LocalDateTime bankReconciliationDate, String houseBankAccount, String houseBank, String companyCode)
BankReconciliationStatementService
Creates a fluent helper for the StartReconcile OData function import.
startReconcile
in interface BankReconciliationStatementService
bankReconciliationDate
- Time Stamp
Constraints: Not nullable, Precision: 0
Original parameter name from the Odata EDM: BankReconciliationDate
houseBankAccount
- Constraints: Not nullable, Maximum length: 5
Original parameter name from the Odata EDM: HouseBankAccount
houseBank
- Constraints: Not nullable, Maximum length: 5
Original parameter name from the Odata EDM: HouseBank
companyCode
- Constraints: Not nullable, Maximum length: 4
Original parameter name from the Odata EDM: CompanyCode
execute
method on the fluent helper object.Copyright © 2020 SAP SE. All rights reserved.