Data entity
MssLeaveRequestAttachmentEntity
Read-only list of documents attached to leave requests, for manager self service. Each row comes from a document reference and is joined to the document value, leave request and workflow work item. It gives the document ID, description, type, note, request ID and file details.
- Entity name
MssLeaveRequestAttachmentEntity- Public entity name
MssLeaveRequestAttachment- OData collection
MssLeaveRequestAttachments- Category
Document- Module
HRM- Read-only
Yes- Data management enabled
No- Configuration key
None- Keys
DocumentId- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/MssLeaveRequestAttachments- Dataverse virtual table
mserp_mssleaverequestattachmententity. 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 · read-onlyDocuValue· InnerJoin toDocuRef· read-onlyLeaveRequest· InnerJoin toDocuValue· read-onlyWorkflowWorkItemTable· InnerJoin toLeaveRequest· read-only
Fields (19)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
DocumentIdUnique GUID that identifies the document. | GuidDocuDocumentId | No | Yes | DocuRef.DocumentId | |
NameShort description of the document. | String (60)Description | No | Yes | DocuRef.Name | |
TypeIdDocument type of the reference. | String (20)DocuTypeId | Yes | Yes | DocuType.TypeId | DocuRef.TypeId |
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 | |
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 | |
FilePathLocation of the attached file. | String | No | Yes | virtual | |
StatusApproval status of the request, for example Draft, Submitted, Approved or Completed. | Enum
| Yes | Yes | LeaveRequest.Status | |
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 | |
FileContentsThe content of the attached file, held as a container of binary data. | ContainerBitmap | No | Yes | computed | |
ValueRecIdLink to the document value row that holds the file or URL. | Int64RefRecId | No | No (private) | DocuValue.RecId | DocuRef.ValueRecId |
DocuValueTypeShows whether the value is a URL or another kind of document. | Enum
| No | No (private) | DocuValue.Type | |
UserIdThe user the work item is assigned to. | StringWorkflowUser | No | Yes | WorkflowWorkItemTable.UserId | |
PersonRecIdSystem record ID of a person, as a 64-bit number. The metadata does not say which person it refers to.low confidence | Int64 | No | No (private) | computed | |
WorkflowPersonnelNumberPersonnel number linked to the workflow work item. The metadata does not say whether it is the approver's number.low confidence | String | No | Yes | computed |
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
ValueRecId→DocuValue.RecId(key of DocuValue)Many DocuRef records → zero or one DocuValue record
DocuValue details: see EcoResProductDocumentAttachmentEntity, EcoResReleasedProductDocumentAttachmentEntity, EntAssetMaintenanceRequestDocumentAttachmentEntity
Need help with MssLeaveRequestAttachmentEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.