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-only
  • PurchReqTable · InnerJoin to PurchReqLine · read-only
  • WorkflowWorkItemTable · InnerJoin to PurchReqTable · read-only
  • UnitOfMeasure · InnerJoin to PurchReqLine · read-only

Fields (15)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
RequisitionLineNumberLine sequence number within the requisition. Part of the key.Integer
SequenceNumber
NoYesPurchReqLine.SequenceNumber
ItemNumberItem number requested on the line.String (20)
ItemIdSmall
NoYesInventTable.ItemIdPurchReqLine.ItemId
VendorAccountNumberVendor account suggested for the line.String (20)
VendAccount
NoYesVendTable.AccountNumPurchReqLine.VendAccount
RequestedPurchaseQuantityRequested quantity.Real
InventQty
NoYesPurchReqLine.PurchQty
PurchasePriceUnit price of the requested item.Real
PurchReqPrice
NoYesPurchReqLine.PurchPrice
PurchasePriceQuantityQuantity that the unit price applies to.Real
PriceUnit
NoYesPurchReqLine.PriceUnit
LineAmountNet amount of the line.Real
PurchLineAmount
NoYesPurchReqLine.LineAmount
LineDiscountAmountDiscount amount on the line.Real
PurchLineDisc
NoYesPurchReqLine.LineDisc
LineDiscountPercentageDiscount percentage on the line.Real
PurchLinePercent
NoYesPurchReqLine.LinePercent
CurrencyCodeCurrency of the line amounts.String (3)
CurrencyCode
NoYesCurrency.CurrencyCodePurchReqLine.CurrencyCode
RequestedDateDate by which the goods or services are needed.Date
PurchReqRequiredDate
NoYesPurchReqLine.RequiredDate
PurchaseUnitSymbolShort symbol that identifies the unit. It is the key of the table.String
UnitOfMeasureSymbol
YesYesUnitOfMeasure.Symbol
RequisitionTableRecIdReference to the requisition header this line belongs to. Part of the key.Int64
RefRecId
YesYesPurchReqTable.RecIdPurchReqLine.PurchReqTable
WorkItemRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesWorkflowWorkItemTable.RecId
ApprovalUserThe user the work item is assigned to.String
WorkflowUser
NoYesWorkflowWorkItemTable.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.

Need help with PurchReqApprovalAttachedLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk