Table

JmgTermRegArchive

Raw registrations archive

Archive of raw time and job registrations made at terminals. Each row records the type of registration, time, worker, resource, job and quantities. It also keeps any error details and links to workers, resources, activities and project categories.

Table name
JmgTermRegArchive
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 (36)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AutoStampYes or no flag showing whether the registration was made automatically.Enum
NoYes (enum)
NoNone
CostCategoryThe project category linked to the registration.String (30)
ProjCategoryId
NoProjCategory.CategoryIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionA short text describing the registration.String (60)
JmgDescription
NoNone
ErrorShows whether the registration had an error.Enum
NoYesCombo (enum)
NoNone
ErrorSpecificationLonger text giving details of the error.String (250)
JmgErrorSpecification
NoNone
ErrorTxtA short error message for the registration.String (80)
ErrorTxt
NoNone
FinishedCodeA whole-number code for the finished status of the registration.low confidenceInteger
JmgTermFinishedCode
NoNone
GoodItemsThe quantity of good items reported.Real
ProductQuantity
NoNone
JobActiveYes or no flag showing whether a job is in process.Enum
NoYes (enum)
NoNone
JobIdThe ID of the job the registration is for.String (20)
JmgJobId
NoNone
JobIdAbsThe ID of the absence job the registration is for.String (20)
JmgJobId
NoNone
MatchRecIdStartStopAn ID used to match start and stop registrations.Int64
JmgArchivedRecId
NoNone
OnCallActivityThe on-call activity linked to the registration.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 catch weight units.Real
PdsCWBatchGood
NoNone
PdsCWScrapItemsError quantity in catch weight units.Real
PdsCWBatchErr
NoNone
PdsCWStartItemsStarted quantity in catch weight units.Real
PdsCWBatchStup
NoNone
ProfileDateThe profile date of the registration.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
RegDateTimeThe date and time of the registration.UtcDateTime
JmgDateTime
NoNone
RegTypeThe kind of registration, such as clock in, start job or stop break.Enum
JmgTermRegType (enum)
NoNone
ResNoThe resource the registration relates to.String
WrkCtrId
NoWrkCtrTable.WrkCtrIdNone
ScrapCauseThe cause of the error or scrap: material, machine, operator or none.Enum
ProdErrorCause (enum)
NoNone
ScrapItemsThe quantity of scrapped items reported.Real
ProductQuantity
NoNone
StartItemsThe quantity of items started.Real
ProductQuantity
NoNone
SysMrpUpdateRequestA numeric value for a production update request. The metadata does not explain it further.low confidenceReal
JmgTermSysMrpUpdateRequest
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TerminalIdThe ID of the terminal where the registration was made.String (256)
JmgTerminalId
NoNone
TermRegRecIdThe system record ID of the original registration that was archived.Int64
JmgArchivedRecId
NoNone
TmpGoodItemsA temporary good quantity value held with the registration.low confidenceReal
JmgTermTmpGoodItems
NoNone
TmpScrapItemsA temporary scrap quantity value held with the registration.low confidenceReal
JmgTermTmpScrapItems
NoNone
TmpStartItemsA temporary start quantity value held with the registration.low confidenceReal
JmgTermTmpStartItems
NoNone
WorkerThe worker who made the registration, pointing to a worker record.Int64
JmgWorkerRecId
NoHcmWorker.RecIdNone
WorkerPilotThe worker acting as job pilot, pointing to a worker record.Int64
JmgWorkerRecId_JobPilot
NoHcmWorker.RecIdNone

Indexes (7)

Relations (5)

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

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many JmgTermRegArchive records → zero or one HcmWorker record

  • HcmWorkerPilot → HcmWorker

    Join on WorkerPilot = HcmWorker.RecId

    Many JmgTermRegArchive records → zero or one HcmWorker record

  • OnCallJmgIpcActivity → JmgIpcActivity

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

    Many JmgTermRegArchive records → zero or one JmgIpcActivity record

  • ProjCategory → ProjCategory

    Join on CostCategory = ProjCategory.CategoryId

    Many JmgTermRegArchive records → zero or one ProjCategory record

  • ResourceWrkCtrTable → WrkCtrTable

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

    Many JmgTermRegArchive records → zero or one WrkCtrTable record

Get this data out

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

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

Email sales@drdynamics.co.uk