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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ParentRecIdPoints to the advance invoice header that owns this line. | Int64RefRecId | No | CzCustAdvanceInvoiceTable.RecId | CustAdvancedInvoiceEntity |
LineNumNumber of the line within the advance invoice. | RealLineNum | No | CustAdvancedInvoiceEntity | |
AdvanceInvoiceLineInternalRefInternal reference to another advance invoice line.low confidence | Int64CustAdvanceInvoiceLineInternalRef_W | No | CzCustAdvanceInvoiceLine.RecId | None |
AmountCurAmount of the line in currency. | RealAmountCur | No | CustAdvancedInvoiceEntity | |
CorrectionDescriptionShort text giving the reason for a correction. | String (60)PlCorrectionDesc | No | CustAdvancedInvoiceEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionShort description of the line. | String (60)Description | No | CustAdvancedInvoiceEntity | |
InvoiceTxtLonger free text shown for the invoice line. | String (-1)Notes | No | CustAdvancedInvoiceEntity | |
OffsetLedgerDimensionLedger account combination used as the offset account. | Int64AdvanceInvoiceOffsetLedgerDimension_W | No | DimensionAttributeValueCombination.RecId | CustAdvancedInvoiceEntity |
OrigAdvanceInvoiceLineRecIdPoints to the original advance invoice line that this line refers to. | Int64CustAdvanceInvoiceLineRecId_W | No | CzCustAdvanceInvoiceLine.RecId | 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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxGroupSales tax group applied to the line. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | CustAdvancedInvoiceEntity |
TaxItemGroupItem sales tax group applied to the line. | StringTaxItemGroup | No | TaxItemGroupHeading.TaxItemGroup | CustAdvancedInvoiceEntity |
Indexes (2)
CreditNoteIdxParentRecId,OrigAdvanceInvoiceLineRecId,AdvanceInvoiceLineInternalRefNot unique.
ParentRecIdIdxPrimary indexReplacement keyUnique, alternate key.
Relations (8)
Each relation joins CzCustAdvanceInvoiceLine to another table on the fields shown.
AdvanceInvoiceLineInternalRef→CzCustAdvanceInvoiceLineJoin on
AdvanceInvoiceLineInternalRef = CzCustAdvanceInvoiceLine.RecIdMany CzCustAdvanceInvoiceLine records → zero or one CzCustAdvanceInvoiceLine record
CustAdvanceInvoiceLine→CzCustAdvanceInvoiceLineJoin on
ParentRecId = nullCardinality not set in the metadata.
CustAdvanceInvoiceLine_CorrectiveNote→CzCustAdvanceInvoiceLineJoin on
ParentRecId = CzCustAdvanceInvoiceLine.ParentRecId,AdvanceInvoiceLineInternalRef = CzCustAdvanceInvoiceLine.RecIdZero or one CzCustAdvanceInvoiceLine record → zero or one CzCustAdvanceInvoiceLine record
CustAdvanceInvoiceTable→CzCustAdvanceInvoiceTableJoin on
ParentRecId = CzCustAdvanceInvoiceTable.RecIdMany CzCustAdvanceInvoiceLine records → zero or one CzCustAdvanceInvoiceTable record
OffsetLedgerDimension→DimensionAttributeValueCombinationJoin on
OffsetLedgerDimension = DimensionAttributeValueCombination.RecIdMany CzCustAdvanceInvoiceLine records → zero or one DimensionAttributeValueCombination record
OrigAdvanceInvoiceLine→CzCustAdvanceInvoiceLineJoin on
OrigAdvanceInvoiceLineRecId = CzCustAdvanceInvoiceLine.RecIdMany CzCustAdvanceInvoiceLine records → zero or one CzCustAdvanceInvoiceLine record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany CzCustAdvanceInvoiceLine records → zero or one TaxGroupHeading record
TaxItemGroupHeading→TaxItemGroupHeadingJoin on
TaxItemGroup = TaxItemGroupHeading.TaxItemGroupMany 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.
CustAdvancedInvoiceEntity· 9 fields from this table
Need help with CzCustAdvanceInvoiceLine in a report, an integration or a migration? Talk to Dr Dynamics.