Table

BankChequeTable

Check table

Holds checks issued from bank accounts. Each record has a check number, bank account and status, plus amounts, currency, recipient, voucher and source or reversal references. It links to bank accounts, customers, vendors, addresses and reason records. The key is bank account, check number and status.

Table name
BankChequeTable
Module
Bank
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
BankCheque
Primary index
RecId
Replacement key
AccountChequeIdx
Key fields
AccountID, ChequeNum, ChequeStatus
Model
Foundation

Fields (32)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountIDBank account the check is drawn on.String
CompanyBankAccountId
YesBankAccountTable.AccountIDNone
ChequeNumNumber of the check.String (20)
BankChequeNum
YesNone
ChequeStatusStatus of the check, such as created, void, paid or canceled.Enum
ChequeStatus (enum)
NoNone
AmountCurAmount of the check.Real
AmountCur
NoNone
BankCurrencyCurrency of the bank account.String (3)
CurrencyCode
NoNone
BankCurrencyAmountAmount in the bank currency, in transaction currency terms.low confidenceReal
AmountCur
NoNone
BankNegInstRecipientNameName of the check recipient.String (60)
BankNegInstRecipientName
NoNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
CurrencyCodeCurrency of the check.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessedByPositivePayShows whether the check is in a positive pay file.Enum
NoYes (enum)
NoNone
PSNChequeEscheatedShows whether the check has been escheated. Used for public sector.Enum
NoYes (enum)
NoNone
ReasonRefRecIDPoints to a reason record linked to the check.Int64
ReasonRefRecID
NoReasonTableRef.RecIdNone
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
RecipientAccountNumBank, customer or vendor account of the recipient.String (20)
CustVendAC
NoBankAccountTable.AccountIDCustTable.AccountNumVendTable.AccountNumNone
RecipientCompanyCompany of the recipient.String
CompanyId
NoNone
RecipientTransVoucherVoucher number of the recipient transaction.String (20)
Voucher
NoNone
RecipientTypeKind of recipient: vendor, customer, bank, ledger or unknown.Enum
BankChequeRecipientType (enum)
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RemittanceAddressPoints to the postal address for the payment.Int64
RemittanceAddress
NoLogisticsPostalAddress.RecIdNone
ReversalRecIdSystem record ID of the record that reverses the check.Int64
RefRecId
NoNone
ReversalTableIdID of the table that holds the reversal record.Integer
RefTableId
NoNone
SourceRecIdSystem record ID of the source record for the check.Int64
RefRecId
NoNone
SourceTableIdID of the table that holds the source record.Integer
RefTableId
NoNone
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
TransDateDate of the check transaction.Date
TransDate
NoNone
VoucherVoucher number of the check.String (20)
Voucher
NoNone

Indexes (5)

Relations (10)

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

  • BankAccounts → BankAccountTable

    Join on AccountID = BankAccountTable.AccountID

    Many BankChequeTable records → exactly one BankAccountTable record

  • BankAccountTable → BankAccountTable

    Join on RecipientAccountNum = BankAccountTable.AccountID, RecipientType = BankChequeRecipientType::Bank

    Many BankChequeTable records → zero or one BankAccountTable record

  • BankDocumentTableView → BankDocumentTableView

    Join on TableId = BankDocumentTableView.SourceRelationType, RecId = BankDocumentTableView.SourceRecId

    Exactly one BankChequeTable record → zero or one BankDocumentTableView record

  • CheckNum → BankChequeTable

    Join on AccountID = BankChequeTable.AccountID, ChequeNum = BankChequeTable.ChequeNum

    Cardinality not set in the metadata.

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many BankChequeTable records → zero or one Currency record

  • CustTable → CustTable

    Join on RecipientType = BankChequeRecipientType::Cust, RecipientAccountNum = CustTable.AccountNum

    Many BankChequeTable records → zero or one CustTable record

  • DataArea → DataArea

    Join on RecipientCompany = DataArea.id, DataArea.isVirtual = null

    Many BankChequeTable records → zero or one DataArea record

  • ReasonRef → ReasonTableRef

    Join on ReasonRefRecID = ReasonTableRef.RecId

    Many BankChequeTable records → zero or one ReasonTableRef record

  • RemittanceAddress_FK → LogisticsPostalAddress

    Join on RemittanceAddress = LogisticsPostalAddress.RecId

    Many BankChequeTable records → zero or one LogisticsPostalAddress record

  • VendTable → VendTable

    Join on RecipientType = BankChequeRecipientType::Vend, RecipientAccountNum = VendTable.AccountNum

    Many BankChequeTable records → zero or one VendTable record

Get this data out

No public entity reads from BankChequeTable. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk