Skip to main content
Member
June 9, 2025
Solved

FinanceCustomCalculate service

  • June 9, 2025
  • 5 replies
  • 53 views

Is it possible to run a Finance Custom Calculate Business rule using the Assemblies Service Factory “FinanceCustomCalculate” service. I would like to have a button on a Planning dashboard run a data Management sequence that calls a DM step that runs Custom Calulate Business rule that is stored in a Workspace Assemblies.  This is for a v9.0 environment.

Best answer by JackLacava

Yes, of course. 

  1. In your assembly ("MyAssembly") create your custom calc service file (e.g. MyCustomCalc.vb)
  2. In the same assembly, create a Service Factory ("MyFactory"), and make sure it will return an instance of MyCustomCalc in the FinanceCustomCalculate case
  3. Enable the service factory by adding it to the Workspace Assembly Service property of your workspace ("MyAssembly.MyFactory")
  4. create you DM Custom Calculate Step and point it to the service factory 
  5. Add the step to a sequence and trigger it the usual way from the button 

5 replies

Sage
June 10, 2025

Yes, of course. 

  1. In your assembly ("MyAssembly") create your custom calc service file (e.g. MyCustomCalc.vb)
  2. In the same assembly, create a Service Factory ("MyFactory"), and make sure it will return an instance of MyCustomCalc in the FinanceCustomCalculate case
  3. Enable the service factory by adding it to the Workspace Assembly Service property of your workspace ("MyAssembly.MyFactory")
  4. create you DM Custom Calculate Step and point it to the service factory 
  5. Add the step to a sequence and trigger it the usual way from the button 
Contributor
July 29, 2026

Hi Jack

I followed the above steps and I get below error.This error had been posted in the community few time but I dont see any resolution for this yet.Do you have any suggestions/comments to fix this issue?

Error processing Data Management Step 'FIN_Spread_Annual_Plan_Method'. Invalid parameter. Business Rule, Workspace.SOLN_PLAN.WS.

Advisor
August 2, 2026

Hi ​@vmanojrc30 

This is definitely possible to achieve. I am guessing something may be awry in your setup steps.

I would recommend sharing more information e.g screenshots of your actual setup and naming of artifacts, if you are seeking assistance 

Sam