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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DayIdDay of the week, or special day, that the line is for. | EnumJmgDayIdJmgDayIdEnum (enum) | No | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity | |
EndDayRelative day number on which the line ends. | IntegerJmgRelDayNo | No | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity | |
EndTimeTime at which the line ends. | TimeJmgTime | No | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity | |
EventCodeSwitch code for the line. Points to an activity record. | StringJmgEventCode | No | JmgIpcActivity.Activity | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity |
LineNumNumber that orders the lines. | RealLineNum | No | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProfileTime profile the line belongs to. Points to the profile record. | StringJmgProfileId | Yes | JmgProfileTable.Profile | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity |
ProfileTypeProfile type of the line. Points to the profile type record by system record ID. | Int64JmgProfileTypeRecId | No | JmgProfileTypeTable.RecId | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SecondaryProfileTypeSecond profile type for the line. Points to the profile type record by system record ID. | Int64JmgProfileTypeRecId | No | JmgProfileTypeTable.RecId | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity |
StartDayRelative day number on which the line starts. | IntegerJmgRelDayNo | No | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity | |
StartTimeTime at which the line starts. | TimeJmgTime | No | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToleranceAfterTolerance value allowed after the end time. | IntegerJmgToleranceAfterEnd | No | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity | |
ToleranceAfterStartTolerance value allowed after the start time. | IntegerJmgToleranceAfterStart | No | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity | |
ToleranceBeforeTolerance value allowed before the start time. | IntegerJmgToleranceBeforeStart | No | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity | |
ToleranceBeforeEndTolerance value allowed before the end time. | IntegerJmgToleranceBeforeEnd | No | JmgTimeAndAttendanceTimeProfileLineV2EntityJmgTimeAndAttendanceTimeProfileLineEntity |
Indexes (3)
JmgProfileTypeTableIdxNot unique.
JmgProfileTypeTableIdx1Not unique.
ProfileDayIdxNot unique.
Relations (4)
Each relation joins JmgProfileSpec to another table on the fields shown.
JmgProfileTable→JmgProfileTableJoin on
Profile = JmgProfileTable.ProfileMany JmgProfileSpec records → exactly one JmgProfileTable record
JmgProfileTypeTable→JmgProfileTypeTableJoin on
ProfileType = JmgProfileTypeTable.RecIdMany JmgProfileSpec records → zero or one JmgProfileTypeTable record
JmgProfileTypeTable_Secondary→JmgProfileTypeTableJoin on
SecondaryProfileType = JmgProfileTypeTable.RecIdMany JmgProfileSpec records → zero or one JmgProfileTypeTable record
SwitchJmgIpcActivity→JmgIpcActivityJoin on
EventCode = JmgIpcActivity.Activity,JmgIpcActivity.Type = JmgStampTypeEnum::EventCodeMany 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.
JmgTimeAndAttendanceTimeProfileLineV2Entity· 15 fields from this tableJmgTimeAndAttendanceTimeProfileLineEntity· 15 fields from this table
Need help with JmgProfileSpec in a report, an integration or a migration? Talk to Dr Dynamics.