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-onlyLeaveRequest· InnerJoin toWorkflowWorkItemTable· read-onlyHcmWorker· InnerJoin toLeaveRequest· read-onlyDirPersonName· InnerJoin toHcmWorker· read-onlyReasonCode(tableHcmReasonCode) · OuterJoin toLeaveRequest· read-onlyLeaveRequestDetailTotalAmountView· InnerJoin toLeaveRequest· read-onlyLeaveType· InnerJoin toLeaveRequestDetailTotalAmountView· read-onlyUserInfo· InnerJoin toWorkflowWorkItemTable
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountAmount of leave taken on this date. | RealLeaveRequestAmount | No | Yes | LeaveRequestDetail.Amount | |
CommentFree-text comment on the request. | String (-1)LeaveRequestComment | No | Yes | LeaveRequest.Comment | |
EndDateDate of the leave on this line. | DateLeaveDate | Yes | Yes | LeaveRequestDetail.LeaveDate | |
IdUnique ID of the work item. | GuidWorkflowWorkItemInstanceId | No | Yes | WorkflowWorkItemTable.Id | |
networkAliasNo description | No | Yes | None | ||
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
ReasonCodePoints to the reason code given for the request. | Int64HcmReasonCodeRecId | No | Yes | HcmReasonCode.RecId | LeaveRequest.ReasonCode |
RequestIdIdentifier of the leave request. | String (20)LeaveRequestId | No | Yes | LeaveRequest.RequestId | |
StartDateDate of the leave on this line. | DateLeaveDate | Yes | Yes | LeaveRequestDetail.LeaveDate | |
SubmissionDateDate on which the request was submitted. | DateLeaveRequestDate | No | Yes | LeaveRequest.RequestDate | |
TypeShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
RequesterWorkerPoints to the worker the request is for. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | LeaveRequest.Worker |
WorkflowOwnerThe user the work item is assigned to. | StringWorkflowUser | No | Yes | WorkflowWorkItemTable.UserId | |
FirstNameFirst name of the person. | String (50)FirstName | No | Yes | DirPersonName.FirstName | |
LastNameLast name of the person. | String (50)LastName | No | Yes | DirPersonName.LastName | |
MiddleNameMiddle name of the person. | String (50)MiddleName | No | Yes | DirPersonName.MiddleName | |
LastNamePrefixPrefix placed before the last name. | String (25)LastNamePrefix | No | Yes | DirPersonName.LastNamePrefix | |
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 | |
SubjectShort subject line of the work item. | String (128)WorkflowWorkItemSubject | No | Yes | WorkflowWorkItemTable.Subject | |
DescriptionInstructions for the person who handles the work item. | String (-1)WorkflowStepInstruction | No | Yes | WorkflowWorkItemTable.Description | |
RefRecIdSystem record ID of the document the work item refers to. | Int64RefRecId | Yes | No (private) | WorkflowWorkItemTable.RefRecId | |
ValidToDate and time at which the name expires. | UtcDateTimeExpirationDateTime | No | Yes | DirPersonName.ValidTo | |
ValidFromDate and time from which the name is effective. Part of the key. | UtcDateTimeEffectiveDateTime | No | Yes | DirPersonName.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.
ReasonCode→HcmReasonCode.RecId(key of HcmReasonCode)Many LeaveRequest records → zero or one HcmReasonCode record
HcmReasonCode details: see HcmReasonCodeEntity, BenefitParametersV2Entity, BenefitPlanEmployeeV2Entity
RequesterWorker→HcmWorker.RecId(key of HcmWorker)Many LeaveRequest records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
Need help with MssHRTeamsAppPendingTimeoffEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.