Skip to main content
Member
September 9, 2026
Solved

Using Extender BR method in Confirmation rule

  • September 9, 2026
  • 1 reply
  • 36 views

Hi Everyone,
I am trying to use one Extender BR method into different confirmation rule, after doing some research did not find anyway. If anyone have any suggestion, please post it.

Best answer by Stefano

You could call a finance BR like below and do all common logic there or from there call the extender

confirmation rule….
….
Dim nsHelper As New OneStream.BusinessRule.Finance.NSReconTEST.MainClass
nsHelper.NSReconTEST(si, api, args)
….

 

finance BR function (set BR ‘Contain global functions for formulas’ property to true) …
...
Public Sub NSReconTEST(si As SessionInfo, api As FinanceRulesApi, args As FinanceRulesArgs)
    Try
    ....
    If ... Then
        args.ConfirmationRuleArgs.Info1 = ...
        args.ConfirmationRuleArgs.DisplayValue = ...
    End If
    Catch ex As Exception
    ErrorHandler.LogWrite(si, New XFException(si, ex))
    End Try
End Sub  
….  

1 reply

StefanoAnswer
Member
September 11, 2026

You could call a finance BR like below and do all common logic there or from there call the extender

confirmation rule….
….
Dim nsHelper As New OneStream.BusinessRule.Finance.NSReconTEST.MainClass
nsHelper.NSReconTEST(si, api, args)
….

 

finance BR function (set BR ‘Contain global functions for formulas’ property to true) …
...
Public Sub NSReconTEST(si As SessionInfo, api As FinanceRulesApi, args As FinanceRulesArgs)
    Try
    ....
    If ... Then
        args.ConfirmationRuleArgs.Info1 = ...
        args.ConfirmationRuleArgs.DisplayValue = ...
    End If
    Catch ex As Exception
    ErrorHandler.LogWrite(si, New XFException(si, ex))
    End Try
End Sub  
….