WTDatedEffectivity
WTDatedEffectivity Mapping Table
AP242
Windchill
Data ValidityEffectivityEffectvityAssignment
e_WTDatedEffectivity
Get The relevant wncEntityEffectvityAssignment.assignedTo:=relevant entity
(relevant target entities would be In case of partVersion-WTPartandIn case of Condition-IndependentAssignedExpression)
effTarget = relevant wncEntity.objectId.Ufid
dataValidityEffectivity.startDefinition
Convert datetime from ISO to Windchill format startRange
dataValidityEffectivity.endDefinition
Convert datetime from ISO to Windchill format endRange
ObjectId.localId= wt.effectivity.WTDatedEffectivity:+random number
Part 21 Representation
#1320= DATAVALIDITYEFFECTIVITY($,$,$,$,$,#1323,$,$,DATETIMESTRING
('2018-03-30T00:00:00'));
#1324= EFFECTIVITYASSIGNMENT($,$,$,CLASSSTRING('required'),#1320,#1287,.T.);
Was this helpful?