Create a Object Launch Point
Object: ParentObject
Language: jython
Event: Validate Application
Variables:
vSumLine Rel_ChildObject.LINECOST*
vtotalcost TOTALCOST
Script:
Object: ParentObject
Language: jython
Event: Validate Application
Variables:
vSumLine Rel_ChildObject.LINECOST*
vtotalcost TOTALCOST
Script:
if vSumLine is not None:
vtotalcost = sum(vSumLine)
else:
vtotalcost = 0.0
No comments:
Post a Comment