Table
CzVendAdvanceInvoiceLink
Linking prepayments to advance invoices
Links vendor prepayments to advance invoices, used for the Czech Republic. A row is identified by the advance invoice, voucher, date and the invoice and payment companies. It points to the advance invoice and to the vendor transaction of the payment.
- Table name
CzVendAdvanceInvoiceLink- Module
Accounts payable- Table group
Transaction- Table type
Regular- Data per company
No- Configuration key
CzCustVendAdvanceInvoices- Primary index
VoucherDateIdx- Replacement key
None- Key fields
AdvanceInvoiceRecId, Voucher, TransDate, InvoiceCompany, PaymentCompany- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AdvanceInvoiceRecIdPoints to the advance invoice record. | Int64CzVendAdvanceInvoiceRecId | Yes | CzVendAdvanceInvoiceTable.RecId | None |
VoucherVoucher number of the related vendor transaction. | String (20)Voucher | Yes | None | |
TransDateTransaction date of the related vendor transaction. | DateTransDate | Yes | None | |
InvoiceCompanyCompany of the advance invoice. | StringCompanyId | Yes | CzVendAdvanceInvoiceTable.dataAreaId | None |
PaymentCompanyCompany of the payment (vendor transaction). | StringCompanyId | Yes | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | 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 | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
VoucherDateIdxPrimary indexAdvanceInvoiceRecId,Voucher,TransDate,InvoiceCompany,PaymentCompanyUnique, alternate key.
PaymentVoucherDateIdxPaymentCompany,Voucher,TransDateNot unique.
Relations (5)
Each relation joins CzVendAdvanceInvoiceLink to another table on the fields shown.
CustVendTrans→VendTransJoin on
Voucher = VendTrans.Voucher,TransDate = VendTrans.TransDate,PaymentCompany = VendTrans.dataAreaIdMany CzVendAdvanceInvoiceLink records → exactly one VendTrans record
CzVendAdvanceInvoiceTable→CzVendAdvanceInvoiceTableJoin on
AdvanceInvoiceRecId = CzVendAdvanceInvoiceTable.RecId,InvoiceCompany = CzVendAdvanceInvoiceTable.dataAreaIdMany CzVendAdvanceInvoiceLink records → exactly one CzVendAdvanceInvoiceTable record
InvoiceCompany→DataAreaJoin on
InvoiceCompany = DataArea.id,DataArea.isVirtual = nullMany CzVendAdvanceInvoiceLink records → exactly one DataArea record
LedgerJournalTrans→LedgerJournalTransJoin on
Voucher = LedgerJournalTrans.Voucher,TransDate = LedgerJournalTrans.TransDate,PaymentCompany = LedgerJournalTrans.dataAreaIdMany CzVendAdvanceInvoiceLink records → exactly one LedgerJournalTrans record
PaymentCompany→DataAreaJoin on
PaymentCompany = DataArea.id,DataArea.isVirtual = nullMany CzVendAdvanceInvoiceLink records → exactly one DataArea record
Get this data out
No public entity reads from CzVendAdvanceInvoiceLink. Its data is only reachable through the application, a custom entity or a database export.
Need help with CzVendAdvanceInvoiceLink in a report, an integration or a migration? Talk to Dr Dynamics.