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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EndTimeScheduled end time of the reservation. | TimeSchedToTime | No | None | |
IntvMthMonth number used to filter the reservations. | IntegerIntvMth | No | None | |
IntvQrQuarter number used to filter the reservations. | IntegerIntvQr | No | None | |
IntvWkWeek number used to filter the reservations. | IntegerIntvWk | No | None | |
JobIdIdentifier of the route job that the reservation is for. | String (20)ProdJobId | No | ProdRouteJob.JobId | None |
JobTypeType of job, such as queue, setup, process, overlap, transport or burden. | EnumRouteJobType (enum) | No | None | |
LoadTypeType of load on the resource, such as operations scheduled or job scheduled. | EnumWrkCtrCapacityType (enum) | No | None | |
LockedYes or no flag showing whether the job is locked. | EnumProdJobLockedNoYes (enum) | No | None | |
OprNumNumber of the route operation the reservation relates to. | IntegerOprNum | No | PMFSeqReqRouteChanges.OprNumProdRouteJob.OprNumReqRoute.OprNum | None |
OprPriorityPriority of the operation, from primary to secondary 9. | EnumRouteOprPriority (enum) | No | PMFSeqReqRouteChanges.OprPriorityReqRoute.OprPriority | None |
OrigCapResRefRecIdRecord ID of the original capacity reservation. | Int64RefRecId | No | WrkCtrCapRes.RecId | None |
OrigJobRecIdRecord ID of the job that originated the capacity reservation. | Int64WrkCtrCapResOrigJobId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PlanVersionRecord ID of the plan version the reservation belongs to. | Int64RefRecId | Yes | ReqPlanVersion.RecId | None |
PropertyIdCode of the resource property linked to the reservation. | StringPropertyId | No | WrkCtrProperty.PropertyId | 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 | |
RefIdNumber of the production order or project the reservation refers to. | String (20)WrkCtrRefId | Yes | ProdTable.ProdIdProjTable.ProjId | None |
RefTypeType of source the reservation refers to, such as production, planned order, project or maintenance. | EnumWrkCtrCapRefType (enum) | No | None | |
StartTimeScheduled start time of the reservation. | TimeSchedFromTime | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TimestampNumeric timestamp of the capacity reservation. | Int64WrkCtrCapResTimestamp | No | None | |
TransDateScheduled date of the reservation. | DateSchedDate | No | None | |
WrkCtrIdCode of the resource that is reserved. | StringWrkCtrId | Yes | WrkCtrTable.WrkCtrId | None |
WrkCtrLoadPctLoad placed on the resource, as a percentage. | RealWrkCtrLoadPct | No | None | |
WrkCtrSecReserved capacity, measured in seconds. | RealCapacitySec | No | None |
Indexes (2)
Relations (12)
Each relation joins PMFSeqWrkCtrCapRes to another table on the fields shown.
PMFSeqReqRouteChanges→PMFSeqReqRouteChangesJoin on
PlanVersion = PMFSeqReqRouteChanges.PlanVersion,RefId = PMFSeqReqRouteChanges.RefId,OprNum = PMFSeqReqRouteChanges.OprNum,OprPriority = PMFSeqReqRouteChanges.OprPriorityMany PMFSeqWrkCtrCapRes records → zero or one PMFSeqReqRouteChanges record
ProdJob→ProdRouteJobJoin on
JobId = ProdRouteJob.JobId,OprNum = ProdRouteJob.OprNum,RefId = ProdRouteJob.ProdId,RefType = WrkCtrCapRefType::ProductionMany PMFSeqWrkCtrCapRes records → zero or one ProdRouteJob record
ProdRoute→ProdRouteJoin on
OprNum = ProdRoute.OprNum,RefId = ProdRoute.ProdId,RefType = WrkCtrCapRefType::ProductionMany PMFSeqWrkCtrCapRes records → zero or one ProdRoute record
Production→ProdTableJoin on
RefId = ProdTable.ProdId,RefType = WrkCtrCapRefType::ProductionMany PMFSeqWrkCtrCapRes records → zero or one ProdTable record
ProjTable→ProjTableJoin on
RefType = WrkCtrCapRefType::Project,RefId = ProjTable.ProjIdMany PMFSeqWrkCtrCapRes records → zero or one ProjTable record
ReqPlanVersion→ReqPlanVersionJoin on
PlanVersion = ReqPlanVersion.RecIdMany PMFSeqWrkCtrCapRes records → exactly one ReqPlanVersion record
ReqRoute→ReqRouteJoin on
PlanVersion = ReqRoute.PlanVersion,RefType = WrkCtrCapRefType::PlannedOrder,OprPriority = ReqRoute.OprPriority,OprNum = ReqRoute.OprNum,RefId = ReqRoute.RefIdMany PMFSeqWrkCtrCapRes records → zero or one ReqRoute record
ReqRouteJob→ReqRouteJobJoin on
PlanVersion = ReqRouteJob.PlanVersion,RefType = WrkCtrCapRefType::PlannedOrder,OprPriority = ReqRouteJob.OprPriority,OprNum = ReqRouteJob.OprNum,RefId = ReqRouteJob.ReqPOIdMany PMFSeqWrkCtrCapRes records → zero or one ReqRouteJob record
WrkCtr→WrkCtrTableJoin on
WrkCtrId = WrkCtrTable.WrkCtrId,WrkCtrTable.IsIndividualResource = 1Many PMFSeqWrkCtrCapRes records → exactly one WrkCtrTable record
WrkCtrCapRes→WrkCtrCapResJoin on
RefId = WrkCtrCapRes.RefId,WrkCtrId = WrkCtrCapRes.WrkCtrId,OprNum = WrkCtrCapRes.OprNumMany PMFSeqWrkCtrCapRes records → zero or one WrkCtrCapRes record
WrkCtrCapResOrig→WrkCtrCapResJoin on
OrigCapResRefRecId = WrkCtrCapRes.RecIdMany PMFSeqWrkCtrCapRes records → zero or one WrkCtrCapRes record
WrkCtrProperty→WrkCtrPropertyJoin on
PropertyId = WrkCtrProperty.PropertyIdMany 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.