Table
PlCustAdvanceInvoiceItems
Advance invoice items
Holds item lines of a customer advance invoice, with the original item, quantity, price, tax and amounts. Each line points to its advance invoice header and to a source line such as a free text invoice line.
- Table name
PlCustAdvanceInvoiceItems- Module
Cross-module and platform- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
CzCustVendAdvanceInvoices- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
LineNumLine number on the advance invoice. | RealLineNum | No | CustAdvancedInvoiceItemsEntity | |
OriginalItemIdItem number of the original line. | String (20)ItemId | No | CustAdvancedInvoiceItemsEntity | |
OriginalItemNameProduct name of the original line. | String (60)ItemName | No | CustAdvancedInvoiceItemsEntity | |
OriginalLineAmountExclTaxNet line amount without sales tax. | RealSalesLineAmount | No | CustAdvancedInvoiceItemsEntity | |
OriginalLineAmountInclTaxLine amount including sales tax. The label says net amount.low confidence | RealSalesLineAmount | No | CustAdvancedInvoiceItemsEntity | |
OriginalQtyQuantity on the original line. | RealQty | No | CustAdvancedInvoiceItemsEntity | |
OriginalSalesPriceExclTaxSales price excluding tax. | RealSalesPrice | No | CustAdvancedInvoiceItemsEntity | |
OriginalSalesUnitUnit of measure used for the sales quantity. | StringSalesUnit | No | CustAdvancedInvoiceItemsEntity | |
OriginalTaxAmountSales tax amount on the line. | RealTaxAmount | No | CustAdvancedInvoiceItemsEntity | |
OriginalTaxCodeSales tax code on the line. | StringTaxCode | No | CustAdvancedInvoiceItemsEntity | |
ParentRecIdSystem record ID of the advance invoice this line belongs to. | Int64RefRecId | Yes | CzCustAdvanceInvoiceTable.RecId | CustAdvancedInvoiceItemsEntity |
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 | |
RefRecIdSystem record ID of the source line, such as a customer free text invoice line. | Int64RefRecId | Yes | CustAdvancedInvoiceItemsEntity | |
RefTableIdID of the table that the source line comes from. | IntegerRefTableId | Yes | CustAdvancedInvoiceItemsEntity | |
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 |
Indexes (1)
ParentRecIdIdxParentRecId,RefTableId,RefRecIdUnique, alternate key.
Relations (4)
Each relation joins PlCustAdvanceInvoiceItems to another table on the fields shown.
CustInvoiceLine→CustInvoiceLineJoin on
RefTableId = CustInvoiceLine.TableId,RefRecId = CustInvoiceLine.RecIdZero or one PlCustAdvanceInvoiceItems record → zero or one CustInvoiceLine record
CzCustAdvanceInvoiceTable→CzCustAdvanceInvoiceTableJoin on
ParentRecId = CzCustAdvanceInvoiceTable.RecIdMany PlCustAdvanceInvoiceItems records → exactly one CzCustAdvanceInvoiceTable record
PlCustAdvanceInvoiceItems→PlCustAdvanceInvoiceItemsJoin on
RefTableId = PlCustAdvanceInvoiceItems.TableId,RefRecId = PlCustAdvanceInvoiceItems.RecIdZero or one PlCustAdvanceInvoiceItems record → zero or one PlCustAdvanceInvoiceItems record
SalesLine→SalesLineJoin on
RefTableId = SalesLine.TableId,RefRecId = SalesLine.RecIdZero or one PlCustAdvanceInvoiceItems record → zero or one SalesLine record
Get this data out
Tables are not exposed directly. These public entities read from PlCustAdvanceInvoiceItems; use one of them in Power BI, Power Platform or a data management project.
CustAdvancedInvoiceItemsEntity· 13 fields from this table
Need help with PlCustAdvanceInvoiceItems in a report, an integration or a migration? Talk to Dr Dynamics.