The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.
Forum Discussion
BrandonG
4 years agoNew Contributor II
Running a Custom Calculation from a Business Rule with a MemberFilter for Time periods
We are trying to do a multi-year planning application. One requirement is the ability to calculate out-months into the next year of the plan.
One solution that would be very useful is the ability to run a custom calculation with a variable set of time periods.
"BRApi.Finance.Calculate.ExecuteCustomCalculateBusinessRule" has an enumerated argument of CustomCalculationTimeType.
One of the enumerations is "MemberFilter", but there is no indication or documentation regarding how to supply the member filter for Time periods to execute for.
Would anyone know how to implement this, or where I could find the details regarding its usage?
Thanks in advance for any information or leads.
16 Replies
- ckattookaranValued Contributor
I'm assuming that you are going to use a DM sequence to execute this. You can pass time in the DM step to run for multiple periods.
- BrandonGNew Contributor II
This is the current solution, but it would be nice to run the Custom Calculation directly. The Data Management Tasks are filling up the Task window when running over many data units.
- JohnMoreheadNew Contributor III
If you want to run a Custom Calc BR from another rule, such as an Extender Rule, you can do so with the following example code:
Related Content
- 8 months ago