Table

BankChequePaymTrans

Invoices paid by check

Lists the invoices paid by a check. Each record ties a check number and bank account to an invoice, with invoice and payment amounts, cash discount, currency, recipient and voucher. It links to checks, bank accounts, currencies, customer and vendor transactions, and addresses.

Table name
BankChequePaymTrans
Module
Bank
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
BankCheque
Primary index
AccountIdChequeNumIdx
Replacement key
None
Key fields
ChequeNum, AccountId, RecId
Model
Foundation

Fields (25)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChequeNumNumber of the check used for payment.String (20)
BankChequeNum
YesNone
AccountIdBank account the check is drawn on.String
CompanyBankAccountId
YesBankAccountTable.AccountIDNone
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
CashDiscAmountCurCash discount amount on the invoice.Real
AmountCur
NoNone
CurrencyCodeCurrency of the amounts.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InvoiceAccountNumCustomer or vendor account of the invoice.String (20)
CustVendAC
NoNone
InvoiceAmountCurGross amount of the invoice.Real
AmountCur
NoNone
InvoiceCompanyCompany that holds the invoice transaction.String
CompanyId
NoNone
InvoiceDateDate of the invoice.Date
InvoiceDate
NoNone
InvoiceIdInvoice number.String (50)
VendInvoiceId
NoNone
InvoiceTransDateTransaction date of the invoice.Date
InvoiceDate
NoNone
InvoiceVoucherVoucher number of the invoice transaction.String (20)
Voucher
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PaymentAmountCurAmount paid on the invoice by the check.Real
AmountCur
NoNone
RecipientAccountNumCustomer or vendor account of the check recipient.String (20)
CustVendAC
NoNone
RecipientCompanyCompany of the recipient.String
CompanyId
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
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 transaction.Date
TransDate
NoNone
VendPaymentGroupCode of the vendor payment group.String
VendPaymentGrouping
NoNone
VoucherVoucher number of the check payment.String (20)
Voucher
NoNone

Indexes (1)

Relations (7)

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

  • BankAccountTable → BankAccountTable

    Join on AccountId = BankAccountTable.AccountID

    Many BankChequePaymTrans records → exactly one BankAccountTable record

  • BankChequeTable → BankChequeTable

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

    Cardinality not set in the metadata.

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many BankChequePaymTrans records → zero or one Currency record

  • CustTrans → CustTrans

    Join on InvoiceCompany = CustTrans.dataAreaId, RecipientType = BankChequeRecipientType::Cust, InvoiceTransDate = CustTrans.TransDate, InvoiceVoucher = CustTrans.Voucher

    Cardinality not set in the metadata.

  • DataArea → DataArea

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

    Many BankChequePaymTrans records → zero or one DataArea record

  • RemittanceAddress_FK → LogisticsPostalAddress

    Join on RemittanceAddress = LogisticsPostalAddress.RecId

    Many BankChequePaymTrans records → zero or one LogisticsPostalAddress record

  • VendTrans → VendTrans

    Join on InvoiceCompany = VendTrans.dataAreaId, RecipientType = BankChequeRecipientType::Vend, InvoiceTransDate = VendTrans.TransDate, InvoiceVoucher = VendTrans.Voucher

    Cardinality not set in the metadata.

Get this data out

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

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

Email sales@drdynamics.co.uk