Forum Discussion
OSAdmin
5 years agoValued Contributor
Originally posted by Chad Fortman
Here is the solution, given by OneStream Support.
There is a OneStream "calculate type helper" object that you can use to accomplish deriving meaning to the Calc Type codes stored in the database. Here is an example of using the CalcType helper to write Calc Types to the error log: brapi.ErrorLog.LogMessage(si, "Calculation Calc Type: " & CalculationType.Calculate)
BRApi.ErrorLog.LogMessage(si, "Force Calculation Calc Type: " & CalculationType.ForceCalculate) BRApi.ErrorLog.LogMessage(si, "Force Consolidation Calc Type: " & CalculationType.ForceConsolidate) BRApi.ErrorLog.LogMessage(si, "Consolidate With Logging Calc Type: " & CalculationType.ConsolidateWithLogging)
Related Content
- 11 months ago
- 2 years ago