Data entity
MssHRTeamsAppPendingLoaEntity
Read-only view of pending leave of absence 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, start and end dates, reason code, subject and work item instructions. The name suggests it supports a Teams app used in manager self service.
- Entity name
MssHRTeamsAppPendingLoaEntity- Public entity name
HRTeamsAppPendingLoa- OData collection
HRTeamsAppPendingLoas- 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/HRTeamsAppPendingLoas- Dataverse virtual table
mserp_msshrteamsapppendingloaentity. 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-onlyLeaveOfAbsenceRequestDetail· InnerJoin toLeaveRequest· read-onlyLeaveType· InnerJoin toLeaveOfAbsenceRequestDetail· read-onlyUserInfo· InnerJoin toWorkflowWorkItemTable· read-only
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountAmount of leave requested. | RealLeaveRequestAmount | No | Yes | LeaveOfAbsenceRequestDetail.Amount | |
CommentFree-text comment on the request. | String (-1)LeaveRequestComment | No | Yes | LeaveRequest.Comment | |
EndDateLast day of the requested absence. | DateLeaveRequestEndDate | Yes | Yes | LeaveOfAbsenceRequestDetail.EndDate | |
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 | |
StartDateFirst day of the requested absence. | DateLeaveRequestStartDate | Yes | Yes | LeaveOfAbsenceRequestDetail.StartDate | |
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 MssHRTeamsAppPendingLoaEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.