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 descriptionType / EDT / enumMandatoryReferencesIn public entities
JobIdUnique identifier of the job. Other tables, such as route jobs, refer to it.String (20)
JmgJobId
YesProdRouteJob.JobIdIoTIntMfgSensorJobExecutionEntityIoTIntMfgSensorJobItemBatchAttributeEntity
CalcQtyQuantity planned for the job's operation.Real
RouteOprQtyToOpr
NoIoTIntMfgSensorJobExecutionEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DescriptionFree-text description of the job.String (60)
JmgDescription
NoNone
FromDateScheduled start date of the job.Date
JmgDate
NoNone
FromTimeScheduled start time of the job.Time
JmgTime
NoNone
InventSiteIdSite linked to the job. Points to the inventory site record.String
InventSiteId
NoInventSite.SiteIdNone
ItemIdItem number linked to the job. Points to the item record.String (20)
ItemId
NoInventTable.ItemIdNone
LockedYes/No flag that marks the job as high priority.Enum
JmgJobLocked
NoYes (enum)
NoNone
ModuleRefIdReference ID that can point to an absence group, an indirect activity category or a production order, depending on the job.String (20)
JmgModuleRefId
NoHRMAbsenceCodeGroup.hrmAbsenceCodeGroupIdJmgIpcCategory.CategoryProdTable.ProdIdProjTable.ProjIdIoTIntMfgSensorJobExecutionEntity
OprActIdCode of the operation or activity the job is for.String
JmgOprActId
NoNone
OprNumNumber of the operation on the route that the job belongs to.Integer
OprNum
NoNone
OriginalResourceResource first assigned to the job. Points to the resource record.String
WrkCtrId
NoWrkCtrTable.WrkCtrIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PdsCWCalcQtyRequested quantity in catch weight units.Real
PdsCWCalcQty
NoNone
PriorityPriority level of the job, from primary to secondary 9.Enum
RouteOprPriority (enum)
NoNone
PriorityResourceSequence number that ranks the job for its resource.Integer
JmgJobPriority
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
ReportedFinishedYes/No flag showing whether the job has been reported as finished.Enum
NoYes (enum)
NoNone
ResourceGroupResource group the job relates to. Points to the resource group record by system record ID.Int64
RefRecId
NoWrkCtrResourceGroup.RecIdNone
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
ToDateScheduled end date of the job.Date
JmgDate
NoNone
ToTimeScheduled end time of the job.Time
JmgTime
NoNone
TypeKind of job, such as queue, setup, process, transport, project or indirect activity.Enum
JmgJobTableType (enum)
NoNone
WorkerWorker linked to the job. Points to the worker record by system record ID.Int64
JmgWorkerRecId
NoHcmWorker.RecIdNone
WrkCtrIdResource linked to the job. Points to the resource record.String
WrkCtrIdBase
NoWrkCtrTable.WrkCtrIdNone

Indexes (5)

