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 descriptionType / EDT / enumMandatoryReferencesIn public entities
VersionNumVersion number of the plan.Integer
PlanVersionNum
YesNone
PlanReferencePoints to the plan reference record, shown as the production flow.Int64
PlanReferenceRefRecId
YesPlanReference.RecIdNone
ValidFromDate and time from which the plan is effective.UtcDateTime
PlanValidFromDateTime
YesNone
ValidToDate and time at which the plan expires.UtcDateTime
PlanValidToDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
StatusStatus of the plan: Draft, Approved or Active.Enum
PlanStatus (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (2)

Relations (1)

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

  • PlanReference → PlanReference

    Join on PlanReference = PlanReference.RecId

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

Email sales@drdynamics.co.uk