Data entity

VRMPurchaseOrderLineEntity

Read-only list of purchase order lines, keyed by purchase order number and line number. Each row shows line status, receipt and ship dates, quantity, unit, unit price, discount and net amount. It also shows inventory dimensions such as site, warehouse, batch and serial number.

Entity name
VRMPurchaseOrderLineEntity
Public entity name
VRMPurchaseOrderLine
OData collection
VRMPurchaseOrderLines
Category
Document
Module
Procurement and sourcing
Read-only
Yes
Data management enabled
No
Configuration key
VendorPortal
Keys
PurchaseOrderNumber, LineNumber
Staging table
None

Use it in Power BI and Power Platform

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

  • PurchLine · root · read-only
  • PurchTableAllVersions · InnerJoin to PurchLine · read-only
  • VendTable · InnerJoin to PurchTableAllVersions · read-only
  • PurchConfirmationRequestJour · OuterJoin to PurchTableAllVersions · read-only
  • InventDim · OuterJoin to PurchLine · read-only
  • PurchLastVersion · OuterJoin to PurchLine · read-only
  • EcoResCategory · OuterJoin to PurchLine
  • EcoResCategory_PCClass (table PCClass) · Derived to EcoResCategory

Fields (32)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
PurchaseOrderLineStatusStatus of the line: None, Open order, Received, Invoiced or Canceled.Enum
PurchStatus
  • None 0
  • Backorder 1
  • Received 2
  • Invoiced 3
  • Canceled 4
NoYesPurchLine.PurchStatus
ConfirmedDeliveryDateDate on which the vendor confirmed the receipt of the goods.Date
PurchLineConfirmedReceiptDate
NoYesPurchLine.ConfirmedDlv
RequestedDeliveryDateReceipt date requested for the goods on this line.Date
PurchLineRequestedReceiptDate
NoYesPurchLine.DeliveryDate
LineAmountNet amount of the line.Real
PurchLineAmount
NoYesPurchLine.LineAmount
LineDiscountAmountDiscount value on the line.Real
PurchLineDisc
NoYesPurchLine.LineDisc
LineNumberNumber of the line within the purchase order.Int64
TradeLineNumber
YesYesPurchLine.LineNumber
LineDiscountPercentageLine discount, as a percentage.Real
PurchLinePercent
NoYesPurchLine.LinePercent
LineDescriptionFree text description of the line or item.String (1000)
ItemFreeTxt
NoYesPurchLine.Name
PurchasePriceQuantityNumber of units that the unit price applies to.Real
PriceUnit
NoYesPurchLine.PriceUnit
PurchaseOrderNumberNumber of the purchase order that the line belongs to. It points to the purchase order header.String (20)
PurchIdBase
YesYesPurchTable.PurchIdPurchLine.PurchId
PurchasePricePrice for one price unit of the item.Real
PurchPrice
NoYesPurchLine.PurchPrice
OrderedPurchaseQuantityQuantity ordered, in the purchase unit.Real
PurchOrderedQty
NoYesPurchLine.PurchQty
PurchaseUnitSymbolUnit of measure used for the purchase quantity.String
PurchUnit
NoYesUnitOfMeasure.SymbolPurchLine.PurchUnit
ConfirmedShippingDateShip date confirmed for the line.Date
SalesShippingDateConfirmed
NoYesPurchLine.ShippingDateConfirmed
ReceivingWarehouseIdWarehouse of the inventory.String
InventLocationId
NoYesInventLocation.InventLocationIdInventDim.InventLocationId
ReceivingSiteIdSite of the inventory.String
InventSiteId
NoYesInventSite.SiteIdInventDim.InventSiteId
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
ItemBatchNumberBatch number of the inventory.String (20)
InventBatchId
NoYesInventDim.inventBatchId
OrderedInventoryStatusIdInventory status of the stock.String
WHSInventStatusId
NoYesWHSInventStatus.InventStatusIdInventDim.InventStatusId
PurchaseOrderLineCreationMethodHow the line was created: Purchase or Consignment.Enum
PurchPurchaseOrderCreationMethod
  • Purchase 0
  • Consignment 1
NoYesPurchLine.PurchaseOrderLineCreationMethod
ReceivingWarehouseLocationIdLocation inside the warehouse.String
WMSLocationId
NoYesWMSLocation.wMSLocationIdInventDim.wMSLocationId
InventoryLotIdLot ID that identifies the line. It is the key of the table and links to inventory transactions.String (20)
TradeInventTransId
NoYesInventTransOrigin.InventTransIdPurchLine.InventTransId
ItemSerialNumberSerial number of the inventory.String (20)
InventSerialId
NoYesInventDim.inventSerialId
PurchaseOrderDocumentReferenceNumber of the purchase journal.String (20)
PurchaseOrderId
NoYesPurchConfirmationRequestJour.DocumentNumber
VersionDateTimeDate and time of the change that created this version.UtcDateTime
VersioningTimeStamp
YesYesPurchTableVersion.VersionDateTime
ProcurementProductCategoryNameName of the category.String (254)
EcoResCategoryName
YesYesEcoResCategory.Name
GlobalVendorNumberGlobal vendor number from an external supplier app. Points to a global vendor record.String (100)
VRMGlobalVendorNumber
NoYesVRMGlobalVendor.VendorNumberVendTable.VRMGlobalVendor
ConcatenatedProductDimensionsThe product dimensions of the line joined into one text value.String (400)
VRMProductDimensionsString
NoYesvirtual
InventDimIdUnique number for this combination of dimensions.String (20)
InventDimId
YesNo (private)InventDim.inventDimId

Foreign keys (12)

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

Email sales@drdynamics.co.uk