Table

CzCustAdvanceInvoiceLine

Invoice lines

Holds the lines of customer advance invoices, used for the Czech Republic. Each line is keyed by its parent advance invoice and a line number. It stores amount, text, offset account and sales tax groups.

Table name
CzCustAdvanceInvoiceLine
Module
Accounts receivable
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 (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ParentRecIdPoints to the advance invoice header that owns this line.Int64
RefRecId
NoCzCustAdvanceInvoiceTable.RecIdCustAdvancedInvoiceEntity
LineNumNumber of the line within the advance invoice.Real
LineNum
NoCustAdvancedInvoiceEntity
AdvanceInvoiceLineInternalRefInternal reference to another advance invoice line.low confidenceInt64
CustAdvanceInvoiceLineInternalRef_W
NoCzCustAdvanceInvoiceLine.RecIdNone
AmountCurAmount of the line in currency.Real
AmountCur
NoCustAdvancedInvoiceEntity
CorrectionDescriptionShort text giving the reason for a correction.String (60)
PlCorrectionDesc
NoCustAdvancedInvoiceEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionShort description of the line.String (60)
Description
NoCustAdvancedInvoiceEntity
InvoiceTxtLonger free text shown for the invoice line.String (-1)
Notes
NoCustAdvancedInvoiceEntity
OffsetLedgerDimensionLedger account combination used as the offset account.Int64
AdvanceInvoiceOffsetLedgerDimension_W
NoDimensionAttributeValueCombination.RecIdCustAdvancedInvoiceEntity
OrigAdvanceInvoiceLineRecIdPoints to the original advance invoice line that this line refers to.Int64
CustAdvanceInvoiceLineRecId_W
NoCzCustAdvanceInvoiceLine.RecIdNone
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
TaxGroupSales tax group applied to the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupCustAdvancedInvoiceEntity
TaxItemGroupItem sales tax group applied to the line.String
TaxItemGroup
NoTaxItemGroupHeading.TaxItemGroupCustAdvancedInvoiceEntity

Indexes (2)

Relations (8)

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

  • AdvanceInvoiceLineInternalRef → CzCustAdvanceInvoiceLine

    Join on AdvanceInvoiceLineInternalRef = CzCustAdvanceInvoiceLine.RecId

    Many CzCustAdvanceInvoiceLine records → zero or one CzCustAdvanceInvoiceLine record

  • CustAdvanceInvoiceLine → CzCustAdvanceInvoiceLine

    Join on ParentRecId = null

    Cardinality not set in the metadata.

  • CustAdvanceInvoiceLine_CorrectiveNote → CzCustAdvanceInvoiceLine

    Join on ParentRecId = CzCustAdvanceInvoiceLine.ParentRecId, AdvanceInvoiceLineInternalRef = CzCustAdvanceInvoiceLine.RecId

    Zero or one CzCustAdvanceInvoiceLine record → zero or one CzCustAdvanceInvoiceLine record

  • CustAdvanceInvoiceTable → CzCustAdvanceInvoiceTable

    Join on ParentRecId = CzCustAdvanceInvoiceTable.RecId

    Many CzCustAdvanceInvoiceLine records → zero or one CzCustAdvanceInvoiceTable record

  • OffsetLedgerDimension → DimensionAttributeValueCombination

    Join on OffsetLedgerDimension = DimensionAttributeValueCombination.RecId

    Many CzCustAdvanceInvoiceLine records → zero or one DimensionAttributeValueCombination record

  • OrigAdvanceInvoiceLine → CzCustAdvanceInvoiceLine

    Join on OrigAdvanceInvoiceLineRecId = CzCustAdvanceInvoiceLine.RecId

    Many CzCustAdvanceInvoiceLine records → zero or one CzCustAdvanceInvoiceLine record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many CzCustAdvanceInvoiceLine records → zero or one TaxGroupHeading record

  • TaxItemGroupHeading → TaxItemGroupHeading

    Join on TaxItemGroup = TaxItemGroupHeading.TaxItemGroup

    Many CzCustAdvanceInvoiceLine records → zero or one TaxItemGroupHeading record

Get this data out

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

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

Email sales@drdynamics.co.uk