Data entity
SysAttachmentSyncEntity
Read-only view of document attachments, built from document references and their stored document values. Each record is keyed by the document reference record ID. It holds the file name and type, description, notes, the referenced table and record, storage provider type, and created and modified details.
- Entity name
SysAttachmentSyncEntity- Public entity name
SysAttachmentSyncEntity- OData collection
SysAttachmentSyncEntities- Category
Document- Module
System administration- Read-only
Yes- Data management enabled
No- Configuration key
None- Keys
DocuRef_RecId- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/SysAttachmentSyncEntities- Dataverse virtual table
mserp_sysattachmentsyncentity. 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
DocuRef· rootDocuValue· OuterJoin toDocuRef· read-only
Fields (38)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DocuRef_DocumentIdUnique GUID that identifies the document. | GuidDocuDocumentId | No | Yes | DocuRef.DocumentId | |
DocuRef_ActualCompanyIdCompany that owns the document type used by this reference. | StringSelectableDataArea | No | No (private) | DocuRef.ActualCompanyId | |
DocuRef_TypeIdDocument type of the reference. | String (20)DocuTypeId | Yes | Yes | DocuType.TypeId | DocuRef.TypeId |
DocuRef_RefCompanyIdCompany of the record that the document is attached to. | StringSelectableDataArea | Yes | Yes | DocuRef.RefCompanyId | |
DocuRef_RefRecIdSystem record ID of the record the document is attached to. | Int64RefRecId | Yes | Yes | DocuRef.RefRecId | |
DocuRef_RefTableIdID of the table that holds the record the document is attached to. | IntegerRefTableId | Yes | Yes | DocuRef.RefTableId | |
DocuRef_NameShort description of the document. | String (60)Description | No | Yes | DocuRef.Name | |
DocuRef_RestrictionShows whether the document is internal or external. | Enum
| No | Yes | DocuRef.Restriction | |
DocuRef_NotesFree-text note about the document. | String (-1)Notes | No | Yes | DocuRef.Notes | |
DocuRef_ValueRecIdLink to the document value row that holds the file or URL. | Int64RefRecId | No | No (private) | DocuValue.RecId | DocuRef.ValueRecId |
DocuValue_TypeShows whether the value is a URL or another kind of document. | Enum
| No | No (private) | DocuValue.Type | |
FileNameName of the attached file. | String (259)Filename | No | Yes | computed | |
FileTypeType of the attached file, such as its extension. | String (259)FilenameType | No | Yes | computed | |
DocuRef_DefaultAttachmentYes/No value marking this as the default attachment. | EnumDocuDefaultAttachment
| No | Yes | DocuRef.DefaultAttachment | |
DocuValue_StorageProviderIdWhere the document is stored, such as Azure, SharePoint or OneDrive for Business. | Enum
| No | Yes | DocuValue.StorageProviderId | |
DocuRef_SysRowVersionA system row version number that is used for change tracking. | Int64SysRowVersion | No | Yes | DocuRef.SysRowVersion | |
DocuRef_RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | DocuRef.RecId | |
DocuRef_CreatedByThe user who created the record. | String (20)CreatedBy | No | Yes | DocuRef.CreatedBy | |
DocuRef_CreatedDateTimeThe date and time when the record was created. | UtcDateTimeCreatedDateTime | No | Yes | DocuRef.CreatedDateTime | |
DocuRef_ModifiedByThe user who last changed the record. | String (20)ModifiedBy | No | Yes | DocuRef.ModifiedBy | |
DocuRef_ModifiedDateTimeThe date and time when the record was last changed. | UtcDateTimeModifiedDateTime | No | Yes | DocuRef.ModifiedDateTime | |
DocuValue_AccessInformationText that holds access details for the stored document.low confidence | String (1260)Str1260 | No | Yes | DocuValue.AccessInformation | |
DocuValue_PathLocation of the file. | String (-1)DocuPath | No | Yes | DocuValue.Path | |
DocuRef_AuthorThe person who created the document reference. | Int64RefRecId | No | Yes | DirPerson.RecId | DocuRef.Author |
DocuRef_InterCompanySkipUpdateOption that sets whether internal, intercompany or both kinds of update are skipped. | Enum
| No | Yes | DocuRef.InterCompanySkipUpdate | |
DocuRef_PartyGlobal address book party linked to the document reference. | Int64RefRecId | No | Yes | DirPartyTable.RecId | DocuRef.Party |
DocuValue_FieldIdUnique GUID for the file.low confidence | GuidFileId | No | Yes | DocuValue.FileId | |
DocuValue_MCRDocuSubjectSubject text for the document. | String (-1)MCRDocuSubject | No | Yes | DocuValue.MCRDocuSubject | |
DocuValue_OriginalFileNameName the file had when it was first added. | String (259)Filename | No | Yes | DocuValue.OriginalFileName | |
Docuref_IsJustificationPurpose not clear from the metadata.low confidence | Enum
| No | Yes | DocuRef.IsJustification | |
Docuref_ContactPersonIdID of the contact person linked to the document. | String (20)ContactPersonId | No | Yes | DocuRef.ContactPersonId | |
Docuref_smmEMailEntryIDEntry ID of an email item, used by sales and marketing. | String (255)smmEMailEntryID | No | Yes | DocuRef.smmEMailEntryID | |
Docuref_smmEMailStoreIDStore ID of the mailbox where an email item is kept, used by sales and marketing. | String (300)smmEMailStoreID | No | Yes | DocuRef.smmEMailStoreID | |
Docuref_smmTableFlag linked to the sales and marketing table.low confidence | Enum
| No | Yes | DocuRef.smmTable | |
Docuref_EncyclopediaItemIdID of the knowledge article item linked to the document. | StringsmmEncyclopediaItemId | No | Yes | DocuRef.EncyclopediaItemId | |
Docuref_isEnabledForVirtualEntitySyncFlag showing whether the row is enabled for synchronisation with a virtual entity. | Enum
| No | Yes | DocuRef.isEnabledForVirtualEntitySync | |
Docuref_EngChgEngineeringReferenceReference code used for engineering. | String (36)EngChgEngineeringReferenceId | No | Yes | DocuRef.EngChgEngineeringReference | |
Docuref_EngChgEngineeringDocumentLink to an engineering document record. | Int64EngChgEngineeringDocumentRecId | No | Yes | DocuRef.EngChgEngineeringDocument |
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.
DocuRef_TypeId→DocuType.TypeId(key of DocuType)Join on all of:
DocuRef_TypeId=DocuType.TypeId,DocuRef_ActualCompanyId=DocuType.dataAreaIdMany DocuRef records → exactly one DocuType record
DocuType details: see DocuTypeEntity, EcoResProductDocumentAttachmentEntity, EcoResReleasedProductDocumentAttachmentEntity
DocuRef_ValueRecId→DocuValue.RecId(key of DocuValue)Many DocuRef records → zero or one DocuValue record
DocuValue details: see EcoResProductDocumentAttachmentEntity, EcoResReleasedProductDocumentAttachmentEntity, EntAssetMaintenanceRequestDocumentAttachmentEntity
DocuRef_Party→DirPartyTable.RecId(key of DirPartyTable)Many DocuRef records → zero or one DirPartyTable record
DirPartyTable details: see CustFoundationEntity, smmContactPersonV2Entity, CustCustomerV3Entity
Need help with SysAttachmentSyncEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.