Table

JmgEventCtrl

Switch code

Stores switch code events registered by workers. Each entry has a switch code, a terminal, a profile date and an approval flag. It links to the activity, the worker and the raw registration where it started.

Table name
JmgEventCtrl
Module
Production control
Table group
Transaction
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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ApprovedShows whether the entry is approved.Enum
JmgApproved
NoYes (enum)
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EventCodeThe switch code registered. It points to an activity.String
JmgEventCode
YesJmgIpcActivity.ActivityNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProfileDateThe profile date of the entry.Date
JmgProfileDate
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TerminalIdID of the terminal used for the registration.String (256)
JmgTerminalId
NoNone
TermRegRecIDSystem record ID of the start registration. It points to a raw registration.Int64
JmgTermRegStartRecID
NoJmgTermReg.RecIdNone
WorkerThe worker who made the registration. It points to the worker record.Int64
JmgWorkerRecId
NoHcmWorker.RecIdNone

Indexes (1)

Relations (3)

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

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many JmgEventCtrl records → zero or one HcmWorker record

  • JmgTermReg → JmgTermReg

    Join on TermRegRecID = JmgTermReg.RecId

    Many JmgEventCtrl records → zero or one JmgTermReg record

  • SwitchJmgIpcActivity → JmgIpcActivity

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

    Many JmgEventCtrl records → zero or one JmgIpcActivity record

Get this data out

No public entity reads from JmgEventCtrl. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk