Syntax for calling a Finance Custom Calculate Service
Hello,
I am working in an 8.5 application and want to utilize Finance Custom Calculate services within a dashboard. My service factory is enabled at the Dashboard Maintenance Unit level of detail. I am trying to launch the custom calculate function via a dashboard button.
Does anyone have example syntax for this? I figured OneStream would release documentation externally for this but was unable to locate any. Thanks!
Hi, this is how you can set up your button:
{Workspace.CallCustomFinanceBR_WS.CallCustomFinanceBR_MU.WSMU}{CustomCalculate}{}
In my example, this is how I set up my Service Factory, which returns the Custom Finance BR "FinanceBR":
Case Is = WsAssemblyServiceType.FinanceCustomCalculate
Return New FinanceBR()I chose to reference the service factory on the Workspace Maintenance Unit (WSMU), but you could just as well put it on the Maintenance Unit (MU):
CallCustomFinanceBR_AS.ServiceFactory