Data entity
BusinessDocumentDocuRefEntity
Read-only view of document references attached to records. Each row has a description, a file name and type, a link address, a note and a restriction. It also holds the file content and the table and record it is attached to. The key is the record ID of the document reference.
- Entity name
BusinessDocumentDocuRefEntity- Public entity name
BusinessDocumentDocuRef- OData collection
BusinessDocumentDocuRefs- Category
Document- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
Yes- Configuration key
None- Keys
DocuRefRecId- Staging table
BusinessDocumentDocuRefStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/BusinessDocumentDocuRefs- Dataverse virtual table
mserp_businessdocumentdocurefentity. 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
DocuRef· root
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DocumentTypeShort description of the document. | String (60)Description | No | Yes | DocuRef.Name | |
DocuRefRecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | DocuRef.RecId | |
ContentThe file content of the attached document, held as binary data. | Container | No | Yes | virtual | |
FileNameName of the attached file. | String (259)Filename | No | Yes | virtual | |
FileTypeType of the attached file, for example its extension. | String (259)FilenameType | No | Yes | virtual | |
URIWeb address that the document reference points to. | String (255)URL | No | Yes | virtual | |
RefRecIdSystem record ID of the record the document is attached to. | Int64RefRecId | Yes | Yes | DocuRef.RefRecId | |
RefTableIdID of the table that holds the record the document is attached to. | IntegerRefTableId | Yes | Yes | DocuRef.RefTableId | |
NotesFree-text note about the document. | String (-1)Notes | No | Yes | DocuRef.Notes | |
TypeIdDocument type of the reference. | String (20)DocuTypeId | Yes | Yes | DocuType.TypeId | DocuRef.TypeId |
RestrictionShows whether the document is internal or external. | Enum
| No | Yes | DocuRef.Restriction | |
RestrictionStrRestriction of the document reference, shown as text. | String (50)String50 | No | Yes | virtual | |
ContentBase64Text version of the note or content, encoded as Base64.low confidence | String (-1)Notes | No | Yes | virtual |
Foreign keys (1)
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.
TypeId→DocuType.TypeId(key of DocuType)Join on all of:
TypeId=DocuType.TypeId,ActualCompanyId(table field, not in this entity) =DocuType.dataAreaIdMany DocuRef records → exactly one DocuType record
DocuType details: see DocuTypeEntity, EcoResProductDocumentAttachmentEntity, EcoResReleasedProductDocumentAttachmentEntity
Need help with BusinessDocumentDocuRefEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.