Table

JmgProfileSpec

Profile timetable

Holds the timetable lines of a time profile. Each line has a day, a start and end time, a profile type and tolerance values. It links to the profile, the profile type and a switch code.

Table name
JmgProfileSpec
Module
Production control
Table group
Main
Table type
Regular
Data per company
Yes
Configuration key
Jmg
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DayIdDay of the week, or special day, that the line is for.Enum
JmgDayId
JmgDayIdEnum (enum)
NoJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
EndDayRelative day number on which the line ends.Integer
JmgRelDayNo
NoJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
EndTimeTime at which the line ends.Time
JmgTime
NoJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
EventCodeSwitch code for the line. Points to an activity record.String
JmgEventCode
NoJmgIpcActivity.ActivityJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
LineNumNumber that orders the lines.Real
LineNum
NoJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProfileTime profile the line belongs to. Points to the profile record.String
JmgProfileId
YesJmgProfileTable.ProfileJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
ProfileTypeProfile type of the line. Points to the profile type record by system record ID.Int64
JmgProfileTypeRecId
NoJmgProfileTypeTable.RecIdJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SecondaryProfileTypeSecond profile type for the line. Points to the profile type record by system record ID.Int64
JmgProfileTypeRecId
NoJmgProfileTypeTable.RecIdJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
StartDayRelative day number on which the line starts.Integer
JmgRelDayNo
NoJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
StartTimeTime at which the line starts.Time
JmgTime
NoJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
ToleranceAfterTolerance value allowed after the end time.Integer
JmgToleranceAfterEnd
NoJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
ToleranceAfterStartTolerance value allowed after the start time.Integer
JmgToleranceAfterStart
NoJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
ToleranceBeforeTolerance value allowed before the start time.Integer
JmgToleranceBeforeStart
NoJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity
ToleranceBeforeEndTolerance value allowed before the end time.Integer
JmgToleranceBeforeEnd
NoJmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity

Indexes (3)

Relations (4)

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

  • JmgProfileTable → JmgProfileTable

    Join on Profile = JmgProfileTable.Profile

    Many JmgProfileSpec records → exactly one JmgProfileTable record

  • JmgProfileTypeTable → JmgProfileTypeTable

    Join on ProfileType = JmgProfileTypeTable.RecId

    Many JmgProfileSpec records → zero or one JmgProfileTypeTable record

  • JmgProfileTypeTable_Secondary → JmgProfileTypeTable

    Join on SecondaryProfileType = JmgProfileTypeTable.RecId

    Many JmgProfileSpec records → zero or one JmgProfileTypeTable record

  • SwitchJmgIpcActivity → JmgIpcActivity

    Join on EventCode = JmgIpcActivity.Activity, JmgIpcActivity.Type = JmgStampTypeEnum::EventCode

    Many JmgProfileSpec records → zero or one JmgIpcActivity record

Get this data out

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

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

Email sales@drdynamics.co.uk