Table
CzCustAdvanceInvoiceLink
Linking prepayments to advance invoices
Links a customer prepayment to an advance invoice. Used for Czech Republic. The key combines the advance invoice, voucher, date and the invoice and payment companies.
- Table name
CzCustAdvanceInvoiceLink- Module
Accounts receivable- 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 |
|---|---|---|---|---|
AdvanceInvoiceRecIdSystem record ID of the advance invoice. | Int64CzCustAdvanceInvoiceRecId | No | CzCustAdvanceInvoiceTable.RecId | None |
VoucherVoucher number of the payment transaction. | String (20)Voucher | Yes | None | |
TransDateDate of the payment transaction. | DateTransDate | Yes | None | |
InvoiceCompanyCompany that holds the advance invoice. | StringCompanyId | Yes | CzCustAdvanceInvoiceTable.dataAreaId | None |
PaymentCompanyCompany that holds the customer payment 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.
VoucherTransDateInvoiceCompanyIdxVoucher,TransDate,InvoiceCompanyNot unique.
Relations (5)
Each relation joins CzCustAdvanceInvoiceLink to another table on the fields shown.
CustTrans→CustTransJoin on
Voucher = CustTrans.Voucher,TransDate = CustTrans.TransDate,PaymentCompany = CustTrans.dataAreaIdMany CzCustAdvanceInvoiceLink records → exactly one CustTrans record
CzCustAdvanceInvoiceTable→CzCustAdvanceInvoiceTableJoin on
AdvanceInvoiceRecId = CzCustAdvanceInvoiceTable.RecId,InvoiceCompany = CzCustAdvanceInvoiceTable.dataAreaIdMany CzCustAdvanceInvoiceLink records → zero or one CzCustAdvanceInvoiceTable record
InvoiceCompany→DataAreaJoin on
InvoiceCompany = DataArea.id,DataArea.isVirtual = nullMany CzCustAdvanceInvoiceLink records → exactly one DataArea record
LedgerJournalTrans→LedgerJournalTransJoin on
Voucher = LedgerJournalTrans.Voucher,TransDate = LedgerJournalTrans.TransDate,PaymentCompany = LedgerJournalTrans.dataAreaIdMany CzCustAdvanceInvoiceLink records → exactly one LedgerJournalTrans record
PaymentCompany→DataAreaJoin on
PaymentCompany = DataArea.id,DataArea.isVirtual = nullMany CzCustAdvanceInvoiceLink records → exactly one DataArea record
Get this data out
No public entity reads from CzCustAdvanceInvoiceLink. Its data is only reachable through the application, a custom entity or a database export.
Need help with CzCustAdvanceInvoiceLink in a report, an integration or a migration? Talk to Dr Dynamics.