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 · root
  • LeaveType · InnerJoin to LeaveTypeSecurityRole · read-only
  • SecurityRole · InnerJoin to LeaveTypeSecurityRole · read-only

Fields (4)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
SecurityRolePoints to the security role assigned to the leave type.Int64
RefRecId
YesNo (private)SecurityRole.RecIdLeaveTypeSecurityRole.SecurityRole
TypePoints to the leave type that the role is assigned to.Int64
LeaveTypeRecId
YesNo (private)LeaveType.RecIdLeaveTypeSecurityRole.Type
LeaveType_TypeShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
SecurityRole_AotNameNo 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.

  • 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.

Email sales@drdynamics.co.uk