PlanActivityRelationship::createRelation Method
Creates a PlanActivityRelationship object and the related records in the database.
Syntax
server public static PlanActivityRelationship createRelation(
PlanActivityId _independent,
PlanActivityId _dependent,
ConstraintValue _constraintValue,
UnitOfMeasureRecId _unitOfMeasure)
Run On
Server
Parameters
- _independent
Type: PlanActivityId Extended Data Type
The identificator of the independent PlanActivity object.
- _dependent
Type: PlanActivityId Extended Data Type
The identificator of the dependent PlanActivity object.
- _constraintValue
Type: ConstraintValue Extended Data Type
The constraint value.
- _unitOfMeasure
Type: UnitOfMeasureRecId Extended Data Type
The unit of measure in which the constraint value is stated.
Return Value
Type: PlanActivityRelationship Table
A PlanActivityRelationship record if the object and records were created; otherwise, false.