Data entity

MssHRTeamsAppPendingTimeoffEntity

Read-only view of pending time off requests that wait for approval, with the approver's name. It is built from workflow work items joined to the leave request, worker and person name. It includes the amount, date, reason code, subject and work item instructions. The name suggests it supports a Teams app used in manager self service.

Entity name
MssHRTeamsAppPendingTimeoffEntity
Public entity name
HRTeamsAppPendingTimeoff
OData collection
HRTeamsAppPendingTimeoffs
Category
Not set
Module
HRM
Read-only
Yes
Data management enabled
No
Configuration key
LeaveAbsence
Keys
Id
Staging table
None

Use it in Power BI and Power Platform

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

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

Fields (24)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AmountAmount of leave taken on this date.Real
LeaveRequestAmount
NoYesLeaveRequestDetail.Amount
CommentFree-text comment on the request.String (-1)
LeaveRequestComment
NoYesLeaveRequest.Comment
EndDateDate of the leave on this line.Date
LeaveDate
YesYesLeaveRequestDetail.LeaveDate
IdUnique ID of the work item.Guid
WorkflowWorkItemInstanceId
NoYesWorkflowWorkItemTable.Id
networkAliasNo descriptionNoYesNone
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
ReasonCodePoints to the reason code given for the request.Int64
HcmReasonCodeRecId
NoYesHcmReasonCode.RecIdLeaveRequest.ReasonCode
RequestIdIdentifier of the leave request.String (20)
LeaveRequestId
NoYesLeaveRequest.RequestId
StartDateDate of the leave on this line.Date
LeaveDate
YesYesLeaveRequestDetail.LeaveDate
SubmissionDateDate on which the request was submitted.Date
LeaveRequestDate
NoYesLeaveRequest.RequestDate
TypeShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
RequesterWorkerPoints to the worker the request is for.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdLeaveRequest.Worker
WorkflowOwnerThe user the work item is assigned to.String
WorkflowUser
NoYesWorkflowWorkItemTable.UserId
FirstNameFirst name of the person.String (50)
FirstName
NoYesDirPersonName.FirstName
LastNameLast name of the person.String (50)
LastName
NoYesDirPersonName.LastName
MiddleNameMiddle name of the person.String (50)
MiddleName
NoYesDirPersonName.MiddleName
LastNamePrefixPrefix placed before the last name.String (25)
LastNamePrefix
NoYesDirPersonName.LastNamePrefix
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
SubjectShort subject line of the work item.String (128)
WorkflowWorkItemSubject
NoYesWorkflowWorkItemTable.Subject
DescriptionInstructions for the person who handles the work item.String (-1)
WorkflowStepInstruction
NoYesWorkflowWorkItemTable.Description
RefRecIdSystem record ID of the document the work item refers to.Int64
RefRecId
YesNo (private)WorkflowWorkItemTable.RefRecId
ValidToDate and time at which the name expires.UtcDateTime
ExpirationDateTime
NoYesDirPersonName.ValidTo
ValidFromDate and time from which the name is effective. Part of the key.UtcDateTime
EffectiveDateTime
NoYesDirPersonName.ValidFrom

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

Email sales@drdynamics.co.uk