Table

LeaveTypeSuspensionRelationship

Suspension relationship

Links two leave and absence types, where one type suspends the other. It is keyed by the suspending type and the suspended type. Both fields point to the leave type table.

Table name
LeaveTypeSuspensionRelationship
Module
Cross-module and platform
Table group
Reference
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
SuspensionRelationIdx
Key fields
SuspendedByLeaveType, SuspendedLeaveType
Model
Leave

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
SuspendedByLeaveTypePoints to the leave type that causes the suspension.Int64
LeaveTypeRecId
YesLeaveType.RecIdNone
SuspendedLeaveTypePoints to the leave type that is suspended.Int64
LeaveTypeRecId
YesLeaveType.RecIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (2)

Each relation joins LeaveTypeSuspensionRelationship to another table on the fields shown.

  • SuspendedByLeaveType → LeaveType

    Join on SuspendedByLeaveType = LeaveType.RecId

    Many LeaveTypeSuspensionRelationship records → exactly one LeaveType record

  • SuspendedLeaveType → LeaveType

    Join on SuspendedLeaveType = LeaveType.RecId

    Many LeaveTypeSuspensionRelationship records → exactly one LeaveType record

Get this data out

Tables are not exposed directly. These public entities read from LeaveTypeSuspensionRelationship; use one of them in Power BI, Power Platform or a data management project.

Need help with LeaveTypeSuspensionRelationship in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk