Data entity

MssLeaveTimeOffDateEntity

Read-only list of leave and time off dates per worker, for manager self service. It is built from the leave request calendar. The key is the date, personnel number and leave type. It is joined to the manager's reporting workers view.

Entity name
MssLeaveTimeOffDateEntity
Public entity name
MssLeaveTimeOffDate
OData collection
MssLeaveTimeOffDates
Category
Transaction
Module
HRM
Read-only
Yes
Data management enabled
No
Configuration key
None
Keys
LeaveDate, PersonnelNumber, LeaveTypeId
Staging table
None

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/MssLeaveTimeOffDates
Dataverse virtual table
mserp_mssleavetimeoffdateentity. 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

  • LeaveRequestCalendar · root
  • LeaveType · InnerJoin to LeaveRequestCalendar
  • HcmWorker · InnerJoin to LeaveRequestCalendar · read-only
  • HcmManagerLineReportingWorkersView · InnerJoin to LeaveRequestCalendar
  • Manager (table HcmWorker) · InnerJoin to HcmManagerLineReportingWorkersView

Fields (9)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AmountSigned amount of leave taken on the date.Real
LeaveAmountSigned
NoYescomputed in view
HalfDayDefinitionSays whether the leave covers a half day, using a fixed list of values.Enum
LeaveHalfDayDefinition
  • None 0
  • FirstHalf 1
  • SecondHalf 2
NoYescomputed in view
LeaveDateDate of the transaction.Date
LeaveDate
YesYesLeaveBankTransaction.TransactionDate
LeaveTypeThe leave type of the transaction. Points to the leave type record.Int64
LeaveTypeRecId
YesNo (private)LeaveType.RecIdLeaveBankTransaction.LeaveType
WorkerThe worker the transaction belongs to. Points to the worker record.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdLeaveBankTransaction.Worker
LeaveTypeIdShort name that identifies the leave type.String (30)
LeaveTypeId
YesYesLeaveType.Type
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
ManagerPersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
ManagerWorkerThe worker who holds the position.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdHcmPositionWorkerAssignment.Worker

Foreign keys (3)

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.

Need help with MssLeaveTimeOffDateEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk