Table
JmgJobTable
Job table
Holds job records for production control, keyed by job ID. Each job has a type (such as setup, process or transport), a scheduled date and time range, and a quantity. It can link to an item, site, resource, resource group, worker and operation.
- Table name
JmgJobTable- Module
Production control- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
JmgRegistrationEmployees- Primary index
JobIdIndex- Replacement key
None- Key fields
JobId- Model
Foundation
Fields (28)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
JobIdUnique identifier of the job. Other tables, such as route jobs, refer to it. | String (20)JmgJobId | Yes | ProdRouteJob.JobId | IoTIntMfgSensorJobExecutionEntityIoTIntMfgSensorJobItemBatchAttributeEntity |
CalcQtyQuantity planned for the job's operation. | RealRouteOprQtyToOpr | No | IoTIntMfgSensorJobExecutionEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DescriptionFree-text description of the job. | String (60)JmgDescription | No | None | |
FromDateScheduled start date of the job. | DateJmgDate | No | None | |
FromTimeScheduled start time of the job. | TimeJmgTime | No | None | |
InventSiteIdSite linked to the job. Points to the inventory site record. | StringInventSiteId | No | InventSite.SiteId | None |
ItemIdItem number linked to the job. Points to the item record. | String (20)ItemId | No | InventTable.ItemId | None |
LockedYes/No flag that marks the job as high priority. | EnumJmgJobLockedNoYes (enum) | No | None | |
ModuleRefIdReference ID that can point to an absence group, an indirect activity category or a production order, depending on the job. | String (20)JmgModuleRefId | No | HRMAbsenceCodeGroup.hrmAbsenceCodeGroupIdJmgIpcCategory.CategoryProdTable.ProdIdProjTable.ProjId | IoTIntMfgSensorJobExecutionEntity |
OprActIdCode of the operation or activity the job is for. | StringJmgOprActId | No | None | |
OprNumNumber of the operation on the route that the job belongs to. | IntegerOprNum | No | None | |
OriginalResourceResource first assigned to the job. Points to the resource record. | StringWrkCtrId | No | WrkCtrTable.WrkCtrId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PdsCWCalcQtyRequested quantity in catch weight units. | RealPdsCWCalcQty | No | None | |
PriorityPriority level of the job, from primary to secondary 9. | EnumRouteOprPriority (enum) | No | None | |
PriorityResourceSequence number that ranks the job for its resource. | IntegerJmgJobPriority | 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 | |
ReportedFinishedYes/No flag showing whether the job has been reported as finished. | EnumNoYes (enum) | No | None | |
ResourceGroupResource group the job relates to. Points to the resource group record by system record ID. | Int64RefRecId | No | WrkCtrResourceGroup.RecId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
ToDateScheduled end date of the job. | DateJmgDate | No | None | |
ToTimeScheduled end time of the job. | TimeJmgTime | No | None | |
TypeKind of job, such as queue, setup, process, transport, project or indirect activity. | EnumJmgJobTableType (enum) | No | None | |
WorkerWorker linked to the job. Points to the worker record by system record ID. | Int64JmgWorkerRecId | No | HcmWorker.RecId | None |
WrkCtrIdResource linked to the job. Points to the resource record. | StringWrkCtrIdBase | No | WrkCtrTable.WrkCtrId | None |
Indexes (5)
HcmWorkerIdxNot unique.
JobIdIndexPrimary indexUnique, alternate key.
WrkCtrIdxNot unique.
ModuleRefIdxNot unique.
ReportedFinishedFromDateIdxNot unique.
Relations (29)
Each relation joins JmgJobTable to another table on the fields shown.
HcmWorker→HcmWorkerJoin on
Worker = HcmWorker.RecIdMany JmgJobTable records → zero or one HcmWorker record
HRMAbsenceCodeGroup→HRMAbsenceCodeGroupJoin on
ModuleRefId = HRMAbsenceCodeGroup.hrmAbsenceCodeGroupId,Type = JmgJobTableType::HRMAbsenceCodeMany JmgJobTable records → zero or one HRMAbsenceCodeGroup record
InventSite→InventSiteJoin on
InventSiteId = InventSite.SiteIdMany JmgJobTable records → zero or one InventSite record
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany JmgJobTable records → zero or one InventTable record
JmgJobTable→JmgJobTableJoin on
JobId = JmgJobTable.JobIdExactly one JmgJobTable record → exactly one JmgJobTable record
JmgIpcCategory→JmgIpcCategoryJoin on
ModuleRefId = JmgIpcCategory.CategoryMany JmgJobTable records → zero or one JmgIpcCategory record
JmgTermReg_Active→JmgTermRegJoin on
JmgTermReg.JobActive = 1,JobId = JmgTermReg.JobIdMany JmgJobTable records → zero or one JmgTermReg record
OriginalResourceWrkCtrTable→WrkCtrTableJoin on
OriginalResource = WrkCtrTable.WrkCtrId,WrkCtrTable.IsIndividualResource = 1Many JmgJobTable records → zero or one WrkCtrTable record
ProdRoute_process→ProdRouteJoin on
Type = JmgJobTableType::ProdProcess,JobId = ProdRoute.JobIdProcessExactly one JmgJobTable record → exactly one ProdRoute record
ProdRoute_setup→ProdRouteJoin on
Type = JmgJobTableType::ProdSetup,JobId = ProdRoute.JobIdSetupExactly one JmgJobTable record → exactly one ProdRoute record
ProdRouteJob→ProdRouteJobJoin on
Type = JmgJobTableType::ProdQueueBefore,JobId = ProdRouteJob.JobIdExactly one JmgJobTable record → exactly one ProdRouteJob record
ProdRouteJob_Overlap→ProdRouteJobJoin on
Type = JmgJobTableType::ProdOverlap,JobId = ProdRouteJob.JobIdExactly one JmgJobTable record → exactly one ProdRouteJob record
ProdRouteJob_Process→ProdRouteJobJoin on
Type = JmgJobTableType::ProdProcess,JobId = ProdRouteJob.JobIdExactly one JmgJobTable record → exactly one ProdRouteJob record
ProdRouteJob_QueueAfter→ProdRouteJobJoin on
Type = JmgJobTableType::ProdQueueAfter,JobId = ProdRouteJob.JobIdExactly one JmgJobTable record → exactly one ProdRouteJob record
ProdRouteJob_Setup→ProdRouteJobJoin on
Type = JmgJobTableType::ProdSetup,JobId = ProdRouteJob.JobIdExactly one JmgJobTable record → exactly one ProdRouteJob record
ProdRouteJob_Transport→ProdRouteJobJoin on
Type = JmgJobTableType::ProdTransport,JobId = ProdRouteJob.JobIdExactly one JmgJobTable record → exactly one ProdRouteJob record
ProdTable→ProdTableJoin on
ModuleRefId = ProdTable.ProdIdMany JmgJobTable records → zero or one ProdTable record
ProdTable_Overlap→ProdTableJoin on
Type = JmgJobTableType::ProdOverlap,ModuleRefId = ProdTable.ProdIdMany JmgJobTable records → zero or one ProdTable record
ProdTable_process→ProdTableJoin on
Type = JmgJobTableType::ProdProcess,ModuleRefId = ProdTable.ProdIdMany JmgJobTable records → zero or one ProdTable record
ProdTable_QueueAfter→ProdTableJoin on
Type = JmgJobTableType::ProdQueueAfter,ModuleRefId = ProdTable.ProdIdMany JmgJobTable records → zero or one ProdTable record
ProdTable_queueBefore→ProdTableJoin on
Type = JmgJobTableType::ProdQueueBefore,ModuleRefId = ProdTable.ProdIdMany JmgJobTable records → zero or one ProdTable record
ProdTable_setup→ProdTableJoin on
Type = JmgJobTableType::ProdSetup,ModuleRefId = ProdTable.ProdIdMany JmgJobTable records → zero or one ProdTable record
ProdTable_Transport→ProdTableJoin on
Type = JmgJobTableType::ProdTransport,ModuleRefId = ProdTable.ProdIdMany JmgJobTable records → zero or one ProdTable record
ProjTable→ProjTableJoin on
Type = JmgJobTableType::ProjProject,ModuleRefId = ProjTable.ProjIdMany JmgJobTable records → zero or one ProjTable record
ProjTable_Activity→ProjTableJoin on
Type = JmgJobTableType::ProjActivity,ModuleRefId = ProjTable.ProjIdMany JmgJobTable records → zero or one ProjTable record
ProjTable_Budget→ProjTableJoin on
Type = JmgJobTableType::ProjBudget,ModuleRefId = ProjTable.ProjIdMany JmgJobTable records → zero or one ProjTable record
ResourceGroup→WrkCtrResourceGroupJoin on
ResourceGroup = WrkCtrResourceGroup.RecIdMany JmgJobTable records → zero or one WrkCtrResourceGroup record
Route→RouteJoin on
OprNum = Route.OprNumMany JmgJobTable records → zero or one Route record
WrkCtrTable→WrkCtrTableJoin on
WrkCtrId = WrkCtrTable.WrkCtrIdMany JmgJobTable records → zero or one WrkCtrTable record
Get this data out
Tables are not exposed directly. These public entities read from JmgJobTable; use one of them in Power BI, Power Platform or a data management project.
IoTIntMfgSensorJobExecutionEntity· 3 fields from this tableIoTIntMfgSensorJobItemBatchAttributeEntity· 1 field from this table
Need help with JmgJobTable in a report, an integration or a migration? Talk to Dr Dynamics.