About functions

A function provides a quick way to perform an operation on data maintained by Sage HRMS. In most cases, you can use menus, text fields, lists, check boxes, and radio buttons to enter and manipulate data. But sometimes you need to build your own expression to specify the processing you want to perform. You might want to use a function as part of the value in an expression.

Example: The last name field of an employee in the database is Nelson. You can use the UPPER() function to have the last name expressed in all capital letters (NELSON). The expression to select this name is:
UPPER(P_LNAME)="NELSON"

The function may have one or more parameters that are always placed in parentheses following the function name. Each parameter is separated by a comma. The format of a function: NAME(parameter1, parameter2, ...)

The following sections describe some of the common functions.