Table
ReqRoute
Requirement route
Holds the route operations of a requirement, per plan version. Each row has an operation number, priority and scheduled dates and times. It links to the plan version, the net requirement, the route and the operation.
- Table name
ReqRoute- Module
Master planning- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
Req- Primary index
RecId- Replacement key
RefIdx- Key fields
PlanVersion, RefId, OprNum, OprPriority- Model
Foundation
Fields (23)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PlanVersionSystem record ID of the plan version. | Int64RefRecId | Yes | ReqPlanVersion.RecId | None |
RefIdNumber of the requirement the route belongs to, linked to net requirements. | String (20)InventTransRefId | No | None | |
OprNumOperation number. | IntegerOprNum | No | None | |
OprPriorityPriority of the operation: primary or one of nine secondary levels. | EnumRouteOprPriority (enum) | No | None | |
AccErrorAccumulated scrap percentage for the operation. | RealRouteAccErrorPct | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ErrorPctScrap percentage for the operation. | RealRouteErrorPct | No | None | |
FromDateScheduled start date. | DateSchedFromDate | No | None | |
FromTimeScheduled start time. | TimeSchedFromTime | No | None | |
LevelLevel of the route. | IntegerRouteLevel | No | None | |
LinkTypeType of link to the next operation: none, soft or hard. | EnumSchedJobLinkType (enum) | No | None | |
OprIdOperation the row refers to. It points to an operation record. | StringRouteOprId | No | RouteOprTable.OprId | None |
OprNumNextNumber of the next operation. | IntegerOprNumNext | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PMFSequencedYes/No flag. The label suggests it shows whether the operation is sequenced.low confidence | EnumPMFSequencedboolean (enum) | 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 | |
RouteOprRefRecIdSystem record ID of the route operation relation. | Int64RouteOprRefRecId | No | RouteOpr.RecId | None |
RouteRefRecIdSystem record ID of the route. | Int64RouteRefRecId | No | Route.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. | DateSchedToDate | No | None | |
ToTimeScheduled end time. | TimeSchedToTime | No | None |
Indexes (3)
RefIdxReplacement keyPlanVersion,RefId,OprNum,OprPriorityUnique, alternate key.
PlanRefRecIdIdxPlanVersion,RefId,RouteOprRefRecIdNot unique.
PlanLevelIdxPlanVersion,RefId,Level,OprNum,OprPriorityNot unique.
Relations (6)
Each relation joins ReqRoute to another table on the fields shown.
Formula→ReqTransJoin on
ReqTrans.RefType = ReqRefType::PmfPlannedProdBatch,RefId = ReqTrans.RefId,PlanVersion = ReqTrans.PlanVersionMany ReqRoute records → zero or one ReqTrans record
ReqPlanVersion→ReqPlanVersionJoin on
PlanVersion = ReqPlanVersion.RecIdMany ReqRoute records → exactly one ReqPlanVersion record
ReqTrans→ReqTransJoin on
ReqTrans.RefType = ReqRefType::BOMPlannedOrder,RefId = ReqTrans.RefId,PlanVersion = ReqTrans.PlanVersionMany ReqRoute records → zero or one ReqTrans record
Route→RouteJoin on
RouteRefRecId = Route.RecIdMany ReqRoute records → zero or one Route record
RouteOpr→RouteOprJoin on
RouteOprRefRecId = RouteOpr.RecIdMany ReqRoute records → zero or one RouteOpr record
RouteOprTable→RouteOprTableJoin on
OprId = RouteOprTable.OprIdMany ReqRoute records → zero or one RouteOprTable record
Get this data out
No public entity reads from ReqRoute. Its data is only reachable through the application, a custom entity or a database export.
Need help with ReqRoute in a report, an integration or a migration? Talk to Dr Dynamics.