Data entity
VRMPendingVendorInvoiceLineDetailsEntity
Holds the lines of pending vendor invoices, keyed by invoice header reference and line number. It shows item, quantity-related prices, net amount, discounts, procurement category and review status. It also shows inventory dimensions such as site, warehouse, size, colour, configuration and style.
- Entity name
VRMPendingVendorInvoiceLineDetailsEntity- Public entity name
VRMPendingVendorInvoiceLine- OData collection
VRMPendingVendorInvoiceLines- Category
Document- Module
Procurement and sourcing- Read-only
No- Data management enabled
No- Configuration key
VendorPortal- Keys
HeaderReference, InvoiceLineNumber- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/VRMPendingVendorInvoiceLines- Dataverse virtual table
mserp_vrmpendingvendorinvoicelinedetailsentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
VendInvoiceInfoLine· rootVendInvoiceInfoTable· InnerJoin toVendInvoiceInfoLine· read-onlyVendTable· InnerJoin toVendInvoiceInfoTable· read-onlyEcoResCategory· OuterJoin toVendInvoiceInfoLine· read-onlyEcoResCategoryHierarchy· OuterJoin toEcoResCategory· read-onlyPCClass· Derived toEcoResCategoryInventDim· OuterJoin toVendInvoiceInfoLine· read-only
Fields (45)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
HeaderReferenceLine reference that links the line to its parent vendor invoice record. | String (20)TradeLineRefId | Yes | Yes | VendInvoiceInfoSubTable.TableRefIdVendInvoiceInfoTable.TableRefId | VendInvoiceInfoLine.TableRefId |
InvoiceAccountVendor account that is invoiced. | String (20)VendInvoiceAccount | No | Yes | VendTable.AccountNum | VendInvoiceInfoLine.InvoiceAccount |
InvoiceNumberInvoice number given by the vendor. | String (50)VendInvoiceId | No | Yes | VendInvoiceInfoTable.Num | |
CurrencyCurrency of the line. | String (3)VendCurrencyCode | No | Yes | Currency.CurrencyCode | VendInvoiceInfoLine.currencyCode |
LineDescriptionFree text describing the invoice line. | String (1000)InvoiceLineDescription | No | Yes | VendInvoiceInfoLine.Description | |
DimensionNumberInventory dimension combination for the line. | String (20)InventDimId | No | Yes | InventDim.inventDimId | VendInvoiceInfoLine.InventDimId |
ItemNumberItem on the line. | String (20)ItemId | No | Yes | InventTable.ItemId | VendInvoiceInfoLine.ItemId |
NetAmountNet amount of the line, in the line currency. | RealAmountCur | No | Yes | VendInvoiceInfoLine.LineAmount | |
LineDiscountAmountDiscount amount for the line. | RealPurchLineDisc | No | Yes | VendInvoiceInfoLine.LineDisc | |
LineNumberNumber of the line. | RealLineNum | No | Yes | VendInvoiceInfoLine.LineNum | |
DiscountPercentDiscount percentage for the line. | RealPurchLinePercent | No | Yes | VendInvoiceInfoLine.LinePercent | |
LineTypeType of the line: standard, prepayment, prepayment application or reverse prepayment application. | Enum
| No | Yes | VendInvoiceInfoLine.LineType | |
MultilineDiscountMultiline discount amount. | RealPurchMultiLnDisc | No | Yes | VendInvoiceInfoLine.MultiLnDisc | |
MultilineDiscountPercentageMultiline discount percentage. | RealPurchMultiLnPercent | No | Yes | VendInvoiceInfoLine.MultiLnPercent | |
PriceUnitNumber of units that the unit price applies to. | RealPriceUnit | No | Yes | VendInvoiceInfoLine.PriceUnit | |
ProcurementCategoryProcurement category of the line. | Int64PurchCategory | No | No (private) | EcoResCategory.RecId | VendInvoiceInfoLine.ProcurementCategory |
ChargesOnPurchasesCharges added to the purchase. | RealPurchMarkup | No | Yes | VendInvoiceInfoLine.PurchMarkup | |
UnitPriceUnit price of the item. | RealPurchPrice | No | Yes | VendInvoiceInfoLine.PurchPrice | |
UnitUnit of measure used for purchasing. | StringPurchUnit | No | Yes | UnitOfMeasure.Symbol | VendInvoiceInfoLine.PurchUnit |
VendorInvoiceLineReviewStatusReview status of the invoice line: draft, in review, approved, rejected or cancelled. | Enum
| No | Yes | VendInvoiceInfoLine.RequestStatus | |
ProcurementCategoryHierarchyPoints to the category hierarchy that the category belongs to. | Int64EcoResCategoryHierarchyId | Yes | No (private) | EcoResCategoryHierarchy.RecId | EcoResCategory.CategoryHierarchy |
ProcurementCategoryNameName of the category. | String (254)EcoResCategoryName | No | Yes | EcoResCategory.Name | |
ProcurementCategoryHierarchyNameName of the category hierarchy. | String (128)EcoResCategoryHierarchyName | No | Yes | EcoResCategoryHierarchy.Name | |
ItemNameThe name of the item on the invoice line. | String (120) | No | Yes | virtual | |
InvoiceLineNumberLine number on the invoice. | RealLineNum | No | Yes | VendInvoiceInfoLine.InvoiceLineNum | |
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 |
InvoiceTransactionDateTransaction date. | DateTransDate | No | No (private) | VendInvoiceInfoTable.TransDate | |
PurchaseOrderPurchase order that the line comes from. | String (20)PurchIdOrig | No | Yes | PurchTable.PurchId | VendInvoiceInfoLine.OrigPurchId |
PurchLineNumberLine number of the purchase order line. | Int64TradeLineNumber | No | Yes | VendInvoiceInfoLine.PurchaseLineLineNumber | |
ReceiveNowQuantity to be updated, in purchase unit. | RealPurchQty | No | Yes | VendInvoiceInfoLine.ReceiveNow | |
OrderingDocument status that the line is updated to, such as packing slip or invoice. | Enum
| No | Yes | VendInvoiceInfoLine.Ordering | |
InventDimIdUnique number for this combination of dimensions. | String (20)InventDimId | Yes | No (private) | InventDim.inventDimId | |
ConcatenatedProductDimensionsThe product dimensions of the line joined into one text value. | String (400)VRMProductDimensionsString | No | Yes | virtual | |
GlobalVendorNumberGlobal vendor number from an external supplier app. Points to a global vendor record. | String (100)VRMGlobalVendorNumber | No | Yes | VRMGlobalVendor.VendorNumber | VendTable.VRMGlobalVendor |
TaxGroupSales tax group of the line. | StringTaxGroup | No | Yes | TaxGroupHeading.TaxGroup | VendInvoiceInfoLine.TaxGroup |
TaxItemGroupItem sales tax group of the line. | StringTaxItemGroup | No | Yes | TaxItemGroupHeading.TaxItemGroup | VendInvoiceInfoLine.TaxItemGroup |
InvoiceCreatedDateTimeThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | VendInvoiceInfoTable.CreatedDateTime |
Foreign keys (21)
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.
HeaderReference→VendInvoiceInfoSubTable.TableRefId(key of VendInvoiceInfoSubTable)Join on all of:
HeaderReference=VendInvoiceInfoSubTable.TableRefId,ParmId(table field, not in this entity) =VendInvoiceInfoSubTable.ParmId,PurchaseOrder=VendInvoiceInfoSubTable.OrigPurchIdMany VendInvoiceInfoLine records → exactly one VendInvoiceInfoSubTable record
VendInvoiceInfoSubTable details: see VendorInvoiceLineEntity
HeaderReference→VendInvoiceInfoTable.TableRefId(key of VendInvoiceInfoTable)Join on all of:
HeaderReference=VendInvoiceInfoTable.TableRefId,ParmId(table field, not in this entity) =VendInvoiceInfoTable.ParmIdMany VendInvoiceInfoLine records → exactly one VendInvoiceInfoTable record
VendInvoiceInfoTable details: see VendorInvoiceHeaderEntity, ProjVendInvoiceExportEntityV2, ProjVendInvoiceExportEntity
InvoiceAccount→VendTable.AccountNum(key of VendTable)Many VendInvoiceInfoLine records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
Currency→Currency.CurrencyCode(key of Currency)Many VendInvoiceInfoLine records → zero or one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
DimensionNumber→InventDim.inventDimId(key of InventDim)Many VendInvoiceInfoLine records → zero or one InventDim record
InventDim details: see ProdProductionPickingListJournalEntryEntity, ProdReportAsFinishedProductionJournalEntryEntity, WHSExternalInventoryAdjustmentEntity
ItemNumber→InventTable.ItemId(key of InventTable)Many VendInvoiceInfoLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
ProcurementCategory→EcoResCategory.RecId(key of EcoResCategory)Many VendInvoiceInfoLine records → zero or one EcoResCategory record
EcoResCategory details: see EcoResProductCategoryEntity, EcoResProductCDSCategoryAssignmentEntity, EcoResProductCDSCategoryEntity
Unit→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many VendInvoiceInfoLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
ProcurementCategoryHierarchy→EcoResCategoryHierarchy.RecId(key of EcoResCategoryHierarchy)Many EcoResCategory records → exactly one EcoResCategoryHierarchy record
EcoResCategoryHierarchy details: see IntrastatEntity, IntrastatEntityV2, RetailSpecialCategoryMemberEntity
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
PurchaseOrder→PurchTable.PurchId(key of PurchTable)Many VendInvoiceInfoLine records → zero or one PurchTable record
PurchTable details: see PurchPurchaseOrderHeaderV2Entity, PurchPurchaseOrderHeaderEntity, ProjSubContractPurchaseOrderHeaderEntity
GlobalVendorNumber→VRMGlobalVendor.VendorNumber(key of VRMGlobalVendor)Many VendTable records → zero or one VRMGlobalVendor record
VRMGlobalVendor details: see VRMGlobalVendorEntity, VRMContactPersonEntity, VRMPartyContactEntity
TaxGroup→TaxGroupHeading.TaxGroup(key of TaxGroupHeading)Many VendInvoiceInfoLine records → zero or one TaxGroupHeading record
TaxGroupHeading details: see TrvExpMobileTaxGroupEntity, TaxGroupEntity, BusinessDocumentTaxGroupHeadingEntity
TaxItemGroup→TaxItemGroupHeading.TaxItemGroup(key of TaxItemGroupHeading)Many VendInvoiceInfoLine records → zero or one TaxItemGroupHeading record
TaxItemGroupHeading details: see TrvExpMobileItemTaxEntity, TaxItemGroupEntity, TaxItemGroupHeadingEntity
Need help with VRMPendingVendorInvoiceLineDetailsEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.