Data entity

JmgTimeAndAttendanceTimeProfileLineV2Entity

Second version of the time profile lines entity. It holds the timetable lines of a time profile, keyed by system record ID. It adds a join to the profile types table. It has day, start and end times, tolerances, switch code and profile type.

Entity name
JmgTimeAndAttendanceTimeProfileLineV2Entity
Public entity name
TimeAndAttendanceTimeProfileLineV2
OData collection
TimeAndAttendanceTimeProfileLinesV2
Category
Reference
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Jmg
Keys
RecordId
Staging table
JmgTimeAndAttendanceTimeProfileLineV2Staging

Use it in Power BI and Power Platform

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

  • JmgProfileSpec · root
  • JmgProfileTypeTable · OuterJoin to JmgProfileSpec · read-only
  • SecondaryJmgProfileTypeTable (table JmgProfileTypeTable) · OuterJoin to JmgProfileSpec · read-only

Fields (17)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
TimeProfileWeekDayDay of the week, or special day, that the line is for.Enum
JmgDayId
JmgDayIdEnum
  • Monday 0
  • Tuesday 1
  • Wednesday 2
  • Thursday 3
  • Friday 4
  • Saturday 5
  • Sunday 6
  • Special 7
NoYesJmgProfileSpec.DayId
ProfileLineEndWeekDayRelative day number on which the line ends.Integer
JmgRelDayNo
NoYesJmgProfileSpec.EndDay
ProfileLineEndTimeSecondsTime at which the line ends.Time
JmgTime
NoYesJmgProfileSpec.EndTime
TimeAndAttendanceSwitchCodeActivityIdSwitch code for the line. Points to an activity record.String
JmgEventCode
NoYesJmgIpcActivity.ActivityJmgProfileSpec.EventCode
LineNumberNumber that orders the lines.Real
LineNum
NoYesJmgProfileSpec.LineNum
TimeProfileIdTime profile the line belongs to. Points to the profile record.String
JmgProfileId
YesYesJmgProfileTable.ProfileJmgProfileSpec.Profile
ProfileLineStartWeekDayRelative day number on which the line starts.Integer
JmgRelDayNo
NoYesJmgProfileSpec.StartDay
ProfileLineStartTimeSecondsTime at which the line starts.Time
JmgTime
NoYesJmgProfileSpec.StartTime
ToleranceAfterEndMinutesTolerance value allowed after the end time.Integer
JmgToleranceAfterEnd
NoYesJmgProfileSpec.ToleranceAfter
ToleranceAfterStartMinutesTolerance value allowed after the start time.Integer
JmgToleranceAfterStart
NoYesJmgProfileSpec.ToleranceAfterStart
ToleranceBeforeStartMinutesTolerance value allowed before the start time.Integer
JmgToleranceBeforeStart
NoYesJmgProfileSpec.ToleranceBefore
ToleranceBeforeEndMinutesTolerance value allowed before the end time.Integer
JmgToleranceBeforeEnd
NoYesJmgProfileSpec.ToleranceBeforeEnd
RecordIdA unique number that the system gives to every record. Other tables often use it to point to this record.Int64
RecId
NoYesJmgProfileSpec.RecId
PrimaryTimeProfileTypeIdUnique code of the profile type.String (20)
JmgProfileTypeId
NoYesJmgProfileTypeTable.ProfileTypeId
SecondaryTimeProfileTypeIdUnique code of the profile type.String (20)
JmgProfileTypeId
NoYesJmgProfileTypeTable.ProfileTypeId
SecondaryProfileTypeSecond profile type for the line. Points to the profile type record by system record ID.Int64
JmgProfileTypeRecId
NoYesJmgProfileTypeTable.RecIdJmgProfileSpec.SecondaryProfileType
ProfileTypeProfile type of the line. Points to the profile type record by system record ID.Int64
JmgProfileTypeRecId
NoYesJmgProfileTypeTable.RecIdJmgProfileSpec.ProfileType

Foreign keys (4)

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.

  • TimeAndAttendanceSwitchCodeActivityId → JmgIpcActivity.Activity (key of JmgIpcActivity)

    Relation also requires JmgIpcActivity.Type = JmgStampTypeEnum::EventCode.

    Many JmgProfileSpec records → zero or one JmgIpcActivity record

    Not exposed by a public entity.

  • TimeProfileId → JmgProfileTable.Profile (key of JmgProfileTable)

    Many JmgProfileSpec records → exactly one JmgProfileTable record

    JmgProfileTable details: see JmgTimeAndAttendanceTimeProfileEntity

  • SecondaryProfileType → JmgProfileTypeTable.RecId (key of JmgProfileTypeTable)

    Many JmgProfileSpec records → zero or one JmgProfileTypeTable record

    Not exposed by a public entity.

  • ProfileType → JmgProfileTypeTable.RecId (key of JmgProfileTypeTable)

    Many JmgProfileSpec records → zero or one JmgProfileTypeTable record

    Not exposed by a public entity.

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

Email sales@drdynamics.co.uk