Forum Discussion
We do something similar to what Henning suggests except that the Confirmation Rules are only managed once. We have the confirmation rules in UD8 as dynamic calcs and then there is a cube view which displays the results of the confirmation rules. For the confirmation rules themselves we just read the result of the dynamic calc via a Finance BR. The code for the confirmation rules is the same for every confirmation rule:
Dim CRHelper As New OneStream.BusinessRule.Finance.ConfirmationRules.MainClass
Return CRHelper.main(si, globals, api, args)
The Confirmation Rule name indicates the UD8 member to check and the finance BR picks that up like this:
Dim Rulename As String = args.ConfirmationRuleArgs.Rule.RuleName
And the final piece is that the UD8 member description contains the name of the form where the validation error can be fixed. That is then presented to the user via the Finance BR. It works really well and saves a load of time.
Related Content
- 12 months ago
- 11 months ago
- 11 months ago