Validate children against property of parent

Validate children against property of parent

Old forum URL: forums.lhotka.net/forums/t/11547.aspx


shawndewet posted on Wednesday, August 22, 2012

I have a parent with a budget property set to x. This parent can have any number of child detail objects. I need to implement a validation rule on the parent that is valid only when the sum of the budget property of all the children add up the the value of the budget property defined on the parent. What is the best approach to implement this?

JonnyBee replied on Wednesday, August 22, 2012

I´d rather rephrase this into How to valide a parent property when child property is changed.

And that would be done by:

 

 

Copyright (c) Marimer LLC