Relations (29)

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

  • HcmWorker → HcmWorker

    Join on Worker = HcmWorker.RecId

    Many JmgJobTable records → zero or one HcmWorker record

  • HRMAbsenceCodeGroup → HRMAbsenceCodeGroup

    Join on ModuleRefId = HRMAbsenceCodeGroup.hrmAbsenceCodeGroupId, Type = JmgJobTableType::HRMAbsenceCode

    Many JmgJobTable records → zero or one HRMAbsenceCodeGroup record

  • InventSite → InventSite

    Join on InventSiteId = InventSite.SiteId

    Many JmgJobTable records → zero or one InventSite record

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many JmgJobTable records → zero or one InventTable record

  • JmgJobTable → JmgJobTable

    Join on JobId = JmgJobTable.JobId

    Exactly one JmgJobTable record → exactly one JmgJobTable record

  • JmgIpcCategory → JmgIpcCategory

    Join on ModuleRefId = JmgIpcCategory.Category

    Many JmgJobTable records → zero or one JmgIpcCategory record

  • JmgTermReg_Active → JmgTermReg

    Join on JmgTermReg.JobActive = 1, JobId = JmgTermReg.JobId

    Many JmgJobTable records → zero or one JmgTermReg record

  • OriginalResourceWrkCtrTable → WrkCtrTable

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

    Many JmgJobTable records → zero or one WrkCtrTable record

  • ProdRoute_process → ProdRoute

    Join on Type = JmgJobTableType::ProdProcess, JobId = ProdRoute.JobIdProcess

    Exactly one JmgJobTable record → exactly one ProdRoute record

  • ProdRoute_setup → ProdRoute

    Join on Type = JmgJobTableType::ProdSetup, JobId = ProdRoute.JobIdSetup

    Exactly one JmgJobTable record → exactly one ProdRoute record

  • ProdRouteJob → ProdRouteJob

    Join on Type = JmgJobTableType::ProdQueueBefore, JobId = ProdRouteJob.JobId

    Exactly one JmgJobTable record → exactly one ProdRouteJob record

  • ProdRouteJob_Overlap → ProdRouteJob

    Join on Type = JmgJobTableType::ProdOverlap, JobId = ProdRouteJob.JobId

    Exactly one JmgJobTable record → exactly one ProdRouteJob record

  • ProdRouteJob_Process → ProdRouteJob

    Join on Type = JmgJobTableType::ProdProcess, JobId = ProdRouteJob.JobId

    Exactly one JmgJobTable record → exactly one ProdRouteJob record

  • ProdRouteJob_QueueAfter → ProdRouteJob

    Join on Type = JmgJobTableType::ProdQueueAfter, JobId = ProdRouteJob.JobId

    Exactly one JmgJobTable record → exactly one ProdRouteJob record

  • ProdRouteJob_Setup → ProdRouteJob

    Join on Type = JmgJobTableType::ProdSetup, JobId = ProdRouteJob.JobId

    Exactly one JmgJobTable record → exactly one ProdRouteJob record

  • ProdRouteJob_Transport → ProdRouteJob

    Join on Type = JmgJobTableType::ProdTransport, JobId = ProdRouteJob.JobId

    Exactly one JmgJobTable record → exactly one ProdRouteJob record

  • ProdTable → ProdTable

    Join on ModuleRefId = ProdTable.ProdId

    Many JmgJobTable records → zero or one ProdTable record

  • ProdTable_Overlap → ProdTable

    Join on Type = JmgJobTableType::ProdOverlap, ModuleRefId = ProdTable.ProdId

    Many JmgJobTable records → zero or one ProdTable record

  • ProdTable_process → ProdTable

    Join on Type = JmgJobTableType::ProdProcess, ModuleRefId = ProdTable.ProdId

    Many JmgJobTable records → zero or one ProdTable record

  • ProdTable_QueueAfter → ProdTable

    Join on Type = JmgJobTableType::ProdQueueAfter, ModuleRefId = ProdTable.ProdId

    Many JmgJobTable records → zero or one ProdTable record

  • ProdTable_queueBefore → ProdTable

    Join on Type = JmgJobTableType::ProdQueueBefore, ModuleRefId = ProdTable.ProdId

    Many JmgJobTable records → zero or one ProdTable record

  • ProdTable_setup → ProdTable

    Join on Type = JmgJobTableType::ProdSetup, ModuleRefId = ProdTable.ProdId

    Many JmgJobTable records → zero or one ProdTable record

  • ProdTable_Transport → ProdTable

    Join on Type = JmgJobTableType::ProdTransport, ModuleRefId = ProdTable.ProdId

    Many JmgJobTable records → zero or one ProdTable record

  • ProjTable → ProjTable

    Join on Type = JmgJobTableType::ProjProject, ModuleRefId = ProjTable.ProjId

    Many JmgJobTable records → zero or one ProjTable record

  • ProjTable_Activity → ProjTable

    Join on Type = JmgJobTableType::ProjActivity, ModuleRefId = ProjTable.ProjId

    Many JmgJobTable records → zero or one ProjTable record

  • ProjTable_Budget → ProjTable

    Join on Type = JmgJobTableType::ProjBudget, ModuleRefId = ProjTable.ProjId

    Many JmgJobTable records → zero or one ProjTable record

  • ResourceGroup → WrkCtrResourceGroup

    Join on ResourceGroup = WrkCtrResourceGroup.RecId

    Many JmgJobTable records → zero or one WrkCtrResourceGroup record

  • Route → Route

    Join on OprNum = Route.OprNum

    Many JmgJobTable records → zero or one Route record

  • WrkCtrTable → WrkCtrTable

    Join on WrkCtrId = WrkCtrTable.WrkCtrId

    Many 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.

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

Email sales@drdynamics.co.uk