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 · root
  • DocuValue · OuterJoin to DocuRef · read-only

Fields (38)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
DocuRef_DocumentIdUnique GUID that identifies the document.Guid
DocuDocumentId
NoYesDocuRef.DocumentId
DocuRef_ActualCompanyIdCompany that owns the document type used by this reference.String
SelectableDataArea
NoNo (private)DocuRef.ActualCompanyId
DocuRef_TypeIdDocument type of the reference.String (20)
DocuTypeId
YesYesDocuType.TypeIdDocuRef.TypeId
DocuRef_RefCompanyIdCompany of the record that the document is attached to.String
SelectableDataArea
YesYesDocuRef.RefCompanyId
DocuRef_RefRecIdSystem record ID of the record the document is attached to.Int64
RefRecId
YesYesDocuRef.RefRecId
DocuRef_RefTableIdID of the table that holds the record the document is attached to.Integer
RefTableId
YesYesDocuRef.RefTableId
DocuRef_NameShort description of the document.String (60)
Description
NoYesDocuRef.Name
DocuRef_RestrictionShows whether the document is internal or external.Enum
DocuRestriction
  • Internal 0
  • External 1
NoYesDocuRef.Restriction
DocuRef_NotesFree-text note about the document.String (-1)
Notes
NoYesDocuRef.Notes
DocuRef_ValueRecIdLink to the document value row that holds the file or URL.Int64
RefRecId
NoNo (private)DocuValue.RecIdDocuRef.ValueRecId
DocuValue_TypeShows whether the value is a URL or another kind of document.Enum
DocuValueType
  • Others 0
  • URL 1
NoNo (private)DocuValue.Type
FileNameName of the attached file.String (259)
Filename
NoYescomputed
FileTypeType of the attached file, such as its extension.String (259)
FilenameType
NoYescomputed
DocuRef_DefaultAttachmentYes/No value marking this as the default attachment.Enum
DocuDefaultAttachment
NoYes

Platform enum: values not in the metadata extract.

NoYesDocuRef.DefaultAttachment
DocuValue_StorageProviderIdWhere the document is stored, such as Azure, SharePoint or OneDrive for Business.Enum
DocuStorageProviderType
  • None 0
  • Azure 1
  • SharePoint 2
  • OneDriveForBusiness 3
  • StorageFramework 4
NoYesDocuValue.StorageProviderId
DocuRef_SysRowVersionA system row version number that is used for change tracking.Int64
SysRowVersion
NoYesDocuRef.SysRowVersion
DocuRef_RecIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesDocuRef.RecId
DocuRef_CreatedByThe user who created the record.String (20)
CreatedBy
NoYesDocuRef.CreatedBy
DocuRef_CreatedDateTimeThe date and time when the record was created.UtcDateTime
CreatedDateTime
NoYesDocuRef.CreatedDateTime
DocuRef_ModifiedByThe user who last changed the record.String (20)
ModifiedBy
NoYesDocuRef.ModifiedBy
DocuRef_ModifiedDateTimeThe date and time when the record was last changed.UtcDateTime
ModifiedDateTime
NoYesDocuRef.ModifiedDateTime
DocuValue_AccessInformationText that holds access details for the stored document.low confidenceString (1260)
Str1260
NoYesDocuValue.AccessInformation
DocuValue_PathLocation of the file.String (-1)
DocuPath
NoYesDocuValue.Path
DocuRef_AuthorThe person who created the document reference.Int64
RefRecId
NoYesDirPerson.RecIdDocuRef.Author
DocuRef_InterCompanySkipUpdateOption that sets whether internal, intercompany or both kinds of update are skipped.Enum
InterCompanySkipUpdate
  • No 0
  • Internal 1
  • InterCompany 2
  • Both 3
NoYesDocuRef.InterCompanySkipUpdate
DocuRef_PartyGlobal address book party linked to the document reference.Int64
RefRecId
NoYesDirPartyTable.RecIdDocuRef.Party
DocuValue_FieldIdUnique GUID for the file.low confidenceGuid
FileId
NoYesDocuValue.FileId
DocuValue_MCRDocuSubjectSubject text for the document.String (-1)
MCRDocuSubject
NoYesDocuValue.MCRDocuSubject
DocuValue_OriginalFileNameName the file had when it was first added.String (259)
Filename
NoYesDocuValue.OriginalFileName
Docuref_IsJustificationPurpose not clear from the metadata.low confidenceEnum
NoYes

Platform enum: values not in the metadata extract.

NoYesDocuRef.IsJustification
Docuref_ContactPersonIdID of the contact person linked to the document.String (20)
ContactPersonId
NoYesDocuRef.ContactPersonId
Docuref_smmEMailEntryIDEntry ID of an email item, used by sales and marketing.String (255)
smmEMailEntryID
NoYesDocuRef.smmEMailEntryID
Docuref_smmEMailStoreIDStore ID of the mailbox where an email item is kept, used by sales and marketing.String (300)
smmEMailStoreID
NoYesDocuRef.smmEMailStoreID
Docuref_smmTableFlag linked to the sales and marketing table.low confidenceEnum
boolean

Platform enum: values not in the metadata extract.

NoYesDocuRef.smmTable
Docuref_EncyclopediaItemIdID of the knowledge article item linked to the document.String
smmEncyclopediaItemId
NoYesDocuRef.EncyclopediaItemId
Docuref_isEnabledForVirtualEntitySyncFlag showing whether the row is enabled for synchronisation with a virtual entity.Enum
boolean

Platform enum: values not in the metadata extract.

NoYesDocuRef.isEnabledForVirtualEntitySync
Docuref_EngChgEngineeringReferenceReference code used for engineering.String (36)
EngChgEngineeringReferenceId
NoYesDocuRef.EngChgEngineeringReference
Docuref_EngChgEngineeringDocumentLink to an engineering document record.Int64
EngChgEngineeringDocumentRecId
NoYesDocuRef.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.

Need help with SysAttachmentSyncEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk