Table
LeaveTypeSecurityRole
Leave and absence type security role
Links leave and absence types to security roles. It is keyed by security role and leave type. It shows which roles are assigned to a leave type.
- Table name
LeaveTypeSecurityRole- Module
Cross-module and platform- Table group
Reference- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
TypeSecurityRoleIdx- Key fields
SecurityRole, Type- Model
Leave
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SecurityRolePoints to the security role assigned to the leave type. | Int64RefRecId | Yes | SecurityRole.RecId | LeaveTypeSecurityRoleEntity |
TypePoints to the leave type that the role is assigned to. | Int64LeaveTypeRecId | Yes | LeaveType.RecId | LeaveTypeSecurityRoleEntity |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (1)
TypeSecurityRoleIdxReplacement keyUnique, alternate key.
Relations (2)
Each relation joins LeaveTypeSecurityRole to another table on the fields shown.
LeaveType→LeaveTypeJoin on
Type = LeaveType.RecIdMany LeaveTypeSecurityRole records → exactly one LeaveType record
SecurityRole→SecurityRoleJoin on
SecurityRole = SecurityRole.RecIdMany LeaveTypeSecurityRole records → exactly one SecurityRole record
Get this data out
Tables are not exposed directly. These public entities read from LeaveTypeSecurityRole; use one of them in Power BI, Power Platform or a data management project.
LeaveTypeSecurityRoleEntity· 2 fields from this table
Need help with LeaveTypeSecurityRole in a report, an integration or a migration? Talk to Dr Dynamics.