Forum Discussion
sameburn
OneStream Employee
5 hours agoHi FabioG
I have achieved something similar before. In my use case I setup my Parallel.ForEach in an extensibility rule (where i was looping through datatable rows e.g. my source) and used the BRApi below to call my Finance Rule from the Extensibility rule (I passed in my variables using nameValuePairs dictionary)
BRApi.Finance.Calculate.ExecuteCustomCalculateBusinessRule(si, brName, functionName, nameValuePairs, timeType);
In my case it got more complicated as I was hitting the same data unit > once (so i needed some kind of balancing buffer)
But maybe this helps :)
Sam
Related Content
- 3 years ago
- 3 years ago