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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AutoStampYes or no flag showing whether the registration was made automatically. | EnumNoYes (enum) | No | None | |
CostCategoryThe project category linked to the registration. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionA short text describing the registration. | String (60)JmgDescription | No | None | |
ErrorShows whether the registration had an error. | EnumNoYesCombo (enum) | No | None | |
ErrorSpecificationLonger text giving details of the error. | String (250)JmgErrorSpecification | No | None | |
ErrorTxtA short error message for the registration. | String (80)ErrorTxt | No | None | |
FinishedCodeA whole-number code for the finished status of the registration.low confidence | IntegerJmgTermFinishedCode | No | None | |
GoodItemsThe quantity of good items reported. | RealProductQuantity | No | None | |
JobActiveYes or no flag showing whether a job is in process. | EnumNoYes (enum) | No | None | |
JobIdThe ID of the job the registration is for. | String (20)JmgJobId | No | None | |
JobIdAbsThe ID of the absence job the registration is for. | String (20)JmgJobId | No | None | |
MatchRecIdStartStopAn ID used to match start and stop registrations. | Int64JmgArchivedRecId | No | None | |
OnCallActivityThe on-call activity linked to the registration. | StringJmgIpcActivityIdOnCall | No | JmgIpcActivity.Activity | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCWGoodItemsGood quantity in catch weight units. | RealPdsCWBatchGood | No | None | |
PdsCWScrapItemsError quantity in catch weight units. | RealPdsCWBatchErr | No | None | |
PdsCWStartItemsStarted quantity in catch weight units. | RealPdsCWBatchStup | No | None | |
ProfileDateThe profile date of the registration. | DateJmgProfileDate | No | 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 | |
RegDateTimeThe date and time of the registration. | UtcDateTimeJmgDateTime | No | None | |
RegTypeThe kind of registration, such as clock in, start job or stop break. | EnumJmgTermRegType (enum) | No | None | |
ResNoThe resource the registration relates to. | StringWrkCtrId | No | WrkCtrTable.WrkCtrId | None |
ScrapCauseThe cause of the error or scrap: material, machine, operator or none. | EnumProdErrorCause (enum) | No | None | |
ScrapItemsThe quantity of scrapped items reported. | RealProductQuantity | No | None | |
StartItemsThe quantity of items started. | RealProductQuantity | No | None | |
SysMrpUpdateRequestA numeric value for a production update request. The metadata does not explain it further.low confidence | RealJmgTermSysMrpUpdateRequest | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TerminalIdThe ID of the terminal where the registration was made. | String (256)JmgTerminalId | No | None | |
TermRegRecIdThe system record ID of the original registration that was archived. | Int64JmgArchivedRecId | No | None | |
TmpGoodItemsA temporary good quantity value held with the registration.low confidence | RealJmgTermTmpGoodItems | No | None | |
TmpScrapItemsA temporary scrap quantity value held with the registration.low confidence | RealJmgTermTmpScrapItems | No | None | |
TmpStartItemsA temporary start quantity value held with the registration.low confidence | RealJmgTermTmpStartItems | No | None | |
WorkerThe worker who made the registration, pointing to a worker record. | Int64JmgWorkerRecId | No | HcmWorker.RecId | None |
WorkerPilotThe worker acting as job pilot, pointing to a worker record. | Int64JmgWorkerRecId_JobPilot | No | HcmWorker.RecId | None |
Indexes (7)
HcmWorkerPilotIdxNot unique.
EmplIdJobIdJobActiveIdxNot unique.
EmplTimeTypeIdxNot unique.
EmplTypeTimeIdxNot unique.
ActFinishIdxWorker,JobActive,FinishedCodeNot unique.
PiloteIdxRegType,WorkerPilot,JobActive,RegDateTimeNot unique.
CoAssistIdxRegType,Worker,JobActive,RegDateTimeNot unique.
Relations (5)
Each relation joins JmgTermRegArchive to another table on the fields shown.
HcmWorker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany JmgTermRegArchive records → zero or one HcmWorker record
HcmWorkerPilot→HcmWorkerJoin on
WorkerPilot = HcmWorker.RecIdMany JmgTermRegArchive records → zero or one HcmWorker record
OnCallJmgIpcActivity→JmgIpcActivityJoin on
OnCallActivity = JmgIpcActivity.Activity,JmgIpcActivity.Type = JmgStampTypeEnum::OnCallMany JmgTermRegArchive records → zero or one JmgIpcActivity record
ProjCategory→ProjCategoryJoin on
CostCategory = ProjCategory.CategoryIdMany JmgTermRegArchive records → zero or one ProjCategory record
ResourceWrkCtrTable→WrkCtrTableJoin on
ResNo = WrkCtrTable.WrkCtrId,WrkCtrTable.IsIndividualResource = 1Many 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.