Forum Discussion

jmohl's avatar
jmohl
New Contributor III
17 days ago
Solved

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...
  • Henning's avatar
    16 days ago

    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