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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AdvanceInvoiceRecIdPoints to the advance invoice record.Int64
CzVendAdvanceInvoiceRecId
YesCzVendAdvanceInvoiceTable.RecIdNone
VoucherVoucher number of the related vendor transaction.String (20)
Voucher
YesNone
TransDateTransaction date of the related vendor transaction.Date
TransDate
YesNone
InvoiceCompanyCompany of the advance invoice.String
CompanyId
YesCzVendAdvanceInvoiceTable.dataAreaIdNone
PaymentCompanyCompany of the payment (vendor transaction).String
CompanyId
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (5)

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

  • CustVendTrans → VendTrans

    Join on Voucher = VendTrans.Voucher, TransDate = VendTrans.TransDate, PaymentCompany = VendTrans.dataAreaId

    Many CzVendAdvanceInvoiceLink records → exactly one VendTrans record

  • CzVendAdvanceInvoiceTable → CzVendAdvanceInvoiceTable

    Join on AdvanceInvoiceRecId = CzVendAdvanceInvoiceTable.RecId, InvoiceCompany = CzVendAdvanceInvoiceTable.dataAreaId

    Many CzVendAdvanceInvoiceLink records → exactly one CzVendAdvanceInvoiceTable record

  • InvoiceCompany → DataArea

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

    Many CzVendAdvanceInvoiceLink records → exactly one DataArea record

  • LedgerJournalTrans → LedgerJournalTrans

    Join on Voucher = LedgerJournalTrans.Voucher, TransDate = LedgerJournalTrans.TransDate, PaymentCompany = LedgerJournalTrans.dataAreaId

    Many CzVendAdvanceInvoiceLink records → exactly one LedgerJournalTrans record

  • PaymentCompany → DataArea

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

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

Email sales@drdynamics.co.uk