BO Error Validation


Author
Message
Ross L. Rooker, Sr.
Ross L. Rooker, Sr.
StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)StrataFrame User (195 reputation)
Group: Forum Members
Posts: 153, Visits: 462
I have a BO that has logic to automatically display broken rules. On the form, in the BO BeforeSave event the code automatically populates several columns and then I need to fire off the check rules on the BO. It appears as though the BO check rules is being fired before the "BeforeSave" event of the BO on the form. Is my assumption correct? If so, how can I check the rules in the BeforeSave event and if an error cancel the SAVE and display the error? Also, this only occurs when I am adding a NEW row to the table. When editing an existing row, the broken rule displays.
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