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· rootWorkflowWorkItemTable· InnerJoin toVendInvoiceInfoTable· read-only
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
InvoiceVendorAccountVendor account that the invoice is for. | String (20)VendAccount | No | Yes | VendTable.AccountNum | VendInvoiceInfoTable.OrderAccount |
CurrencyCodeCurrency of the invoice. | String (3)VendCurrencyCode | Yes | Yes | Currency.CurrencyCode | VendInvoiceInfoTable.CurrencyCode |
InvoiceDueDateFixed due date of the invoice. | DatePurchFixedDueDate | No | Yes | VendInvoiceInfoTable.FixedDueDate | |
InvoiceNumberInvoice number given by the vendor. | String (50)VendInvoiceId | No | Yes | VendInvoiceInfoTable.Num | |
InvoiceVendorNameName on the purchase order. | String (60)PurchName | No | Yes | VendInvoiceInfoTable.PurchName | |
LegalEntityThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | VendInvoiceInfoTable.DataAreaId | |
ApprovalUserThe user the work item is assigned to. | StringWorkflowUser | No | Yes | WorkflowWorkItemTable.UserId | |
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 | |
WorkflowElementIdThe workflow task element this work item belongs to. | GuidWorkflowElementId | No | Yes | WorkflowElementTable.ElementId | WorkflowWorkItemTable.ElementId |
WorkItemTypeKind of work item, such as work item, return or escalation. | Enum
| No | Yes | WorkflowWorkItemTable.Type | |
HeaderReferenceLine reference that, with the parameter ID, identifies the invoice. | String (20)TradeLineRefId | Yes | Yes | VendInvoiceInfoTable.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.
InvoiceVendorAccount→VendTable.AccountNum(key of VendTable)Many VendInvoiceInfoTable records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
CurrencyCode→Currency.CurrencyCode(key of Currency)Many VendInvoiceInfoTable records → exactly one Currency record
Currency details: see CurrencyNonISOEntity, DenominationEntity, CashDueAnnouncementJournalEntity
WorkflowElementId→WorkflowElementTable.ElementId(key of WorkflowElementTable)Many WorkflowWorkItemTable records → zero or one WorkflowElementTable record
Not exposed by a public entity.
Need help with VendInvoiceApprovalHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.