Table

JmgTermReg

Raw registrations

Holds raw registrations from terminals, such as clock in, start or stop of a job, and breaks. Each record has a time stamp, a worker and a terminal. It can also hold quantities for good, scrap and start items. Other records refer to it as the source of start and stop events.

Table name
JmgTermReg
Module
Production control
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
JmgRegistrationEmployees
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (40)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AutoStampYes/No flag showing whether the registration is automatic.Enum
NoYes (enum)
NoNone
CostCategoryProject category for the registration.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ErrorShows whether the registration has an error (No or Yes).Enum
NoYesCombo (enum)
NoNone
ErrorSpecificationFree text describing the error.String (250)
JmgErrorSpecification
NoNone
ErrorTxtShort error message text.String (80)
ErrorTxt
NoNone
FinishedCodeCode showing whether the job was reported as finished.Integer
JmgTermFinishedCode
NoNone
GoodItemsQuantity of good items reported.Real
ProductQuantity
NoNone
JobActiveYes/No flag showing whether the work is still in process.Enum
NoYes (enum)
NoNone
JobIdIdentifier of the job, linked to the job table.String (20)
JmgJobId
NoJmgJobTable.JobIdNone
JobIdAbsJob identifier used for absence, related to the absence codes.String (20)
JmgJobId
NoNone
MatchRecIdStartStopRecord ID of the matching raw registration that pairs a start with a stop.Int64
RefRecId
NoJmgTermReg.RecIdNone
MESWorkloadInstanceSiteIdSite for the registration, linked to the sites table.String
InventSiteId
NoInventSite.SiteIdNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OnCallActivityOn-call activity, linked to the activities table.String
JmgIpcActivityIdOnCall
NoJmgIpcActivity.ActivityNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsCWGoodItemsGood quantity in CW units.Real
PdsCWBatchGood
NoNone
PdsCWScrapItemsError quantity in CW units.Real
PdsCWBatchErr
NoNone
PdsCWStartItemsStart quantity in CW units.Real
PdsCWBatchStup
NoNone
ProfileDateProfile date the registration belongs to.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
RegDateTimeDate and time of the registration.UtcDateTime
JmgDateTime
NoIoTIntMfgSensorJobExecutionEntityIoTIntMfgSensorJobExecutionEntityIoTIntMfgSensorJobExecutionEntityand 3 more
RegTypeType of registration, such as clock in, start or stop job, or a break action.Enum
JmgTermRegType (enum)
NoNone
ResNoResource used, linked to the resources table.String
WrkCtrId
NoWrkCtrTable.WrkCtrIdNone
RetailTerminalIdRegister number, linked to the POS registers.String
RetailTerminalId
NoRetailTerminalTable.terminalIdNone
ScrapItemsQuantity of items reported as error.Real
ProductQuantity
NoNone
SecondsNumber of seconds for the registration.Integer
JmgSeconds
NoNone
StartItemsQuantity of items reported as start quantity.Real
ProductQuantity
NoNone
SysMrpUpdateRequestValue for requesting a production update; the exact meaning is not stated in the metadata.low confidenceReal
JmgTermSysMrpUpdateRequest
NoNone
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
TerminalIdTerminal where the registration was made.String (256)
JmgTerminalId
NoNone
TmpGoodItemsTemporary good quantity.Real
JmgTermTmpGoodItems
NoNone
TmpPdsCWStartItemsTemporary start quantity in CW units.Real
JmgTermTmpPdsCWStartItems
NoNone
TmpScrapItemsTemporary scrap quantity.Real
JmgTermTmpScrapItems
NoNone
TmpStartItemsTemporary start quantity.Real
JmgTermTmpStartItems
NoNone
WorkerWorker who made the registration.Int64
JmgWorkerRecId
NoHcmWorker.RecIdJmgEmployee.WorkerNone
WorkerPilotWorker acting as job pilot.Int64
JmgWorkerRecId_JobPilot
NoHcmWorker.RecIdNone
WrkCtrIdPilotResource of the job pilot.String
JmgWrkCtrIdPilot
NoWrkCtrTable.WrkCtrIdNone

Indexes (9)

Relations (12)

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

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many JmgTermReg records → zero or one HcmWorker record

  • HcmWorkerPilot → HcmWorker

    Join on WorkerPilot = HcmWorker.RecId

    Many JmgTermReg records → zero or one HcmWorker record

  • HRMAbsenceCode → HRMAbsenceCode

    Join on JobIdAbs = HRMAbsenceCode.JmgJobId

    Many JmgTermReg records → zero or one HRMAbsenceCode record

  • JmgEmployee → JmgEmployee

    Join on Worker = JmgEmployee.Worker

    Many JmgTermReg records → exactly one JmgEmployee record

  • JmgJobTable → JmgJobTable

    Join on JobId = JmgJobTable.JobId

    Zero or one JmgTermReg record → zero or one JmgJobTable record

  • JmgTermReg → JmgTermReg

    Join on MatchRecIdStartStop = JmgTermReg.RecId

    Many JmgTermReg records → zero or one JmgTermReg record

  • OnCallJmgIpcActivity → JmgIpcActivity

    Join on OnCallActivity = JmgIpcActivity.Activity, JmgIpcActivity.Type = JmgStampTypeEnum::OnCall

    Many JmgTermReg records → zero or one JmgIpcActivity record

  • ProjCategory → ProjCategory

    Join on CostCategory = ProjCategory.CategoryId

    Many JmgTermReg records → zero or one ProjCategory record

  • ResourcePilotWrkCtrTable → WrkCtrTable

    Join on WrkCtrIdPilot = WrkCtrTable.WrkCtrId, WrkCtrTable.IsIndividualResource = 1

    Many JmgTermReg records → zero or one WrkCtrTable record

  • ResourceWrkCtrTable → WrkCtrTable

    Join on ResNo = WrkCtrTable.WrkCtrId, WrkCtrTable.IsIndividualResource = 1

    Many JmgTermReg records → zero or one WrkCtrTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on RetailTerminalId = RetailTerminalTable.terminalId

    Many JmgTermReg records → zero or one RetailTerminalTable record

  • MESWorkloadInstanceSiteId → InventSite

    Join on MESWorkloadInstanceSiteId = InventSite.SiteId

    Many JmgTermReg records → zero or one InventSite record

Get this data out

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

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

Email sales@drdynamics.co.uk