Not sure if this should work or not but I have a BO with many BO Rules and many of those rules are updating with the SUM and COUNT functions.
These slow the updating of the BO down a lot so I was hoping to pass this off to a Stored Procedure...
But my concern is that we normally need to add a COMMIT TRANSACTION after the Stored Procedure has run.
But of course, in the BO Rules, Aware has not yet written everything back to the DB. So, the SP will be reading values from
the DB but some of these "may" have been updated in an earlier BO Rule. Likewise, subsequent BO Rules will not know the
values in the DB that the SP has updated.
This leads me to think that it is both a bad idea and most likely will not work.
Am I right in this thinking or is there a best practice way of doing it?