Data entity
PurchPurchaseOrderLineAIEntity
Read-only, slim view of purchase order lines, built for AI use. It is keyed by purchase order number and line number. It holds only a few fields: item, quantity, unit, prices, vendor account, line status, and requested and confirmed dates.
- Entity name
PurchPurchaseOrderLineAIEntity- Public entity name
PurchaseOrderLineForAI- OData collection
PurchaseOrderLinesForAI- Category
Document- Module
Procurement and sourcing- Read-only
Yes- Data management enabled
No- Configuration key
LogisticsBasic- Keys
PurchaseOrderNumber, LineNumber- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PurchaseOrderLinesForAI- Dataverse virtual table
mserp_purchpurchaseorderlineaientity. 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
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
PurchaseOrderNumberNumber of the purchase order that the line belongs to. It points to the purchase order header. | String (20)PurchIdBase | Yes | Yes | PurchTable.PurchId | PurchLine.PurchId |
LineNumberNumber of the line within the purchase order. | Int64TradeLineNumber | No | Yes | PurchLine.LineNumber | |
ConfirmedDeliveryDateDate on which the vendor confirmed the receipt of the goods. | DatePurchLineConfirmedReceiptDate | No | Yes | PurchLine.ConfirmedDlv | |
RequestedDeliveryDateReceipt date requested for the goods on this line. | DatePurchLineRequestedReceiptDate | No | Yes | PurchLine.DeliveryDate | |
ConfirmedShippingDateShip date confirmed for the line. | DateSalesShippingDateConfirmed | No | Yes | PurchLine.ShippingDateConfirmed | |
ItemNumberNumber of the item being purchased. It points to an item record. | String (20)ItemIdSmall | No | Yes | InventTable.ItemId | PurchLine.ItemId |
PurchasePriceQuantityNumber of units that the unit price applies to. | RealPriceUnit | No | Yes | PurchLine.PriceUnit | |
PurchasePricePrice for one price unit of the item. | RealPurchPrice | No | Yes | PurchLine.PurchPrice | |
OrderedPurchaseQuantityQuantity ordered, in the purchase unit. | RealPurchOrderedQty | No | Yes | PurchLine.PurchQty | |
PurchaseUnitSymbolUnit of measure used for the purchase quantity. | StringPurchUnit | No | Yes | UnitOfMeasure.Symbol | PurchLine.PurchUnit |
VendorAccountNumberAccount number of the vendor. It points to a vendor record. | String (20)VendAccount | Yes | Yes | VendTable.AccountNum | PurchLine.VendAccount |
PurchaseOrderLineStatusStatus of the line: None, Open order, Received, Invoiced or Canceled. | Enum
| No | Yes | PurchLine.PurchStatus | |
PurchaseTypeType of purchase document: journal, purchase order or returned order. | Enum
| No | Yes | PurchLine.PurchaseType | |
IsDeletedYes/No flag showing whether the line is marked as deleted. | EnumVersioningIsDeleted
| No | Yes | PurchLine.IsDeleted |
Foreign keys (4)
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.
PurchaseOrderNumber→PurchTable.PurchId(key of PurchTable)Many PurchLine records → exactly one PurchTable record
PurchTable details: see PurchPurchaseOrderHeaderV2Entity, PurchPurchaseOrderHeaderEntity, ProjSubContractPurchaseOrderHeaderEntity
ItemNumber→InventTable.ItemId(key of InventTable)Many PurchLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
PurchaseUnitSymbol→UnitOfMeasure.Symbol(key of UnitOfMeasure)Many PurchLine records → zero or one UnitOfMeasure record
UnitOfMeasure details: see RetailAttributesLegalEntityLookupEntity, EcoResReleasedDistinctProductCDSEntity, EcoResSellableReleasedProductEntity
VendorAccountNumber→VendTable.AccountNum(key of VendTable)Many PurchLine records → exactly one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
Need help with PurchPurchaseOrderLineAIEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.