Share via


LeanProdFlowPlanActivityRelation::createRelation Method

Creates a PlanActivityRelationship object and the related records in the database.

Syntax

server public static PlanActivityRelationship createRelation(
    PlanRefRecId _plan, 
    PlanActivityId _independent, 
    PlanActivityId _dependent, 
    ConstraintValue _constraintValue, 
    UnitOfMeasureRecId _unitOfMeasure, 
    PlanCycleTimeRatio _cycleTimeRatio)

Run On

Server

Parameters

Return Value

Type: PlanActivityRelationship Table
A PlanActivityRelationship record if the object and records were created; otherwise, an error is thrown.

See Also

Reference

LeanProdFlowPlanActivityRelation Table