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 · root
  • CzCustAdvanceInvoiceTable · InnerJoin to PlCustAdvanceInvoiceItems · read-only

Fields (14)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LineNumLine number on the advance invoice.Real
LineNum
NoYesPlCustAdvanceInvoiceItems.LineNum
OriginalItemIdItem number of the original line.String (20)
ItemId
NoYesPlCustAdvanceInvoiceItems.OriginalItemId
OriginalItemNameProduct name of the original line.String (60)
ItemName
NoYesPlCustAdvanceInvoiceItems.OriginalItemName
OriginalLineAmountExclTaxNet line amount without sales tax.Real
SalesLineAmount
NoYesPlCustAdvanceInvoiceItems.OriginalLineAmountExclTax
OriginalLineAmountInclTaxLine amount including sales tax. The label says net amount.low confidenceReal
SalesLineAmount
NoYesPlCustAdvanceInvoiceItems.OriginalLineAmountInclTax
OriginalQtyQuantity on the original line.Real
Qty
NoYesPlCustAdvanceInvoiceItems.OriginalQty
OriginalSalesPriceExclTaxSales price excluding tax.Real
SalesPrice
NoYesPlCustAdvanceInvoiceItems.OriginalSalesPriceExclTax
OriginalSalesUnitUnit of measure used for the sales quantity.String
SalesUnit
NoYesPlCustAdvanceInvoiceItems.OriginalSalesUnit
OriginalTaxAmountSales tax amount on the line.Real
TaxAmount
NoYesPlCustAdvanceInvoiceItems.OriginalTaxAmount
OriginalTaxCodeSales tax code on the line.String
TaxCode
NoYesPlCustAdvanceInvoiceItems.OriginalTaxCode
ParentRecIdSystem record ID of the advance invoice this line belongs to.Int64
RefRecId
YesYesCzCustAdvanceInvoiceTable.RecIdPlCustAdvanceInvoiceItems.ParentRecId
RefRecIdSystem record ID of the source line, such as a customer free text invoice line.Int64
RefRecId
YesYesPlCustAdvanceInvoiceItems.RefRecId
RefTableIdID of the table that the source line comes from.Integer
RefTableId
YesYesPlCustAdvanceInvoiceItems.RefTableId
SalesIdThe sales order that the advance invoice relates to.String (20)
SalesId
NoYesSalesTable.SalesIdCzCustAdvanceInvoiceTable.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.

Need help with CustAdvancedInvoiceItemsEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk