Table

PlanReference

Plan references

Holds the named plan references. The key is the plan name. Each one has a description, a plan type (production flow), a legal entity, an operating unit and a default dimension.

Table name
PlanReference
Module
Master planning
Table group
Main
Table type
Regular
Data per company
No
Configuration key
LeanManufacturing
Primary index
None
Replacement key
PlanNameIdx
Key fields
PlanName
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PlanNameName of the plan.String (35)
PlanName
YesNone
ControllingOrganizationPoints to the operating unit that controls the plan.Int64
OMOperatingUnitRefRecId
YesOMOperatingUnit.RecIdNone
DefaultDimensionPoints to the default dimension value set for the plan.Int64
LedgerDefaultDimensionValueSet
NoDimensionAttributeValueSet.RecIdNone
LegalEntityPoints to the legal entity (company) record for the plan.Int64
LegalEntity
YesCompanyInfo.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PlanDescriptionShort description of the plan.String (60)
PlanDescription
YesNone
PlanTypeType of plan. The only value is production flow.Enum
PlanType
PlanTypes (enum)
YesNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • PlanNameIdxReplacement key

    PlanName

    Unique, alternate key.

Relations (3)

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

  • ControllingOrganization → OMOperatingUnit

    Join on ControllingOrganization = OMOperatingUnit.RecId

    Many PlanReference records → exactly one OMOperatingUnit record

  • DefaultDimension → DimensionAttributeValueSet

    Join on DefaultDimension = DimensionAttributeValueSet.RecId

    Many PlanReference records → zero or one DimensionAttributeValueSet record

  • LegalEntity → CompanyInfo

    Join on LegalEntity = CompanyInfo.RecId

    Many PlanReference records → exactly one CompanyInfo record

Get this data out

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

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

Email sales@drdynamics.co.uk