Broken Rules Question


Author
Message
Tim Dol
Tim Dol
StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
I have a business object that has a few standard broken rules. I then programatically add some extra broken rules depending on the form.  This works fine however with child forms the broken rules remain intact on the calling form so I need to remove the additional rules after I'm done with my child form.

Is there a way to restore the default broken rules or do I have to manually remove them from the broken rules collection.

Thanks

Tim

Tim Dol
Tim Dol
StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)StrataFrame User (454 reputation)
Group: Forum Members
Posts: 340, Visits: 1.4K
Sorry... I meant required fields and not broken rules...It's been a long day.

Tim

StrataFrame Team
S
StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)StrataFrame Developer (4.7K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
There isn't anything that will revert to the original set of broken rules, but you could create a new business object of that type, clear the required fields from the BO you're working with and then copy over the rules from the new, temp business object.  Then, just dispose of that temp business object and your other will be back to its original required fields.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search