Data entity
CustAdvancedInvoiceItemsEntity
Holds the item lines of advance invoices. Each line shows the item, product name, quantity, unit, sales price, net amount and sales tax. It also stores a reference to the source record and the related sales order. The key is the parent record ID with the reference record ID and table ID.
- Entity name
CustAdvancedInvoiceItemsEntity- Public entity name
AdvanceInvoiceItems- OData collection
AdvanceInvoiceItems- Category
Document- Module
Accounts receivable- Read-only
No- Data management enabled
Yes- Configuration key
TradeBlanketOrder- Keys
ParentRecId, RefRecId, RefTableId- Staging table
CustAdvancedInvoiceItemsStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/AdvanceInvoiceItems- Dataverse virtual table
mserp_custadvancedinvoiceitemsentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
PlCustAdvanceInvoiceItems· rootCzCustAdvanceInvoiceTable· InnerJoin toPlCustAdvanceInvoiceItems· read-only
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LineNumLine number on the advance invoice. | RealLineNum | No | Yes | PlCustAdvanceInvoiceItems.LineNum | |
OriginalItemIdItem number of the original line. | String (20)ItemId | No | Yes | PlCustAdvanceInvoiceItems.OriginalItemId | |
OriginalItemNameProduct name of the original line. | String (60)ItemName | No | Yes | PlCustAdvanceInvoiceItems.OriginalItemName | |
OriginalLineAmountExclTaxNet line amount without sales tax. | RealSalesLineAmount | No | Yes | PlCustAdvanceInvoiceItems.OriginalLineAmountExclTax | |
OriginalLineAmountInclTaxLine amount including sales tax. The label says net amount.low confidence | RealSalesLineAmount | No | Yes | PlCustAdvanceInvoiceItems.OriginalLineAmountInclTax | |
OriginalQtyQuantity on the original line. | RealQty | No | Yes | PlCustAdvanceInvoiceItems.OriginalQty | |
OriginalSalesPriceExclTaxSales price excluding tax. | RealSalesPrice | No | Yes | PlCustAdvanceInvoiceItems.OriginalSalesPriceExclTax | |
OriginalSalesUnitUnit of measure used for the sales quantity. | StringSalesUnit | No | Yes | PlCustAdvanceInvoiceItems.OriginalSalesUnit | |
OriginalTaxAmountSales tax amount on the line. | RealTaxAmount | No | Yes | PlCustAdvanceInvoiceItems.OriginalTaxAmount | |
OriginalTaxCodeSales tax code on the line. | StringTaxCode | No | Yes | PlCustAdvanceInvoiceItems.OriginalTaxCode | |
ParentRecIdSystem record ID of the advance invoice this line belongs to. | Int64RefRecId | Yes | Yes | CzCustAdvanceInvoiceTable.RecId | PlCustAdvanceInvoiceItems.ParentRecId |
RefRecIdSystem record ID of the source line, such as a customer free text invoice line. | Int64RefRecId | Yes | Yes | PlCustAdvanceInvoiceItems.RefRecId | |
RefTableIdID of the table that the source line comes from. | IntegerRefTableId | Yes | Yes | PlCustAdvanceInvoiceItems.RefTableId | |
SalesIdThe sales order that the advance invoice relates to. | String (20)SalesId | No | Yes | SalesTable.SalesId | CzCustAdvanceInvoiceTable.SalesId |
Foreign keys (2)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
ParentRecId→CzCustAdvanceInvoiceTable.RecId(key of CzCustAdvanceInvoiceTable)Many PlCustAdvanceInvoiceItems records → exactly one CzCustAdvanceInvoiceTable record
CzCustAdvanceInvoiceTable details: see CustAdvancedInvoiceEntity
SalesId→SalesTable.SalesId(key of SalesTable)Many CzCustAdvanceInvoiceTable records → zero or one SalesTable record
SalesTable details: see SalesOrderHeaderV3Entity, SalesOrderHeaderV2Entity, SalesOrderHeaderV4Entity
Need help with CustAdvancedInvoiceItemsEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.