Edit

GetOffBalance (searchExpression, dateOrPeriod [, doBudget])

Result Type: Number

Definition: Returns the sum of the balances of the Offledger records as identified by the searchExpression. The balances are as at the date or period specified. If doBudget is non-zero, the budget figures are used.

Examples:  GetOffBalance ("Name=`Student-Junior`", '1/6/6')

GetOffBalance ("Name=`Student-@`", '1/6/6')

The second example returns the total for all records whose name starts with “Student-”.