Table

PlanActivityRelationship

Plan activity relationships

Links two plan activities, one independent and one dependent. It also points to a plan constraint. The key is the pair of activities.

Table name
PlanActivityRelationship
Module
Master planning
Table group
Main
Table type
Regular
Data per company
No
Configuration key
LeanManufacturing
Primary index
None
Replacement key
RelationshipIdx
Key fields
IndependentPlanActivity, DependentPlanActivity
Model
Foundation

Fields (7)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
IndependentPlanActivityPoints to the activity that the other one depends on.Int64
PlanActivityRefRecId
YesPlanActivity.RecIdNone
DependentPlanActivityPoints to the activity that depends on the other one.Int64
PlanActivityRefRecId
YesPlanActivity.RecIdNone
ConstraintPoints to the plan constraint that applies to this link.Int64
PlanConstraintRefRecid
NoPlanConstraint.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

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

  • DependentPlanActivity → PlanActivity

    Join on DependentPlanActivity = PlanActivity.RecId

    Many PlanActivityRelationship records → exactly one PlanActivity record

  • IndependentPlanActivity → PlanActivity

    Join on IndependentPlanActivity = PlanActivity.RecId

    Many PlanActivityRelationship records → exactly one PlanActivity record

  • PlanConstraint → PlanConstraint

    Join on Constraint = PlanConstraint.RecId

    Many PlanActivityRelationship records → zero or one PlanConstraint record

Get this data out

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

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

Email sales@drdynamics.co.uk