Table
BankCodaAccountStatementLines
Bank statement details
Detail lines of CODA bank statements. Each line holds the amounts, dates, bank references, details of the opposite party and the transaction family, type and category. It links back to the statement header and to ledger, tax and settlement information. The table has no defined key. A GUID in LineId identifies a line.
- Table name
BankCodaAccountStatementLines- Module
Bank- Table group
TransactionLine- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (47)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountIdThe bank account that the statement line belongs to. | StringCompanyBankAccountId | No | BankAccountTable.AccountIDBankCodaAccountTable.AccountID | BankCodaAccountStatementLinesEntity |
AccountStatementNumThe number of the bank statement that holds the line. | String (20)BankAccountStatementNum | No | BankCodaAccountStatement.AccountStatementNum | BankCodaAccountStatementLinesEntity |
AccountTypeThe type of account the line refers to: ledger, customer, vendor or none. | EnumBankCodaLedgerJournalACType (enum) | No | BankCodaAccountStatementLinesEntity | |
AmountCurThe line amount in the accounting currency. | RealAmountCur | No | BankCodaAccountStatementLinesEntity | |
AmountCurReadThe amount as it was read in from the imported file. | RealAmountCur | No | BankCodaAccountStatementLinesEntity | |
AmountMSTThe line amount in the company's accounting currency. | RealAmountMST | No | BankCodaAccountStatementLinesEntity | |
BankRefNumberThe reference number given by the bank. | String (13)BankRefNumberCODA | No | BankCodaAccountStatementLinesEntity | |
CashDiscLinkedYes/no flag that shows whether a cash discount is linked. | EnumNoYesIdNoYes (enum) | No | BankCodaAccountStatementLinesEntity | |
CodaSettlementTypeShows whether the line is not settled, settled or partially settled. | EnumBankCodaSettlementType (enum) | No | BankCodaAccountStatementLinesEntity | |
CustRefThe customer reference on the line. | String (60)CodaCustRef | No | BankCodaAccountStatementLinesEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DatePostedThe date the line was posted. | DateDatePosted | No | BankCodaAccountStatementLinesEntity | |
DetailNumberThe detail number of the line within a sequence. | String (4)BankCODASequenceNumber | No | BankCodaAccountStatementLinesEntity | |
ExternalBankRefNumberThe reference number from the external bank. | String (11)ExternalBankRefNumber | No | BankCodaAccountStatementLinesEntity | |
GlobalisationCodeShows whether the line is a global or details entry, or neither. | EnumGlobalisationCode (enum) | No | BankCodaAccountStatementLinesEntity | |
GlobalisationIdPurpose not clear from the metadata.low confidence | Real | No | BankCodaAccountStatementLinesEntity | |
HasProcessErrorsYes/no flag that shows whether processing the line produced errors. | EnumNoYesIdNoYes (enum) | No | BankCodaAccountStatementLinesEntity | |
InvoiceIdThe invoice number or numbers given on the line. | String (106)BankCodaInvoiceId | No | BankCodaAccountStatementLinesEntity | |
LedgerDimensionThe ledger account and dimension combination assigned to the line. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | BankCodaAccountStatementLinesEntity |
LineIdA GUID that identifies the line. | GuidSysGuid | No | BankCodaAccountStatementLinesEntityBankCodaAccountStatementLinesEntity | |
LogA note or log text for the line. | String (-1)Notes | No | BankCodaAccountStatementLinesEntity | |
MessageThe message text that came with the line. | String (-1)Notes | No | BankCodaAccountStatementLinesEntity | |
MessageTypeShows whether the message is structured or not structured. | EnumMessageType (enum) | No | BankCodaAccountStatementLinesEntity | |
OrigCurrencyThe original currency of the line. | String (3)CurrencyCode | No | Currency.CurrencyCode | BankCodaAccountStatementLinesEntity |
OtherPartyAddressThe address of the opposite party. | String (35)OtherPartyAddress | No | BankCodaAccountStatementLinesEntity | |
OtherPartyBankAccountIDThe bank account number of the opposite party. | String (48)BankAccount | No | BankCodaAccountStatementLinesEntity | |
OtherPartyCityThe city of the opposite party. | String (35)OtherPartyCity | No | BankCodaAccountStatementLinesEntity | |
OtherPartyExternalAccountThe customer or vendor account number of the opposite party. | String (20)ExternalAccount | No | BankCodaAccountStatementLinesEntity | |
OtherPartyInternalCodesInternal codes for the opposite party. | StringOtherPartyInternalCodes | No | BankCodaAccountStatementLinesEntity | |
OtherPartyNameThe name of the opposite party. | String (26)OtherPartyName | No | BankCodaAccountStatementLinesEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProcessedYes/no flag that shows whether the line is completed. | EnumNoYesIdNoYes (enum) | No | BankCodaAccountStatementLinesEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefRecIdThe system record ID of a related statement line. | Int64RefRecId | No | BankCodaAccountStatementLines.RecId | BankCodaAccountStatementLinesEntity |
SequenceNumberThe sequence number of the line. | String (4)BankCODASequenceNumber | No | BankCodaAccountStatementLinesEntity | |
StatementDateThe date of the bank statement that holds the line. | DateTransDate | No | BankCodaAccountStatement.AccountStatementDate | BankCodaAccountStatementLinesEntity |
StructuredMessageTypeThe kind of payment slip or attachment that goes with the structured message, such as FIK or Blue slip. | EnumPaymentStub (enum) | No | BankCodaAccountStatementLinesEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroupThe sales tax group assigned to the line. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | BankCodaAccountStatementLinesEntity |
TaxItemGroupThe item sales tax group assigned to the line. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | BankCodaAccountStatementLinesEntity |
TransactionThe CODA transaction code of the line. | String (2)BankTransCoda | No | BankCodaTrans.TransactionBankCodaTransCategory.Transaction | BankCodaAccountStatementLinesEntity |
TransactionCategoryThe CODA transaction category code of the line. | String (3)BankTransCategoryCoda | No | BankCodaTransCategory.TransactionCategory | BankCodaAccountStatementLinesEntity |
TransactionFamilyThe CODA transaction group code of the line. | String (2)BankTransFamilyCoda | No | BankCodaTransFamily.TransactionFamily | BankCodaAccountStatementLinesEntity |
TransactionTypeThe kind of line, such as movement, free message, info, opening balance or ending balance. | EnumBankCodaTransactionType (enum) | No | BankCodaAccountStatementLinesEntity | |
TransDateThe transaction date of the line. | DateTransDate | No | BankCodaAccountStatementLinesEntity |
Indexes (6)
TransactionIdxTransactionFamily,Transaction,TransactionCategoryNot unique.
LedgerDimensionIdxNot unique.
LineIdxUnique, alternate key.
DetailsIdxSequenceNumber,RefRecId,TransactionType,DetailNumber,GlobalisationCodeNot unique.
SumIdxAccountId,AccountStatementNum,StatementDate,DetailNumber,SequenceNumberNot unique.
SequenceNumberIdxNot unique.
Relations (12)
Each relation joins BankCodaAccountStatementLines to another table on the fields shown.
BankAccountTable→BankAccountTableJoin on
AccountId = BankAccountTable.AccountIDMany BankCodaAccountStatementLines records → zero or one BankAccountTable record
BankCodaAccountStatementLines→BankCodaAccountStatementLinesJoin on
RefRecId = BankCodaAccountStatementLines.RecIdMany BankCodaAccountStatementLines records → zero or one BankCodaAccountStatementLines record
BankCodaAccountTable→BankCodaAccountTableJoin on
AccountId = BankCodaAccountTable.AccountIDMany BankCodaAccountStatementLines records → zero or one BankCodaAccountTable record
BankCodaTrans→BankCodaTransJoin on
Transaction = BankCodaTrans.Transaction,TransactionFamily = BankCodaTrans.TransactionFamilyMany BankCodaAccountStatementLines records → zero or one BankCodaTrans record
BankCodaTransCategory→BankCodaTransCategoryJoin on
TransactionCategory = BankCodaTransCategory.TransactionCategory,Transaction = BankCodaTransCategory.Transaction,TransactionFamily = BankCodaTransCategory.TransactionFamilyMany BankCodaAccountStatementLines records → zero or one BankCodaTransCategory record
BankCodaTransFamily→BankCodaTransFamilyJoin on
TransactionFamily = BankCodaTransFamily.TransactionFamilyMany BankCodaAccountStatementLines records → zero or one BankCodaTransFamily record
Currency→CurrencyJoin on
OrigCurrency = Currency.CurrencyCodeMany BankCodaAccountStatementLines records → zero or one Currency record
LedgerDimension→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany BankCodaAccountStatementLines records → zero or one DimensionAttributeValueCombination record
SpecTrans→SpecTransJoin on
TableId = SpecTrans.SpecTableId,RecId = SpecTrans.SpecRecId,dataAreaId = SpecTrans.SpecCompanyMany BankCodaAccountStatementLines records → exactly one SpecTrans record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany BankCodaAccountStatementLines records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany BankCodaAccountStatementLines records → zero or one TaxItemGroupHeading record
BankCodaAccountStatement→BankCodaAccountStatementJoin on
StatementDate = BankCodaAccountStatement.AccountStatementDate,AccountStatementNum = BankCodaAccountStatement.AccountStatementNum,AccountId = BankCodaAccountStatement.AccountIdMany BankCodaAccountStatementLines records → zero or one BankCodaAccountStatement record
Get this data out
Tables are not exposed directly. These public entities read from BankCodaAccountStatementLines; use one of them in Power BI, Power Platform or a data management project.
BankCodaAccountStatementLinesEntity· 42 fields from this table
Need help with BankCodaAccountStatementLines in a report, an integration or a migration? Talk to Dr Dynamics.