Forum Discussion
I'm still not sure how you can call it still.
Look for "BRApi.Finance.Calculate.ExecuteCustomCalculateBusinessRule" in the Business Rule Editor.
Maybe this function is/was deprecated, but it would be very useful in cases where you need to run a calculation against custom time periods.
Thanks though!
- ckattookaran3 years agoVIP
I do see that. However, to use that, you still need a DM job for the user to execute it. Or they should have access to run an extender rule (which will lead to opening the business rules page to the user!!!). I cannot think of a way to do it unless you go the route of dashboard buttons and extender rules. When you say a DM job is triggered for data units, how is that being called?
- BrandonG3 years agoNew Contributor II
Right now, the app is just running "Brapi.Utilities.ExecuteDataMgmtSequence", but the DM Task is just a custom calculate that passes the data unit and time periods to the custom calc.
I'm inferring from your replies that "ExecuteCustomCalculateBusinessRule" still executes as a DM Task. (I hadn't actually run it, since I couldn't supply the proper time periods anyways.)
That inference does invalidate the purpose of my question, but it does not actually answer my question. I am still curious about how to use it. 🙂
- ckattookaran3 years agoVIP
No, I was not referring to that. I meant that you need a "UI" for the user to trigger the rule, which has the ExecuteCustomCalculateBusinessRule function, which means you need either a DM job or a dashboard button. Now, I've not used this particular method. Given that there is no option to pass the member filter. I believe that might be a keyword in the name-value pairs that looks for it.
The other part is that there is no mention of the data unit. I'm going to bet that it gets that from the cube pov.
Related Content
- 4 months ago
- 6 months ago
- 10 months ago