Back Forward About Function Alias rules
 

Technical category
  1. About 
  2. New 
  3. Reference 
  4. Generated Output 
  5. History 
  6. More... 

Purpose

A function alias rule has one of two types:

  1. For Java functions: Function alias rules define prompting for a function rule for (non-developer) users who maintain decision rules or create reports. The alias rule provides an optional natural-language description and prompting that supports certain selection lists on decision rule forms.
  2. For SQL expressions: Function alias rules provide compact packaging of complex SQL expressions that are needed in some circumstances when querying the database. PRPC provides a large number of SQL function alias rules the user can select; the user can also create a custom rule if none of those provided is satisfactory. The Calculation Builder provides a guided interface to help users construct SQL functions for use in Report Definition reports.

Use the same New command to create a new rule of either type. Depending on the alias type, different fields appear on the Reference and Generated Output tabs.

 

For Java function aliases

NoteComplete and test the function rule itself before defining a function alias rule that references it.

NoteYou cannot define an alias for a function rule that returns a complex Java type (that is, a type other than a Java.lang.String type or a primitive type such as int).

Where referenced

Java alias function rules are useful for functions that managers or less technical developers may use frequently in report definitions, decision trees, when condition rules, Declare Expression rules, and constraints rules.

SQL alias function rules, defined in the Embed-UserFunction class, support the development of Report Definition rules. When executed, such rules create SQL statement fragments, not Java code fragments.

Category

Alias function rules are instances of the Rule-Alias-Function class. They belong to the Technical category.

Standard rules Atlas — Standard Function Alias rules
Atlas — Standard SQL Function rules

Technical category
Help System home pageHelp Home