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-only
  • DocuValue · InnerJoin to DocuRef · read-only
  • LeaveRequest · InnerJoin to DocuValue · read-only
  • WorkflowWorkItemTable · InnerJoin to LeaveRequest · read-only

Fields (19)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
DocumentIdUnique GUID that identifies the document.Guid
DocuDocumentId
NoYesDocuRef.DocumentId
NameShort description of the document.String (60)
Description
NoYesDocuRef.Name
TypeIdDocument type of the reference.String (20)
DocuTypeId
YesYesDocuType.TypeIdDocuRef.TypeId
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
ActualCompanyIdCompany that owns the document type used by this reference.String
SelectableDataArea
NoNo (private)DocuRef.ActualCompanyId
DefaultAttachmentYes/No value marking this as the default attachment.Enum
DocuDefaultAttachment
NoYes

Platform enum: values not in the metadata extract.

NoYesDocuRef.DefaultAttachment
RequestIdIdentifier of the leave request.String (20)
LeaveRequestId
YesYesLeaveRequest.RequestId
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
FilePathLocation of the attached file.StringNoYesvirtual
StatusApproval status of the request, for example Draft, Submitted, Approved or Completed.Enum
LeaveRequestApprovalStatus
  • Draft 0
  • Submitted 1
  • InReview 2
  • Canceled 3
  • Denied 4
  • Approved 5
  • Failed 6
  • Processing 7
  • ChangeRequested 8
  • Completed 9
YesYesLeaveRequest.Status
FileNameName of the attached file.String (259)
Filename
NoYescomputed
FileTypeType of the attached file, such as its extension.String (259)
FilenameType
NoYescomputed
FileContentsThe content of the attached file, held as a container of binary data.Container
Bitmap
NoYescomputed
ValueRecIdLink to the document value row that holds the file or URL.Int64
RefRecId
NoNo (private)DocuValue.RecIdDocuRef.ValueRecId
DocuValueTypeShows whether the value is a URL or another kind of document.Enum
DocuValueType
  • Others 0
  • URL 1
NoNo (private)DocuValue.Type
UserIdThe user the work item is assigned to.String
WorkflowUser
NoYesWorkflowWorkItemTable.UserId
PersonRecIdSystem record ID of a person, as a 64-bit number. The metadata does not say which person it refers to.low confidenceInt64NoNo (private)computed
WorkflowPersonnelNumberPersonnel number linked to the workflow work item. The metadata does not say whether it is the approver's number.low confidenceStringNoYescomputed

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.

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

Email sales@drdynamics.co.uk