Data entity
VRMPendingVendorInvoiceHeaderAttachmentDetailsEntity
Holds attachments on pending vendor invoice headers, for the supplier portal. The key is the document ID. Records give file name, file type, note, type, restriction and whether it is the default attachment. They also link to the invoice account, invoice date and global vendor number.
- Entity name
VRMPendingVendorInvoiceHeaderAttachmentDetailsEntity- Public entity name
VRMPendingVendorInvoiceHeaderAttachmentDetail- OData collection
VRMPendingVendorInvoiceHeaderAttachmentDetails- Category
Document- Module
Procurement and sourcing- Read-only
No- Data management enabled
No- Configuration key
VendorPortal- Keys
DocumentId- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/VRMPendingVendorInvoiceHeaderAttachmentDetails- Dataverse virtual table
mserp_vrmpendingvendorinvoiceheaderattachmentdetailsentity. 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
DocuRefEntity· rootVendInvoiceInfoTable· InnerJoin toDocuRefEntity· read-onlyVendTable· InnerJoin toVendInvoiceInfoTable· read-only
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
HeaderReferenceLine reference that, with the parameter ID, identifies the invoice. | String (20)TradeLineRefId | Yes | Yes | VendInvoiceInfoTable.TableRefId | |
InvoiceAccountVendor account that the invoice is addressed to. | String (20)VendInvoiceAccount | No | Yes | VendTable.AccountNum | VendInvoiceInfoTable.InvoiceAccount |
InvoiceNumberInvoice number given by the vendor. | String (50)VendInvoiceId | No | Yes | VendInvoiceInfoTable.Num | |
InvoiceDateDate shown on the invoice. | DateDocumentDate | No | Yes | VendInvoiceInfoTable.DocumentDate | |
AttachmentDescriptionShort description of the document. | String (60)Description | No | Yes | DocuRef.Name | |
DocumentAttachmentTypeCodeDocument type of the reference. | String (20)DocuTypeId | No | Yes | DocuType.TypeId | DocuRef.TypeId |
NotesFree-text note about the document. | String (-1)Notes | No | Yes | DocuRef.Notes | |
FileNameThe name of the attached file. | String (259)Filename | No | Yes | None | |
FileTypeThe file type or extension of the attached file. | String (259)FilenameType | No | Yes | None | |
DocumentIdUnique GUID that identifies the document. | GuidDocuDocumentId | No | Yes | DocuRef.DocumentId | |
AttachmentThe content of the attached file, stored as binary data. | ContainerBitmap | No | Yes | None | |
StorageProviderIdWhere the document is stored, such as Azure, SharePoint or OneDrive for Business. | Enum
| No | No (private) | DocuValue.StorageProviderId | |
ActualCompanyIdCompany that owns the document type used by this reference. | StringSelectableDataArea | No | Yes | DocuRef.ActualCompanyId | |
AccessRestrictionShows whether the document is internal or external. | Enum
| No | Yes | DocuRef.Restriction | |
IsDefaultAttachmentYes/No value marking this as the default attachment. | EnumDocuDefaultAttachment
| No | Yes | DocuRef.DefaultAttachment | |
DocumentCreatedByNo description | No | Yes | None | ||
DocumentCreatedDateTimeNo description | No | Yes | None | ||
DocumentRecIdNo description | No | Yes | None | ||
GlobalVendorNumberGlobal vendor number from an external supplier app. Points to a global vendor record. | String (100)VRMGlobalVendorNumber | No | Yes | VRMGlobalVendor.VendorNumber | VendTable.VRMGlobalVendor |
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.
InvoiceAccount→VendTable.AccountNum(key of VendTable)Many VendInvoiceInfoTable records → exactly one VendTable record
VendTable details: see VendVendorV2Entity, RetailVendVendorV3Entity, VendVendorEntity
DocumentAttachmentTypeCode→DocuType.TypeId(key of DocuType)Join on all of:
DocumentAttachmentTypeCode=DocuType.TypeId,ActualCompanyId=DocuType.dataAreaIdMany DocuRef records → exactly one DocuType record
DocuType details: see DocuTypeEntity, EcoResProductDocumentAttachmentEntity, EcoResReleasedProductDocumentAttachmentEntity
GlobalVendorNumber→VRMGlobalVendor.VendorNumber(key of VRMGlobalVendor)Many VendTable records → zero or one VRMGlobalVendor record
VRMGlobalVendor details: see VRMGlobalVendorEntity, VRMContactPersonEntity, VRMPartyContactEntity
Need help with VRMPendingVendorInvoiceHeaderAttachmentDetailsEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.