I have a parent record with Master-Detail child records that have a percentage field. In my Skuid editor, I have the parent record up top and a table with the child records below it. I’m need to create a rule where the child record(s) must exist and always sum to 100% when a Boolean field in the parent record is checked. I’ve been trying to do this with SF validation rules, but I’m getting nowhere. Is there some way I can do this on the client side with Skuid, or am I missing something on the validation rules side?
The SF parent validation rule I tried looks something like this if it helps:
IF( AND(
NOT(ISNEW())
, Require100percent__c = TRUE
, SumOComponents__c <> 1.0
)
, TRUE, FALSE)
Thanks for the help. Skuid is looking awesome still.