Data entity
LeaveTypeSecurityRoleEntity
Links leave and absence types to security roles. Each row pairs one leave type with one role, identified by its AOT name. The key is the role name plus the leave type.
- Entity name
LeaveTypeSecurityRoleEntity- Public entity name
LeaveTypeSecurityRole- OData collection
LeaveTypeSecurityRoles- Category
Reference- Module
HRM- Read-only
No- Data management enabled
Yes- Configuration key
LeaveAbsence- Keys
SecurityRole_AotName, LeaveType_Type- Staging table
LeaveTypeSecurityRoleStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LeaveTypeSecurityRoles- Dataverse virtual table
mserp_leavetypesecurityroleentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
LeaveTypeSecurityRole· rootLeaveType· InnerJoin toLeaveTypeSecurityRole· read-onlySecurityRole· InnerJoin toLeaveTypeSecurityRole· read-only
Fields (4)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
SecurityRolePoints to the security role assigned to the leave type. | Int64RefRecId | Yes | No (private) | SecurityRole.RecId | LeaveTypeSecurityRole.SecurityRole |
TypePoints to the leave type that the role is assigned to. | Int64LeaveTypeRecId | Yes | No (private) | LeaveType.RecId | LeaveTypeSecurityRole.Type |
LeaveType_TypeShort name that identifies the leave type. | String (30)LeaveTypeId | Yes | Yes | LeaveType.Type | |
SecurityRole_AotNameNo description | No | Yes | None |
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.
SecurityRole→SecurityRole.RecId(key of SecurityRole)Many LeaveTypeSecurityRole records → exactly one SecurityRole record
Not exposed by a public entity.
Type→LeaveType.RecId(key of LeaveType)Many LeaveTypeSecurityRole records → exactly one LeaveType record
LeaveType details: see LeaveTypeEntity, EssLeaveBalanceEntity, LeaveBalanceActiveEntity
Need help with LeaveTypeSecurityRoleEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.