Table

CzVendAdvanceInvoiceLine

Invoice lines

Holds the lines of vendor advance invoices. The key is the parent invoice record plus the line number. Each line has an amount, a description, an invoice text and sales tax groups.

Table name
CzVendAdvanceInvoiceLine
Module
Accounts payable
Table group
WorksheetLine
Table type
Regular
Data per company
Yes
Configuration key
CzCustVendAdvanceInvoices
Primary index
ParentRecIdIdx
Replacement key
ParentRecIdIdx
Key fields
ParentRecId, LineNum
Model
Foundation

Fields (13)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ParentRecIdThe vendor advance invoice that the line belongs to.Int64
RefRecId
NoCzVendAdvanceInvoiceTable.RecIdVendAdvancedInvoiceEntity
LineNumThe number of the line within the invoice.Real
LineNum
NoVendAdvancedInvoiceEntity
AmountCurThe amount of the line.Real
AmountCur
NoVendAdvancedInvoiceEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionA short description of the line.String (60)
Description
NoVendAdvancedInvoiceEntity
InvoiceTxtLonger free text for the invoice line.String (-1)
Notes
NoVendAdvancedInvoiceEntity
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
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
TaxGroupThe sales tax group of the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupVendAdvancedInvoiceEntity
TaxItemGroupThe item sales tax group of the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupVendAdvancedInvoiceEntity

Indexes (1)

Relations (4)

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

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many CzVendAdvanceInvoiceLine records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many CzVendAdvanceInvoiceLine records → zero or one TaxItemGroupHeading record

  • VendAdvanceInvoiceLine → CzVendAdvanceInvoiceLine

    Join on ParentRecId = null

    Zero or one CzVendAdvanceInvoiceLine record → zero or one CzVendAdvanceInvoiceLine record

  • VendAdvanceInvoiceTable → CzVendAdvanceInvoiceTable

    Join on ParentRecId = CzVendAdvanceInvoiceTable.RecId

    Zero or one CzVendAdvanceInvoiceLine record → zero or one CzVendAdvanceInvoiceTable record

Get this data out

Tables are not exposed directly. These public entities read from CzVendAdvanceInvoiceLine; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk