Creating Rules Files

You can create rules in a text editor such as Microsoft Notepad. Rules files can be in an ASCII format that supports multibyte character sets (MBCS), or a file encoded with Unicode format, using Little Endian byte ordering. You use Visual Basic Script functions and Financial Management functions in rules files. By default, rules files use the RLE file extension.

You can include all types of Financial Management rules in any order in the rules file. Table 36 shows the basic syntax to define each routine.

Table 36. Rules Routines

Rule RoutineSyntax

Sub Calculate

Sub Calculate()

’Type your Calculation rule here.

End Sub

Sub Translate

Sub Translate()

’Type your Translation rule here.

End Sub

Sub Allocate

Sub Allocate()

’Type your Allocation rule here.

End Sub

Sub Input

Sub Input()

‘Type your Input rule here.

End Sub

Sub NoInput

Sub NoInput()

’Type your NoInput rule here.

End Sub

Sub Consolidate

Sub Consolidate()

’Type your Consolidation rule here.

End Sub

Sub Dynamic

Sub Dynamic()

’Type your Dynamic rule here.

End Sub

Sub Transactions

Sub Transactions()

’Type your Transactions rule here.

End Sub

Sub Equity Pickup

Sub Equity Pick Up()

’Type your Equity Pickup rule here.

End Sub