Table
JmgProfileRelation
Profile relation
Links a profile to a profile group for a period. Each record has a start and end date and a from and to time. It has no key defined in the metadata.
- Table name
JmgProfileRelation- 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 (11)
| 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 | |
EndDateLast date of the relation period. | DateJmgDate | No | None | |
FromTimeTime of day when the relation starts. | TimeJmgFromTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProfileGroupIdProfile group in the relation, pointing to the profile group table. | StringJmgProfileGroupId | Yes | JmgProfileGroup.ProfileGroupId | None |
ProfileIdProfile in the relation, pointing to the profile table. | StringJmgProfileId | Yes | JmgProfileTable.Profile | None |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
StartDateFirst date of the relation period. | DateJmgDate | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToTimeTime of day when the relation ends. | TimeJmgToTime | No | None |
Indexes (1)
GroupTimeDateIdxProfileGroupId,FromTime,ToTime,StartDate,EndDateNot unique.
Relations (2)
Each relation joins JmgProfileRelation to another table on the fields shown.
ProfileGroup→JmgProfileGroupJoin on
ProfileGroupId = JmgProfileGroup.ProfileGroupIdOne or more JmgProfileRelation records → exactly one JmgProfileGroup record
ProfileTable→JmgProfileTableJoin on
ProfileId = JmgProfileTable.ProfileMany JmgProfileRelation records → exactly one JmgProfileTable record
Get this data out
No public entity reads from JmgProfileRelation. Its data is only reachable through the application, a custom entity or a database export.
Need help with JmgProfileRelation in a report, an integration or a migration? Talk to Dr Dynamics.