Data entity

VendInvoiceApprovalLineEntity

Read-only vendor invoice lines that are waiting for approval. It is keyed by work item record ID, legal entity, header reference and line number. Each line has the item number, unit, unit price, net amount and currency. It also shows the approval user and the workflow task and type.

Entity name
VendInvoiceApprovalLineEntity
Public entity name
VendInvoiceApprovalLine
OData collection
VendInvoiceApprovalLines
Category
Document
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
LogisticsBasic
Keys
WorkItemRecId, LegalEntity, HeaderReference, LineNumber
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/VendInvoiceApprovalLines
Dataverse virtual table
mserp_vendinvoiceapprovallineentity. 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 · root
  • VendInvoiceInfoTable · InnerJoin to VendInvoiceInfoLine
  • WorkflowWorkItemTable · InnerJoin to VendInvoiceInfoLine · read-only

Fields (14)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
InvoiceNumberInvoice number given by the vendor.String (50)
VendInvoiceId
NoYesVendInvoiceInfoTable.Num
LegalEntityThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesVendInvoiceInfoLine.DataAreaId
ApprovalUserThe user the work item is assigned to.String
WorkflowUser
NoYesWorkflowWorkItemTable.UserId
WorkItemRecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesWorkflowWorkItemTable.RecId
WorkflowElementIdThe workflow task element this work item belongs to.Guid
WorkflowElementId
NoYesWorkflowElementTable.ElementIdWorkflowWorkItemTable.ElementId
WorkItemTypeKind of work item, such as work item, return or escalation.Enum
WorkflowWorkItemType
  • WorkItem 0
  • RequestChange 1
  • Return 2
  • Escalated 3
  • FinalApprover 4
  • Recall 5
NoYesWorkflowWorkItemTable.Type
HeaderReferenceLine reference that links the line to its parent vendor invoice record.String (20)
TradeLineRefId
YesYesVendInvoiceInfoSubTable.TableRefIdVendInvoiceInfoTable.TableRefIdVendInvoiceInfoLine.TableRefId
ItemNumberItem on the line.String (20)
ItemId
NoYesInventTable.ItemIdVendInvoiceInfoLine.ItemId
UnitPriceUnit price of the item.Real
PurchPrice
NoYesVendInvoiceInfoLine.PurchPrice
UnitUnit of measure used for purchasing.String
PurchUnit
NoYesUnitOfMeasure.SymbolVendInvoiceInfoLine.PurchUnit
QtyQuantity to be updated, in purchase unit.Real
PurchQty
NoYesVendInvoiceInfoLine.ReceiveNow
LineNetAmountNet amount of the line, in the line currency.Real
AmountCur
NoYesVendInvoiceInfoLine.LineAmount
LineNumberNumber of the line.Real
LineNum
NoYesVendInvoiceInfoLine.LineNum
CurrencyCodeCurrency of the line.String (3)
VendCurrencyCode
NoYesCurrency.CurrencyCodeVendInvoiceInfoLine.currencyCode

Foreign keys (6)

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

Email sales@drdynamics.co.uk