Data entity

CustomerAttachmentsV2Entity

A second version of the customer attachments entity. It holds documents attached to customers, with the document ID, type, file name, restriction and default flag. The key is the document ID.

Entity name
CustomerAttachmentsV2Entity
Public entity name
CustomerAttachmentV2
OData collection
CustomerAttachmentsV2
Category
Document
Module
Accounts receivable
Read-only
No
Data management enabled
Yes
Configuration key
LedgerBasic
Keys
DocumentId
Staging table
CustomerAttachmentsV2EntityStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/CustomerAttachmentsV2
Dataverse virtual table
mserp_customerattachmentsv2entity. 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

  • DocuRefEntity · root
  • CustTable · InnerJoin to DocuRefEntity · read-only

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LegalEntityIdCompany that owns the document type used by this reference.String
SelectableDataArea
NoYesDocuRef.ActualCompanyId
DocumentIdUnique GUID that identifies the document.Guid
DocuDocumentId
NoYesDocuRef.DocumentId
TypeIdDocument type of the reference.String (20)
DocuTypeId
NoYesDocuType.TypeIdDocuRef.TypeId
NameShort description of the document.String (60)
Description
NoYesDocuRef.Name
NotesFree-text note about the document.String (-1)
Notes
NoYesDocuRef.Notes
RestrictionShows whether the document is internal or external.Enum
DocuRestriction
  • Internal 0
  • External 1
NoYesDocuRef.Restriction
FileContentsThe content of the attached file, stored as binary data.Container
Bitmap
NoYesNone
FileNameThe name of the attached file.String (259)
Filename
NoYesNone
FileTypeThe file type or extension of the attached file.String (259)
FilenameType
NoYesNone
DefaultAttachmentYes/No value marking this as the default attachment.Enum
DocuDefaultAttachment
NoYes

Platform enum: values not in the metadata extract.

NoYesDocuRef.DefaultAttachment
CustomerAccountNumberUnique customer account number. It identifies the customer record and is the table key.String (20)
CustAccount
YesYesCustTable.AccountNum

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.

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

Email sales@drdynamics.co.uk