Data entity
EssLeaveRequestAttachmentEntity
Holds documents attached to leave requests for employee self-service. Each record has a document ID, type, description, note, file name and file type, and the request ID it belongs to. It also shows whether it is the default attachment and which storage provider holds it.
- Entity name
EssLeaveRequestAttachmentEntity- Public entity name
EssLeaveRequestAttachment- OData collection
EssLeaveRequestAttachments- Category
Document- Module
HRM- Read-only
No- Data management enabled
No- Configuration key
LeaveAbsence- Keys
DocumentId- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EssLeaveRequestAttachments- Dataverse virtual table
mserp_essleaverequestattachmententity. 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
DocuRefEntity· rootLeaveRequest· InnerJoin toDocuRefEntity· read-only
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DocumentIdUnique GUID that identifies the document. | GuidDocuDocumentId | No | Yes | DocuRef.DocumentId | |
TypeIdDocument type of the reference. | String (20)DocuTypeId | No | Yes | DocuType.TypeId | DocuRef.TypeId |
NameShort description of the document. | String (60)Description | No | Yes | DocuRef.Name | |
NotesFree-text note about the document. | String (-1)Notes | No | Yes | DocuRef.Notes | |
RestrictionShows whether the document is internal or external. | Enum
| No | Yes | DocuRef.Restriction | |
FileContentsThe content of the attached file, stored as binary data. | ContainerBitmap | No | Yes | None | |
FileNameThe name of the attached file. | String (259)Filename | No | Yes | None | |
FileTypeThe file type or extension of the attached file. | String (259)FilenameType | No | Yes | None | |
ActualCompanyIdCompany that owns the document type used by this reference. | StringSelectableDataArea | No | No (private) | DocuRef.ActualCompanyId | |
DefaultAttachmentYes/No value marking this as the default attachment. | EnumDocuDefaultAttachment
| No | Yes | DocuRef.DefaultAttachment | |
RequestIdIdentifier of the leave request. | String (20)LeaveRequestId | Yes | Yes | LeaveRequest.RequestId | |
StorageProviderIdWhere the document is stored, such as Azure, SharePoint or OneDrive for Business. | Enum
| No | Yes | DocuValue.StorageProviderId | |
FilePathThe location of the attached file. | String | No | Yes | virtual | |
WorkerPoints to the worker the request is for. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | LeaveRequest.Worker |
Foreign keys (2)
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=DocuType.dataAreaIdMany DocuRef records → exactly one DocuType record
DocuType details: see DocuTypeEntity, EcoResProductDocumentAttachmentEntity, EcoResReleasedProductDocumentAttachmentEntity
Worker→HcmWorker.RecId(key of HcmWorker)Many LeaveRequest records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with EssLeaveRequestAttachmentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.