Data entity

MssPendingLeaveRequestWorkflowEntity

Read-only entity for pending leave requests, with the approver details from the workflow work item. It combines the request with the worker, leave type, total amount and dates. The key is the request ID.

Entity name
MssPendingLeaveRequestWorkflowEntity
Public entity name
MssLeaveRequestWorkflow
OData collection
MssLeaveRequestWorkflows
Category
Document
Module
Other (no module in the metadata)
Read-only
Yes
Data management enabled
No
Configuration key
None
Keys
RequestId
Staging table
None

Use it in Power BI and Power Platform

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

  • LeaveRequest · root · read-only
  • HcmWorker · InnerJoin to LeaveRequest · read-only
  • DirPerson_FK (table DirPerson) · InnerJoin to HcmWorker · read-only
  • ReasonCode (table HcmReasonCode) · OuterJoin to LeaveRequest · read-only
  • WorkflowWorkItemTable · InnerJoin to LeaveRequest · read-only
  • UserInfo · InnerJoin to WorkflowWorkItemTable
  • LeaveRequestDetailTotalAmountView · InnerJoin to LeaveRequest
  • LeaveType · InnerJoin to LeaveRequestDetailTotalAmountView

Fields (13)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
RequestIdIdentifier of the leave request.String (20)
LeaveRequestId
NoYesLeaveRequest.RequestId
WorkerPoints to the worker the request is for.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdLeaveRequest.Worker
SubmissionDateDate on which the request was submitted.Date
LeaveRequestDate
NoYesLeaveRequest.RequestDate
CommentFree-text comment on the request.String (-1)
LeaveRequestComment
NoYesLeaveRequest.Comment
ReasonCodePoints to the reason code given for the request.Int64
HcmReasonCodeRecId
NoNo (private)HcmReasonCode.RecIdLeaveRequest.ReasonCode
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
IdUnique ID of the work item.Guid
WorkflowWorkItemInstanceId
NoYesWorkflowWorkItemTable.Id
WorkflowOwnerThe user the work item is assigned to.String
WorkflowUser
NoYesWorkflowWorkItemTable.UserId
TypeShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
AmountAmount of leave taken on this date.Real
LeaveRequestAmount
NoYesLeaveRequestDetail.Amount
StartDateDate of the leave on this line.Date
LeaveDate
YesYesLeaveRequestDetail.LeaveDate
EndDateDate of the leave on this line.Date
LeaveDate
YesYesLeaveRequestDetail.LeaveDate
networkAliasNo descriptionNoYesNone

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

Email sales@drdynamics.co.uk