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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountIdThe bank account that the statement line belongs to.String
CompanyBankAccountId
NoBankAccountTable.AccountIDBankCodaAccountTable.AccountIDBankCodaAccountStatementLinesEntity
AccountStatementNumThe number of the bank statement that holds the line.String (20)
BankAccountStatementNum
NoBankCodaAccountStatement.AccountStatementNumBankCodaAccountStatementLinesEntity
AccountTypeThe type of account the line refers to: ledger, customer, vendor or none.Enum
BankCodaLedgerJournalACType (enum)
NoBankCodaAccountStatementLinesEntity
AmountCurThe line amount in the accounting currency.Real
AmountCur
NoBankCodaAccountStatementLinesEntity
AmountCurReadThe amount as it was read in from the imported file.Real
AmountCur
NoBankCodaAccountStatementLinesEntity
AmountMSTThe line amount in the company's accounting currency.Real
AmountMST
NoBankCodaAccountStatementLinesEntity
BankRefNumberThe reference number given by the bank.String (13)
BankRefNumberCODA
NoBankCodaAccountStatementLinesEntity
CashDiscLinkedYes/no flag that shows whether a cash discount is linked.Enum
NoYesId
NoYes (enum)
NoBankCodaAccountStatementLinesEntity
CodaSettlementTypeShows whether the line is not settled, settled or partially settled.Enum
BankCodaSettlementType (enum)
NoBankCodaAccountStatementLinesEntity
CustRefThe customer reference on the line.String (60)
CodaCustRef
NoBankCodaAccountStatementLinesEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DatePostedThe date the line was posted.Date
DatePosted
NoBankCodaAccountStatementLinesEntity
DetailNumberThe detail number of the line within a sequence.String (4)
BankCODASequenceNumber
NoBankCodaAccountStatementLinesEntity
ExternalBankRefNumberThe reference number from the external bank.String (11)
ExternalBankRefNumber
NoBankCodaAccountStatementLinesEntity
GlobalisationCodeShows whether the line is a global or details entry, or neither.Enum
GlobalisationCode (enum)
NoBankCodaAccountStatementLinesEntity
GlobalisationIdPurpose not clear from the metadata.low confidenceRealNoBankCodaAccountStatementLinesEntity
HasProcessErrorsYes/no flag that shows whether processing the line produced errors.Enum
NoYesId
NoYes (enum)
NoBankCodaAccountStatementLinesEntity
InvoiceIdThe invoice number or numbers given on the line.String (106)
BankCodaInvoiceId
NoBankCodaAccountStatementLinesEntity
LedgerDimensionThe ledger account and dimension combination assigned to the line.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdBankCodaAccountStatementLinesEntity
LineIdA GUID that identifies the line.Guid
SysGuid
NoBankCodaAccountStatementLinesEntityBankCodaAccountStatementLinesEntity
LogA note or log text for the line.String (-1)
Notes
NoBankCodaAccountStatementLinesEntity
MessageThe message text that came with the line.String (-1)
Notes
NoBankCodaAccountStatementLinesEntity
MessageTypeShows whether the message is structured or not structured.Enum
MessageType (enum)
NoBankCodaAccountStatementLinesEntity
OrigCurrencyThe original currency of the line.String (3)
CurrencyCode
NoCurrency.CurrencyCodeBankCodaAccountStatementLinesEntity
OtherPartyAddressThe address of the opposite party.String (35)
OtherPartyAddress
NoBankCodaAccountStatementLinesEntity
OtherPartyBankAccountIDThe bank account number of the opposite party.String (48)
BankAccount
NoBankCodaAccountStatementLinesEntity
OtherPartyCityThe city of the opposite party.String (35)
OtherPartyCity
NoBankCodaAccountStatementLinesEntity
OtherPartyExternalAccountThe customer or vendor account number of the opposite party.String (20)
ExternalAccount
NoBankCodaAccountStatementLinesEntity
OtherPartyInternalCodesInternal codes for the opposite party.String
OtherPartyInternalCodes
NoBankCodaAccountStatementLinesEntity
OtherPartyNameThe name of the opposite party.String (26)
OtherPartyName
NoBankCodaAccountStatementLinesEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessedYes/no flag that shows whether the line is completed.Enum
NoYesId
NoYes (enum)
NoBankCodaAccountStatementLinesEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefRecIdThe system record ID of a related statement line.Int64
RefRecId
NoBankCodaAccountStatementLines.RecIdBankCodaAccountStatementLinesEntity
SequenceNumberThe sequence number of the line.String (4)
BankCODASequenceNumber
NoBankCodaAccountStatementLinesEntity
StatementDateThe date of the bank statement that holds the line.Date
TransDate
NoBankCodaAccountStatement.AccountStatementDateBankCodaAccountStatementLinesEntity
StructuredMessageTypeThe kind of payment slip or attachment that goes with the structured message, such as FIK or Blue slip.Enum
PaymentStub (enum)
NoBankCodaAccountStatementLinesEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxGroupThe sales tax group assigned to the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupBankCodaAccountStatementLinesEntity
TaxItemGroupThe item sales tax group assigned to the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupBankCodaAccountStatementLinesEntity
TransactionThe CODA transaction code of the line.String (2)
BankTransCoda
NoBankCodaTrans.TransactionBankCodaTransCategory.TransactionBankCodaAccountStatementLinesEntity
TransactionCategoryThe CODA transaction category code of the line.String (3)
BankTransCategoryCoda
NoBankCodaTransCategory.TransactionCategoryBankCodaAccountStatementLinesEntity
TransactionFamilyThe CODA transaction group code of the line.String (2)
BankTransFamilyCoda
NoBankCodaTransFamily.TransactionFamilyBankCodaAccountStatementLinesEntity
TransactionTypeThe kind of line, such as movement, free message, info, opening balance or ending balance.Enum
BankCodaTransactionType (enum)
NoBankCodaAccountStatementLinesEntity
TransDateThe transaction date of the line.Date
TransDate
NoBankCodaAccountStatementLinesEntity

