Data entity
ProjVendInvoiceExportEntityV2
Second version of the vendor invoice header export for project integration, based on the vendor invoice journal. It adds the vendor invoice status and a retry count. The key is invoice account and vendor invoice number. Unlike the first version, it is not read-only.
- Entity name
ProjVendInvoiceExportEntityV2- Public entity name
VendInvoiceExportV2- OData collection
VendInvoiceExportsV2- Category
Transaction- Module
Project management and accounting- Read-only
No- Data management enabled
Yes- Configuration key
Project- Keys
InvoiceAccount, VendorInvoiceNum- Staging table
ProjVendInvoiceExportV2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/VendInvoiceExportsV2- Dataverse virtual table
mserp_projvendinvoiceexportentityv2. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
VendInvoiceJour· root · read-onlyVendInvoiceInfoTable· InnerJoin toVendInvoiceJour· read-onlyProjParameters· InnerJoin toVendInvoiceInfoTable· read-onlyProjNonIntercompanyVendInvoiceView· InnerJoin toVendInvoiceInfoTableProjVendInvoiceHeaderIntegratedProjView· InnerJoin toVendInvoiceInfoTable· read-only
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
OrderAccountVendor account that the invoice is for. | String (20)VendAccount | No | Yes | VendTable.AccountNum | VendInvoiceInfoTable.OrderAccount |
DescriptionFree-text description of the invoice. | String (255)InvoiceDescriptionLarge | No | Yes | VendInvoiceInfoTable.Description | |
DocumentDateDate shown on the invoice. | DateDocumentDate | No | Yes | VendInvoiceInfoTable.DocumentDate | |
TransDateTransaction date. | DateTransDate | No | Yes | VendInvoiceInfoTable.TransDate | |
PurchIdPurchase order linked to the invoice. | String (20)PurchId | No | Yes | PurchTable.PurchId | VendInvoiceInfoTable.PurchId |
VendorInvoiceNumInvoice number given by the vendor. | String (50)VendInvoiceId | No | Yes | VendInvoiceInfoTable.Num | |
InvoiceAccountVendor account that the invoice is addressed to. | String (20)VendInvoiceAccount | Yes | Yes | VendTable.AccountNum | VendInvoiceInfoTable.InvoiceAccount |
TableRefIdLine reference that, with the parameter ID, identifies the invoice. | String (20)TradeLineRefId | Yes | Yes | VendInvoiceInfoTable.TableRefId | |
CurrencyCodeCurrency of the invoice. | String (3)VendCurrencyCode | Yes | Yes | Currency.CurrencyCode | VendInvoiceInfoTable.CurrencyCode |
SubcontractInvoiceYes/No flag showing that manual verification by the project manager is required. | Enum
| No | Yes | VendInvoiceInfoTable.SubcontractInvoice | |
ProjVendInvoiceStatusProject vendor invoice status: none, draft, in review or confirmed. | Enum
| No | Yes | VendInvoiceInfoTable.ProjVendInvoiceStatus | |
RetryCountNumber of times processing has been retried. | Integer | No | Yes | VendInvoiceInfoTable.RetryCount | |
InvoiceDateDate of the invoice. | DateTransDate | Yes | Yes | VendInvoiceJour.InvoiceDate |
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.
OrderAccount→VendTable.AccountNum(key of VendTable)Many VendInvoiceInfoTable records → zero or one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
PurchId→PurchTable.PurchId(key of PurchTable)Many VendInvoiceInfoTable records → zero or one PurchTable record
PurchTable details: see PurchPurchaseOrderHeaderV2Entity, PurchPurchaseOrderHeaderEntity, ProjSubContractPurchaseOrderHeaderEntity
InvoiceAccount→VendTable.AccountNum(key of VendTable)Many VendInvoiceInfoTable records → exactly 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
Need help with ProjVendInvoiceExportEntityV2 in Power BI, Power Automate or a migration? Talk to Dr Dynamics.