Table
Plan
Plans
Stores versions of a plan. Each row belongs to a plan reference (labelled production flow) and has a version number, a status and a validity period. The status can be Draft, Approved or Active.
- Table name
Plan- Module
Master planning- Table group
Main- Table type
Regular- Data per company
No- Configuration key
LeanManufacturing- Primary index
None- Replacement key
PlanReferenceVersionNumIdx- Key fields
VersionNum, PlanReference, ValidFrom, ValidTo- Model
Foundation
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
VersionNumVersion number of the plan. | IntegerPlanVersionNum | Yes | None | |
PlanReferencePoints to the plan reference record, shown as the production flow. | Int64PlanReferenceRefRecId | Yes | PlanReference.RecId | None |
ValidFromDate and time from which the plan is effective. | UtcDateTimePlanValidFromDateTime | Yes | None | |
ValidToDate and time at which the plan expires. | UtcDateTimePlanValidToDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
StatusStatus of the plan: Draft, Approved or Active. | EnumPlanStatus (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (2)
PlanReferenceIdxNot unique.
PlanReferenceVersionNumIdxReplacement keyVersionNum,PlanReference,ValidFrom,ValidToUnique, alternate key.
Relations (1)
Each relation joins Plan to another table on the fields shown.
PlanReference→PlanReferenceJoin on
PlanReference = PlanReference.RecIdMany Plan records → exactly one PlanReference record
Get this data out
No public entity reads from Plan. Its data is only reachable through the application, a custom entity or a database export.
Need help with Plan in a report, an integration or a migration? Talk to Dr Dynamics.