Data entity

VendInvoiceApprovalAttachedLineEntity

Read-only vendor invoice lines attached to an invoice that is in approval. It is keyed by 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 work item record ID.

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

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/VendInvoiceApprovalAttachedLines
Dataverse virtual table
mserp_vendinvoiceapprovalattachedlineentity. 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 VendInvoiceInfoTable · read-only

Fields (12)

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
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 (5)

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

Email sales@drdynamics.co.uk