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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChequeNumNumber of the check used for payment. | String (20)BankChequeNum | Yes | None | |
AccountIdBank account the check is drawn on. | StringCompanyBankAccountId | Yes | BankAccountTable.AccountID | None |
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 | |
CashDiscAmountCurCash discount amount on the invoice. | RealAmountCur | No | None | |
CurrencyCodeCurrency of the amounts. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
InvoiceAccountNumCustomer or vendor account of the invoice. | String (20)CustVendAC | No | None | |
InvoiceAmountCurGross amount of the invoice. | RealAmountCur | No | None | |
InvoiceCompanyCompany that holds the invoice transaction. | StringCompanyId | No | None | |
InvoiceDateDate of the invoice. | DateInvoiceDate | No | None | |
InvoiceIdInvoice number. | String (50)VendInvoiceId | No | None | |
InvoiceTransDateTransaction date of the invoice. | DateInvoiceDate | No | None | |
InvoiceVoucherVoucher number of the invoice transaction. | String (20)Voucher | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentAmountCurAmount paid on the invoice by the check. | RealAmountCur | No | None | |
RecipientAccountNumCustomer or vendor account of the check recipient. | String (20)CustVendAC | No | None | |
RecipientCompanyCompany of the recipient. | StringCompanyId | No | None | |
RecipientTypeKind of recipient: vendor, customer, bank, ledger or unknown. | EnumBankChequeRecipientType (enum) | 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 | |
RemittanceAddressPoints to the postal address for the payment. | Int64RemittanceAddress | No | LogisticsPostalAddress.RecId | None |
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 | |
TransDateDate of the transaction. | DateTransDate | No | None | |
VendPaymentGroupCode of the vendor payment group. | StringVendPaymentGrouping | No | None | |
VoucherVoucher number of the check payment. | String (20)Voucher | No | None |
Indexes (1)
Relations (7)
Each relation joins BankChequePaymTrans to another table on the fields shown.
BankAccountTable→BankAccountTableJoin on
AccountId = BankAccountTable.AccountIDMany BankChequePaymTrans records → exactly one BankAccountTable record
BankChequeTable→BankChequeTableJoin on
ChequeNum = BankChequeTable.ChequeNum,AccountId = BankChequeTable.AccountIDCardinality not set in the metadata.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany BankChequePaymTrans records → zero or one Currency record
CustTrans→CustTransJoin on
InvoiceCompany = CustTrans.dataAreaId,RecipientType = BankChequeRecipientType::Cust,InvoiceTransDate = CustTrans.TransDate,InvoiceVoucher = CustTrans.VoucherCardinality not set in the metadata.
DataArea→DataAreaJoin on
RecipientCompany = DataArea.id,DataArea.isVirtual = nullMany BankChequePaymTrans records → zero or one DataArea record
RemittanceAddress_FK→LogisticsPostalAddressJoin on
RemittanceAddress = LogisticsPostalAddress.RecIdMany BankChequePaymTrans records → zero or one LogisticsPostalAddress record
VendTrans→VendTransJoin on
InvoiceCompany = VendTrans.dataAreaId,RecipientType = BankChequeRecipientType::Vend,InvoiceTransDate = VendTrans.TransDate,InvoiceVoucher = VendTrans.VoucherCardinality 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.