Business Rule Properties
General
Name
The name of the Business Rule
Type
The type of Business Rule (see below for a detailed description of each Business Rule Type)
Contains Global Functions for Formulas
Set this to True to write a function in a Business Rule and then call the function from Member Formulas or other Business Rules. This is helpful when the same code must be copied to multiple Member Formulas and instead of using the same complicated code, a Public function with two lines of code written in a Business Rule can be called. Only use this setting for Business Rules referenced from Member Formulas because it does incur some overhead when the system needs to compile Member Formulas.
For more details on this feature, see About the Financial Model.
Referenced Assemblies
Enter a list of referenced assembly names separated by semi-colons.
Reference Another Business Rule
To reference another Business Rule, enter BR\ followed by the other Business Rule name.
BR\SharedFunctionsBR
Example:
Dim sharedFinanceBR As New OneStream.BusinessRule.Finance.SharedFinanceFunctions.MainClass
Dim myResult As String = sharedFinanceBR.Test(si, api, args)
For more details on this feature, see Referencing a Business Rule from a Member Formula or Business Rule in About the Financial Model.
Reference a DLL File
DLL files can be stored in the File Share’s Business Rule Assembly Folder, an Application Server Configuration File, or in a common Network Share Folder to which numerous Application Servers can reference. To reference a DLL File, enter XF\ followed by the DLL file name.
XF\ThirdPartyFunctions.dll
Otherwise, use no prefix and enter the full path and file name of any DLL file stored on the application server(s) file system.
Is Encrypted
This will be set to True if the Business Rule has been encrypted or False if it has not been encrypted.
Security
Access
Members of this group will have access to the Business Rule
Maintenance
Members of this group have the authority to maintain the Business Rule
NOTE: Click and begin typing the name of the Security Group in the blank field. As the first few letters are typed, the Groups are filtered making it easier to find and select the desired Group. Once the Group is selected, click CTRL and Double Click. This will enter the correct name into the appropriate field.
Business Rules Editor Overview
The OneStream Business Rule editor is a powerful in-solution screen that provides integrated API context help, syntax editing with intelli-sense, and full outlining capabilities. The actual syntax content and Business Rule structure will be discussed at length in subsequent sections of this document.
The image below explains the major regions and elements of the Business Rule editor.