Indexes (6)

Relations (12)

Each relation joins BankCodaAccountStatementLines to another table on the fields shown.

  • BankAccountTable → BankAccountTable

    Join on AccountId = BankAccountTable.AccountID

    Many BankCodaAccountStatementLines records → zero or one BankAccountTable record

  • BankCodaAccountStatementLines → BankCodaAccountStatementLines

    Join on RefRecId = BankCodaAccountStatementLines.RecId

    Many BankCodaAccountStatementLines records → zero or one BankCodaAccountStatementLines record

  • BankCodaAccountTable → BankCodaAccountTable

    Join on AccountId = BankCodaAccountTable.AccountID

    Many BankCodaAccountStatementLines records → zero or one BankCodaAccountTable record

  • BankCodaTrans → BankCodaTrans

    Join on Transaction = BankCodaTrans.Transaction, TransactionFamily = BankCodaTrans.TransactionFamily

    Many BankCodaAccountStatementLines records → zero or one BankCodaTrans record

  • BankCodaTransCategory → BankCodaTransCategory

    Join on TransactionCategory = BankCodaTransCategory.TransactionCategory, Transaction = BankCodaTransCategory.Transaction, TransactionFamily = BankCodaTransCategory.TransactionFamily

    Many BankCodaAccountStatementLines records → zero or one BankCodaTransCategory record

  • BankCodaTransFamily → BankCodaTransFamily

    Join on TransactionFamily = BankCodaTransFamily.TransactionFamily

    Many BankCodaAccountStatementLines records → zero or one BankCodaTransFamily record

  • Currency → Currency

    Join on OrigCurrency = Currency.CurrencyCode

    Many BankCodaAccountStatementLines records → zero or one Currency record

  • LedgerDimension → DimensionAttributeValueCombination

    Join on LedgerDimension = DimensionAttributeValueCombination.RecId

    Many BankCodaAccountStatementLines records → zero or one DimensionAttributeValueCombination record

  • SpecTrans → SpecTrans

    Join on TableId = SpecTrans.SpecTableId, RecId = SpecTrans.SpecRecId, dataAreaId = SpecTrans.SpecCompany

    Many BankCodaAccountStatementLines records → exactly one SpecTrans record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many BankCodaAccountStatementLines records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many BankCodaAccountStatementLines records → zero or one TaxItemGroupHeading record

  • BankCodaAccountStatement → BankCodaAccountStatement

    Join on StatementDate = BankCodaAccountStatement.AccountStatementDate, AccountStatementNum = BankCodaAccountStatement.AccountStatementNum, AccountId = BankCodaAccountStatement.AccountId

    Many 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.

Need help with BankCodaAccountStatementLines in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk