Data entity

SalesInvoiceLineV4Entity

Read-only list of sales invoice lines, version 4. It is keyed by invoice number, line creation sequence number, invoice date and voucher. It links each line to the invoice header, sales order, product, category and inventory dimensions. It shows amounts in transaction currency and in the company currency, plus line discount and sales tax amount.

Entity name
SalesInvoiceLineV4Entity
Public entity name
SalesInvoiceV4Line
OData collection
SalesInvoiceV4Lines
Category
Document
Module
Accounts receivable
Read-only
Yes
Data management enabled
Yes
Configuration key
LogisticsBasic
Keys
InvoiceNumber, LineCreationSequenceNumber, InvoiceDate, LedgerVoucher
Staging table
SalesInvoiceLineV4Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/SalesInvoiceV4Lines
Dataverse virtual table
mserp_salesinvoicelinev4entity. 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
  • SystemParameters · InnerJoin to CustInvoiceTrans
  • InventDim · OuterJoin to CustInvoiceTrans
  • InventDistinctProduct · OuterJoin to InventDim
  • EcoResProduct · OuterJoin to InventDistinctProduct
  • EcoResProductTranslation · OuterJoin to EcoResProduct
  • EcoResProduct_EcoResProductMaster (table EcoResProductMaster) · Derived to EcoResProduct
  • EcoResProduct_EcoResDistinctProduct (table EcoResDistinctProduct) · Derived to EcoResProduct
  • EcoResProduct_EcoResDistinctProductVariant (table EcoResDistinctProductVariant) · Derived to EcoResProduct_EcoResDistinctProduct
  • InventTable · OuterJoin to InventDistinctProduct
  • EcoResProductTranslationMaster (table EcoResProductTranslation) · OuterJoin to InventTable
  • EcoResCategory · OuterJoin to CustInvoiceTrans · read-only
  • SalesProductCategoryHierarchy (table EcoResCategoryHierarchy) · OuterJoin to EcoResCategory · read-only

Fields (29)

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
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
LineTotalChargeAmountCharge amount in the transaction currency.Real
AmountCur
NoYesCustInvoiceTrans.TotalCharge
LineAmountLine amount in the transaction currency.Real
AmountCur
NoYesCustInvoiceTrans.LineAmount
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
LedgerVoucherVoucher number linked to the invoice.String (20)
Voucher
NoYesCustInvoiceJour.LedgerVoucher
SalesProductCategoryNameName of the category.String (254)
EcoResCategoryName
NoYesEcoResCategory.Name
SalesProductCategoryHierarchyNameName of the category hierarchy.String (128)
EcoResCategoryHierarchyName
NoYesEcoResCategoryHierarchy.Name
LineTotalDiscountAmountTotal line discount amount.Real
SalesSumLineDiscAmount
NoYesCustInvoiceTrans.SumLineDisc
ProductVariantNameProduct name in the given language.String (60)
EcoResProductName
NoYesEcoResProductTranslation.Name
ProductNameProduct name in the given language.String (60)
EcoResProductName
NoYesEcoResProductTranslation.Name
LineTotalTaxAmountSales tax amount of the line in the transaction currency.Real
TaxAmountCur
NoYesCustInvoiceTrans.TotalTax

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

Email sales@drdynamics.co.uk