Data entity
PurchReqApprovalAttachedLineEntity
Read-only list of purchase requisition lines that are attached to an approval work item. Each line shows the item, vendor, quantity, price, net amount, currency, unit and requested date. It also gives the approval user and work item ID. It is keyed by the requisition record ID and the line number.
- Entity name
PurchReqApprovalAttachedLineEntity- Public entity name
PurchaseRequisitionApprovalAttachedLine- OData collection
PurchaseRequisitionApprovalAttachedLines- Category
Document- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
None- Keys
RequisitionTableRecId, RequisitionLineNumber- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PurchaseRequisitionApprovalAttachedLines- Dataverse virtual table
mserp_purchreqapprovalattachedlineentity. 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
PurchReqLine· root · read-onlyPurchReqTable· InnerJoin toPurchReqLine· read-onlyWorkflowWorkItemTable· InnerJoin toPurchReqTable· read-onlyUnitOfMeasure· InnerJoin toPurchReqLine· read-only
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
RequisitionLineNumberLine sequence number within the requisition. Part of the key. | IntegerSequenceNumber | No | Yes | PurchReqLine.SequenceNumber | |
ItemNumberItem number requested on the line. | String (20)ItemIdSmall | No | Yes | InventTable.ItemId | PurchReqLine.ItemId |
VendorAccountNumberVendor account suggested for the line. | String (20)VendAccount | No | Yes | VendTable.AccountNum | PurchReqLine.VendAccount |
RequestedPurchaseQuantityRequested quantity. | RealInventQty | No | Yes | PurchReqLine.PurchQty | |
PurchasePriceUnit price of the requested item. | RealPurchReqPrice | No | Yes | PurchReqLine.PurchPrice | |
PurchasePriceQuantityQuantity that the unit price applies to. | RealPriceUnit | No | Yes | PurchReqLine.PriceUnit | |
LineAmountNet amount of the line. | RealPurchLineAmount | No | Yes | PurchReqLine.LineAmount | |
LineDiscountAmountDiscount amount on the line. | RealPurchLineDisc | No | Yes | PurchReqLine.LineDisc | |
LineDiscountPercentageDiscount percentage on the line. | RealPurchLinePercent | No | Yes | PurchReqLine.LinePercent | |
CurrencyCodeCurrency of the line amounts. | String (3)CurrencyCode | No | Yes | Currency.CurrencyCode | PurchReqLine.CurrencyCode |
RequestedDateDate by which the goods or services are needed. | DatePurchReqRequiredDate | No | Yes | PurchReqLine.RequiredDate | |
PurchaseUnitSymbolShort symbol that identifies the unit. It is the key of the table. | StringUnitOfMeasureSymbol | Yes | Yes | UnitOfMeasure.Symbol | |
RequisitionTableRecIdReference to the requisition header this line belongs to. Part of the key. | Int64RefRecId | Yes | Yes | PurchReqTable.RecId | PurchReqLine.PurchReqTable |
WorkItemRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | WorkflowWorkItemTable.RecId | |
ApprovalUserThe user the work item is assigned to. | StringWorkflowUser | No | Yes | WorkflowWorkItemTable.UserId |
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.
ItemNumber→InventTable.ItemId(key of InventTable)Join on all of:
ItemNumber=InventTable.ItemId,ItemIdDataArea(table field, not in this entity) =InventTable.dataAreaIdMany PurchReqLine records → zero or one InventTable record
InventTable details: see EcoResReleasedProductV2Entity, EcoResReleasedProductDVEntity, CLMIntegrationReleasedProductEntity
VendorAccountNumber→VendTable.AccountNum(key of VendTable)Join on all of:
VendorAccountNumber=VendTable.AccountNum,VendAccountDataArea(table field, not in this entity) =VendTable.dataAreaIdMany PurchReqLine records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many PurchReqLine records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
RequisitionTableRecId→PurchReqTable.RecId(key of PurchReqTable)Many PurchReqLine records → exactly one PurchReqTable record
PurchReqTable details: see PurchaseRequisitionHeaderV2Entity, HcmContractorEntity, HcmContractorV2Entity
Need help with PurchReqApprovalAttachedLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.