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· rootCustInvoiceJour· InnerJoin toCustInvoiceTransSalesTable· OuterJoin toCustInvoiceJourSystemParameters· InnerJoin toCustInvoiceTransInventDim· OuterJoin toCustInvoiceTransInventDistinctProduct· OuterJoin toInventDimEcoResProduct· OuterJoin toInventDistinctProductEcoResProductTranslation· OuterJoin toEcoResProductEcoResProduct_EcoResProductMaster(tableEcoResProductMaster) · Derived toEcoResProductEcoResProduct_EcoResDistinctProduct(tableEcoResDistinctProduct) · Derived toEcoResProductEcoResProduct_EcoResDistinctProductVariant(tableEcoResDistinctProductVariant) · Derived toEcoResProduct_EcoResDistinctProductInventTable· OuterJoin toInventDistinctProductEcoResProductTranslationMaster(tableEcoResProductTranslation) · OuterJoin toInventTableEcoResCategory· OuterJoin toCustInvoiceTrans· read-onlySalesProductCategoryHierarchy(tableEcoResCategoryHierarchy) · OuterJoin toEcoResCategory· read-only
Fields (29)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
InvoicedQuantityInvoiced quantity. | RealSalesInvoicedQty | No | Yes | CustInvoiceTrans.Qty | |
SalesPricePrice per unit. | RealSalesPrice | No | Yes | CustInvoiceTrans.SalesPrice | |
ProductDescriptionFree-text description of the line. | String (1000)ItemFreeTxtBase | No | Yes | CustInvoiceTrans.Name | |
InvoiceNumberInvoice number; links the line to the invoice journal. | String (20)CustInvoiceId | Yes | Yes | CustInvoiceTrans.InvoiceId | |
InvoiceDateDate of the invoice. | DateTransDate | Yes | Yes | CustInvoiceTrans.InvoiceDate | |
CurrencyCodeCurrency of the invoice line. | String (3)CustCurrencyCode | No | Yes | Currency.CurrencyCode | CustInvoiceTrans.CurrencyCode |
SalesUnitSymbolUnit of measure used for sales. | StringSalesUnit | No | Yes | UnitOfMeasure.Symbol | CustInvoiceTrans.SalesUnit |
ConfirmedShippingDateConfirmed ship date. | DateSalesShippingDateConfirmed | No | Yes | SalesTable.ShippingDateConfirmed | |
ProductNumberProduct number shown to users. It identifies the product. | String (70)EcoResProductDisplayProductNumber | Yes | Yes | EcoResProduct.DisplayProductNumber | |
LineCreationSequenceNumberNumber showing the order in which lines were created. | IntegerCustInvoiceLineCreationSequenceNumber | No | Yes | CustInvoiceTrans.LineCreationSequenceNumber | |
LineTotalChargeAmountCharge amount in the transaction currency. | RealAmountCur | No | Yes | CustInvoiceTrans.TotalCharge | |
LineAmountLine amount in the transaction currency. | RealAmountCur | No | Yes | CustInvoiceTrans.LineAmount | |
InventorySiteIdSite of the inventory. | StringInventSiteId | No | Yes | InventSite.SiteId | InventDim.InventSiteId |
InventoryWarehouseIdWarehouse of the inventory. | StringInventLocationId | No | Yes | InventLocation.InventLocationId | InventDim.InventLocationId |
ProductSizeIdSize of the product. | StringEcoResItemSizeName | No | Yes | EcoResSize.Name | InventDim.InventSizeId |
ProductColorIdColour of the product. | StringEcoResItemColorName | No | Yes | EcoResColor.Name | InventDim.InventColorId |
ProductConfigurationIdConfiguration of the product. | String (50)EcoResItemConfigurationName | No | Yes | EcoResConfiguration.Name | InventDim.configId |
ProductStyleIdStyle of the product. | StringEcoResItemStyleName | No | Yes | EcoResStyle.Name | InventDim.InventStyleId |
ProductVersionIdVersion of the product. | StringEcoResItemVersionName | No | Yes | EcoResVersion.Name | InventDim.InventVersionId |
ItemBatchNumberBatch number of the inventory. | String (20)InventBatchId | No | Yes | InventDim.inventBatchId | |
OrderedInventoryStatusIdInventory status of the stock. | StringWHSInventStatusId | No | Yes | WHSInventStatus.InventStatusId | InventDim.InventStatusId |
DimensionNumberPoints to the inventory dimensions of the line. | String (20)InventDimId | No | Yes | InventDim.inventDimId | CustInvoiceTrans.InventDimId |
LedgerVoucherVoucher number linked to the invoice. | String (20)Voucher | No | Yes | CustInvoiceJour.LedgerVoucher | |
SalesProductCategoryNameName of the category. | String (254)EcoResCategoryName | No | Yes | EcoResCategory.Name | |
SalesProductCategoryHierarchyNameName of the category hierarchy. | String (128)EcoResCategoryHierarchyName | No | Yes | EcoResCategoryHierarchy.Name | |
LineTotalDiscountAmountTotal line discount amount. | RealSalesSumLineDiscAmount | No | Yes | CustInvoiceTrans.SumLineDisc | |
ProductVariantNameProduct name in the given language. | String (60)EcoResProductName | No | Yes | EcoResProductTranslation.Name | |
ProductNameProduct name in the given language. | String (60)EcoResProductName | No | Yes | EcoResProductTranslation.Name | |
LineTotalTaxAmountSales tax amount of the line in the transaction currency. | RealTaxAmountCur | No | Yes | CustInvoiceTrans.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.
CurrencyCode→Currency.CurrencyCode(key of Currency)Many CustInvoiceTrans records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
SalesUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many CustInvoiceTrans records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
InventorySiteId→InventSite.SiteId(key of InventSite)Many InventDim records → zero or one InventSite record
InventSite details: see InventOperationalSiteEntity, InventOperationalSiteV2Entity, ScpDemandPlanningSiteEntity
InventoryWarehouseId→InventLocation.InventLocationId(key of InventLocation)Many InventDim records → zero or one InventLocation record
InventLocation details: see InventWarehouseEntity, ScpDemandPlanningWarehouseEntity, RetailDiscountLineV2Entity
ProductSizeId→EcoResSize.Name(key of EcoResSize)Many InventDim records → zero or one EcoResSize record
EcoResSize details: see EcoResProductSizeV2Entity, EcoResProductMasterSizeEntity, EcoResProductMasterSizeTranslationEntity
ProductColorId→EcoResColor.Name(key of EcoResColor)Many InventDim records → zero or one EcoResColor record
EcoResColor details: see EcoResProductColorV2Entity, EcoResProductColorEntity, EcoResProductColorGroupLineEntity
ProductConfigurationId→EcoResConfiguration.Name(key of EcoResConfiguration)Many InventDim records → zero or one EcoResConfiguration record
EcoResConfiguration details: see EcoResProductMasterConfigurationEntity, EcoResProductMasterConfigurationTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
ProductStyleId→EcoResStyle.Name(key of EcoResStyle)Many InventDim records → zero or one EcoResStyle record
EcoResStyle details: see EcoResProductStyleV2Entity, EcoResProductMasterStyleEntity, EcoResProductMasterStyleTranslationEntity
ProductVersionId→EcoResVersion.Name(key of EcoResVersion)Many InventDim records → zero or one EcoResVersion record
EcoResVersion details: see EcoResProductMasterVersionEntity, EcoResProductMasterVersionTranslationEntity, EcoResProductNumberIdentifiedProductVariantEntity
OrderedInventoryStatusId→WHSInventStatus.InventStatusId(key of WHSInventStatus)Many InventDim records → zero or one WHSInventStatus record
WHSInventStatus details: see WHSInventoryStatusEntity, WHSInventStatusCDREntity
DimensionNumber→InventDim.inventDimId(key of InventDim)Many CustInvoiceTrans records → zero or one InventDim record
InventDim details: see ProdProductionPickingListJournalEntryEntity, ProdReportAsFinishedProductionJournalEntryEntity, WHSExternalInventoryAdjustmentEntity
Need help with SalesInvoiceLineV4Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.