Table

PMFSeqWrkCtrCapRes

Capacity reservations

Holds capacity reservations made on resources for sequencing. Each record gives a resource, a date, a start and end time and a load. It can refer to production orders, projects, planned orders, route jobs and plan versions. It has no defined key in the metadata.

Table name
PMFSeqWrkCtrCapRes
Module
Master planning
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
PMFSequencing
Primary index
RecId
Replacement key
None
Key fields
None
Model
Foundation

Fields (27)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EndTimeScheduled end time of the reservation.Time
SchedToTime
NoNone
IntvMthMonth number used to filter the reservations.Integer
IntvMth
NoNone
IntvQrQuarter number used to filter the reservations.Integer
IntvQr
NoNone
IntvWkWeek number used to filter the reservations.Integer
IntvWk
NoNone
JobIdIdentifier of the route job that the reservation is for.String (20)
ProdJobId
NoProdRouteJob.JobIdNone
JobTypeType of job, such as queue, setup, process, overlap, transport or burden.Enum
RouteJobType (enum)
NoNone
LoadTypeType of load on the resource, such as operations scheduled or job scheduled.Enum
WrkCtrCapacityType (enum)
NoNone
LockedYes or no flag showing whether the job is locked.Enum
ProdJobLocked
NoYes (enum)
NoNone
OprNumNumber of the route operation the reservation relates to.Integer
OprNum
NoPMFSeqReqRouteChanges.OprNumProdRouteJob.OprNumReqRoute.OprNumNone
OprPriorityPriority of the operation, from primary to secondary 9.Enum
RouteOprPriority (enum)
NoPMFSeqReqRouteChanges.OprPriorityReqRoute.OprPriorityNone
OrigCapResRefRecIdRecord ID of the original capacity reservation.Int64
RefRecId
NoWrkCtrCapRes.RecIdNone
OrigJobRecIdRecord ID of the job that originated the capacity reservation.Int64
WrkCtrCapResOrigJobId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PlanVersionRecord ID of the plan version the reservation belongs to.Int64
RefRecId
YesReqPlanVersion.RecIdNone
PropertyIdCode of the resource property linked to the reservation.String
PropertyId
NoWrkCtrProperty.PropertyIdNone
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
RefIdNumber of the production order or project the reservation refers to.String (20)
WrkCtrRefId
YesProdTable.ProdIdProjTable.ProjIdNone
RefTypeType of source the reservation refers to, such as production, planned order, project or maintenance.Enum
WrkCtrCapRefType (enum)
NoNone
StartTimeScheduled start time of the reservation.Time
SchedFromTime
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TimestampNumeric timestamp of the capacity reservation.Int64
WrkCtrCapResTimestamp
NoNone
TransDateScheduled date of the reservation.Date
SchedDate
NoNone
WrkCtrIdCode of the resource that is reserved.String
WrkCtrId
YesWrkCtrTable.WrkCtrIdNone
WrkCtrLoadPctLoad placed on the resource, as a percentage.Real
WrkCtrLoadPct
NoNone
WrkCtrSecReserved capacity, measured in seconds.Real
CapacitySec
NoNone

Indexes (2)

Relations (12)

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

  • PMFSeqReqRouteChanges → PMFSeqReqRouteChanges

    Join on PlanVersion = PMFSeqReqRouteChanges.PlanVersion, RefId = PMFSeqReqRouteChanges.RefId, OprNum = PMFSeqReqRouteChanges.OprNum, OprPriority = PMFSeqReqRouteChanges.OprPriority

    Many PMFSeqWrkCtrCapRes records → zero or one PMFSeqReqRouteChanges record

  • ProdJob → ProdRouteJob

    Join on JobId = ProdRouteJob.JobId, OprNum = ProdRouteJob.OprNum, RefId = ProdRouteJob.ProdId, RefType = WrkCtrCapRefType::Production

    Many PMFSeqWrkCtrCapRes records → zero or one ProdRouteJob record

  • ProdRoute → ProdRoute

    Join on OprNum = ProdRoute.OprNum, RefId = ProdRoute.ProdId, RefType = WrkCtrCapRefType::Production

    Many PMFSeqWrkCtrCapRes records → zero or one ProdRoute record

  • Production → ProdTable

    Join on RefId = ProdTable.ProdId, RefType = WrkCtrCapRefType::Production

    Many PMFSeqWrkCtrCapRes records → zero or one ProdTable record

  • ProjTable → ProjTable

    Join on RefType = WrkCtrCapRefType::Project, RefId = ProjTable.ProjId

    Many PMFSeqWrkCtrCapRes records → zero or one ProjTable record

  • ReqPlanVersion → ReqPlanVersion

    Join on PlanVersion = ReqPlanVersion.RecId

    Many PMFSeqWrkCtrCapRes records → exactly one ReqPlanVersion record

  • ReqRoute → ReqRoute

    Join on PlanVersion = ReqRoute.PlanVersion, RefType = WrkCtrCapRefType::PlannedOrder, OprPriority = ReqRoute.OprPriority, OprNum = ReqRoute.OprNum, RefId = ReqRoute.RefId

    Many PMFSeqWrkCtrCapRes records → zero or one ReqRoute record

  • ReqRouteJob → ReqRouteJob

    Join on PlanVersion = ReqRouteJob.PlanVersion, RefType = WrkCtrCapRefType::PlannedOrder, OprPriority = ReqRouteJob.OprPriority, OprNum = ReqRouteJob.OprNum, RefId = ReqRouteJob.ReqPOId

    Many PMFSeqWrkCtrCapRes records → zero or one ReqRouteJob record

  • WrkCtr → WrkCtrTable

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

    Many PMFSeqWrkCtrCapRes records → exactly one WrkCtrTable record

  • WrkCtrCapRes → WrkCtrCapRes

    Join on RefId = WrkCtrCapRes.RefId, WrkCtrId = WrkCtrCapRes.WrkCtrId, OprNum = WrkCtrCapRes.OprNum

    Many PMFSeqWrkCtrCapRes records → zero or one WrkCtrCapRes record

  • WrkCtrCapResOrig → WrkCtrCapRes

    Join on OrigCapResRefRecId = WrkCtrCapRes.RecId

    Many PMFSeqWrkCtrCapRes records → zero or one WrkCtrCapRes record

  • WrkCtrProperty → WrkCtrProperty

    Join on PropertyId = WrkCtrProperty.PropertyId

    Many PMFSeqWrkCtrCapRes records → zero or one WrkCtrProperty record

Get this data out

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

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

Email sales@drdynamics.co.uk