Data entity

PurchaseOrderHeaderDocumentAttachmentEntity

Holds documents attached to purchase order headers. Each record has the document ID, type, description, note, restriction, file name and file type. It also shows whether the attachment is the default one and which purchase order it belongs to.

Entity name
PurchaseOrderHeaderDocumentAttachmentEntity
Public entity name
PurchaseOrderHeaderDocumentAttachment
OData collection
PurchaseOrderHeaderDocumentAttachments
Category
Document
Module
Procurement and sourcing
Read-only
No
Data management enabled
Yes
Configuration key
LogisticsBasic
Keys
DocumentId
Staging table
PurchaseOrderHeaderDocumentAttachmentStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PurchaseOrderHeaderDocumentAttachments
Dataverse virtual table
mserp_purchaseorderheaderdocumentattachmententity. 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
  • PurchTable · InnerJoin to DocuRefEntity · read-only

Fields (12)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ActualCompanyIdCompany that owns the document type used by this reference.String
SelectableDataArea
NoNo (private)DocuRef.ActualCompanyId
DocumentIdUnique GUID that identifies the document.Guid
DocuDocumentId
NoYesDocuRef.DocumentId
DocumentAttachmentTypeCodeDocument type of the reference.String (20)
DocuTypeId
NoYesDocuType.TypeIdDocuRef.TypeId
AttachmentDescriptionShort description of the document.String (60)
Description
NoYesDocuRef.Name
NotesFree-text note about the document.String (-1)
Notes
NoYesDocuRef.Notes
AccessRestrictionShows whether the document is internal or external.Enum
DocuRestriction
  • Internal 0
  • External 1
NoYesDocuRef.Restriction
AttachmentThe 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
IsDefaultAttachmentYes/No value marking this as the default attachment.Enum
DocuDefaultAttachment
NoYes

Platform enum: values not in the metadata extract.

NoYesDocuRef.DefaultAttachment
PurchaseOrderNumberPurchase order number. It identifies the order.String (20)
PurchIdBase
YesYesPurchTable.PurchId
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
NoNo (private)DocuValue.StorageProviderId

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 PurchaseOrderHeaderDocumentAttachmentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk