SunSystems Reporting Services Functions
You can use a number of SunSystems Reporting Services in-built
functions as expressions:
- Balance
- Returns the aggregate value of the expression for all rows that are less
than or equal to the value specified as the Sequence
parameter:
BALANCE(Expression, Sequence, Calculation Type, Scope)
- OpeningBalance
- Returns the aggregate value of the expression for all rows that are less
than the value specified as the Sequence parameter. Generally the sequence is set to
a period parameter. The syntax for this function
is:
OPENINGBALANCE(Expression, Sequence, Calculation Type, Scope)
- SSLanguageToLocale
- Converts the SunsSystems5 language code to the user's locale. The syntax
for this function
is:
SSLANGUAGETOLOCALE(Expression)
- SSRound
- The most common rounding method where values are rounded up or down to the nearest number of places before or after the decimal.
- SSRoundUp
- Numbers are rounded up away from zero when reverse_negatives is FALSE, and to a larger number when reverse_negatives
is TRUE. The syntax for this function
is:
SSROUNDUP(numeric_expression, digit, reverse_negatives)
- SSRoundDown
- Numbers are rounded down away from zero when reverse_negatives is
FALSE, and to a smaller number when
reverse_negatives is TRUE. The syntax for this
function
is:
SSROUNDUP(numeric_expression, digit, reverse_negatives)
- SSMRound
- Values are rounded up or down to the nearest multiple of the unit
specified. The syntax for this function
is:
SSMROUND(numeric_expression, multiple_unit, reverse_negatives)
- SSMRoundUp
- Values are rounded up to the nearest multiple of the unit specified.
- SSMRoundDown
- Values are rounded down to the nearest multiple of the unit specified.