Data entity

SalesInvoiceLineEntity

Read-only list of sales invoice lines, one per customer invoice line. It is keyed by invoice number, line creation sequence number and invoice date. It joins the invoice header, sales order, inventory dimensions and product details. It shows quantity, unit price, amount, and line tax and discount values.

Entity name
SalesInvoiceLineEntity
Public entity name
SalesInvoiceLine
OData collection
SalesInvoiceLines
Category
Document
Module
Accounts receivable
Read-only
Yes
Data management enabled
Yes
Configuration key
LogisticsBasic
Keys
InvoiceNumber, LineCreationSequenceNumber, InvoiceDate
Staging table
SalesInvoiceLineStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SalesInvoiceLines
Dataverse virtual table
mserp_salesinvoicelineentity. 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

  • CustInvoiceTrans · root
  • CustInvoiceJour · InnerJoin to CustInvoiceTrans
  • SalesTable · OuterJoin to CustInvoiceJour
  • InventDim · OuterJoin to CustInvoiceTrans
  • InventDistinctProduct · OuterJoin to InventDim
  • EcoResDistinctProduct · OuterJoin to InventDistinctProduct
  • EcoResProductSystemLanguage · OuterJoin to EcoResDistinctProduct
  • EcoResProductTranslation · OuterJoin to EcoResDistinctProduct
  • InventTable · OuterJoin to EcoResDistinctProduct
  • EcoResProductMaster · OuterJoin to InventTable
  • EcoResProductTranslationMaster (table EcoResProductTranslation) · OuterJoin to InventTable
  • EcoResDistinctProduct_EcoResDistinctProductVariant (table EcoResDistinctProductVariant) · Derived to EcoResDistinctProduct
  • CustInvoiceTransTotalChargeAmountView · OuterJoin to CustInvoiceTrans
  • CustInvoiceTransLineChargesTaxAmountView · OuterJoin to CustInvoiceTrans
  • CustInvoiceTransLineTaxAmountView · OuterJoin to CustInvoiceTrans

Fields (25)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
InvoicedQuantityInvoiced quantity.Real
SalesInvoicedQty
NoYesCustInvoiceTrans.Qty
SalesPricePrice per unit.Real
SalesPrice
NoYesCustInvoiceTrans.SalesPrice
ProductDescriptionFree-text description of the line.String (1000)
ItemFreeTxtBase
NoYesCustInvoiceTrans.Name
InvoiceNumberInvoice number; links the line to the invoice journal.String (20)
CustInvoiceId
YesYesCustInvoiceTrans.InvoiceId
InvoiceDateDate of the invoice.Date
TransDate
YesYesCustInvoiceTrans.InvoiceDate
CurrencyCodeCurrency of the invoice line.String (3)
CustCurrencyCode
NoYesCurrency.CurrencyCodeCustInvoiceTrans.CurrencyCode
SalesUnitSymbolUnit of measure used for sales.String
SalesUnit
NoYesUnitOfMeasure.SymbolCustInvoiceTrans.SalesUnit
ConfirmedShippingDateConfirmed ship date.Date
SalesShippingDateConfirmed
NoYesSalesTable.ShippingDateConfirmed
LineTotalDiscountAmountTotal discount amount for the invoice line.Real
SalesLineDisc
NoYescomputed
ProductNumberProduct number shown to users. It identifies the product.String (70)
EcoResProductDisplayProductNumber
YesYesEcoResProduct.DisplayProductNumber
LineCreationSequenceNumberNumber showing the order in which lines were created.Integer
CustInvoiceLineCreationSequenceNumber
NoYesCustInvoiceTrans.LineCreationSequenceNumber
LineTotalTaxAmountTotal sales tax amount for the invoice line. The metadata gives no label.RealNoYescomputed
LineTotalChargeAmountCharge amount in the transaction currency.Real
AmountCur
NoYesMarkupTrans.CalculatedAmount
LineAmountLine amount in the transaction currency.Real
AmountCur
NoYesCustInvoiceTrans.LineAmount
ProductNameName of the product on the invoice line.String (60)
EcoResProductName
NoYescomputed
InventorySiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
InventoryWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
ProductSizeIdSize of the product.String
EcoResItemSizeName
NoYesEcoResSize.NameInventDim.InventSizeId
ProductColorIdColour of the product.String
EcoResItemColorName
NoYesEcoResColor.NameInventDim.InventColorId
ProductConfigurationIdConfiguration of the product.String (50)
EcoResItemConfigurationName
NoYesEcoResConfiguration.NameInventDim.configId
ProductStyleIdStyle of the product.String
EcoResItemStyleName
NoYesEcoResStyle.NameInventDim.InventStyleId
ProductVersionIdVersion of the product.String
EcoResItemVersionName
NoYesEcoResVersion.NameInventDim.InventVersionId
ItemBatchNumberBatch number of the inventory.String (20)
InventBatchId
NoYesInventDim.inventBatchId
OrderedInventoryStatusIdInventory status of the stock.String
WHSInventStatusId
NoYesWHSInventStatus.InventStatusIdInventDim.InventStatusId
DimensionNumberPoints to the inventory dimensions of the line.String (20)
InventDimId
NoYesInventDim.inventDimIdCustInvoiceTrans.InventDimId

Foreign keys (11)

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 SalesInvoiceLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk