Data entity

VendInvoiceApprovalHeaderEntity

Read-only vendor invoice headers that are waiting for approval. It is keyed by work item record ID, legal entity and header reference. It shows the vendor account, name, currency, due date, invoice, approval user and the workflow task and type.

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

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/VendInvoiceApprovalHeaders
Dataverse virtual table
mserp_vendinvoiceapprovalheaderentity. 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

  • VendInvoiceInfoTable · root
  • WorkflowWorkItemTable · InnerJoin to VendInvoiceInfoTable · read-only

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
InvoiceVendorAccountVendor account that the invoice is for.String (20)
VendAccount
NoYesVendTable.AccountNumVendInvoiceInfoTable.OrderAccount
CurrencyCodeCurrency of the invoice.String (3)
VendCurrencyCode
YesYesCurrency.CurrencyCodeVendInvoiceInfoTable.CurrencyCode
InvoiceDueDateFixed due date of the invoice.Date
PurchFixedDueDate
NoYesVendInvoiceInfoTable.FixedDueDate
InvoiceNumberInvoice number given by the vendor.String (50)
VendInvoiceId
NoYesVendInvoiceInfoTable.Num
InvoiceVendorNameName on the purchase order.String (60)
PurchName
NoYesVendInvoiceInfoTable.PurchName
LegalEntityThe company (legal entity) that the record belongs to.String (4)
DataAreaId
NoYesVendInvoiceInfoTable.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, with the parameter ID, identifies the invoice.String (20)
TradeLineRefId
YesYesVendInvoiceInfoTable.TableRefId

Foreign keys (3)

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

Email sales@drdynamics.co.uk