Previous Topic: Attribute TD NameNext Topic: Attribute Aliases


Attribute Derivation Algorithm

A Derived Attribute does not have permitted values or defaults. Its value is calculated whenever the attribute is read from the database.

Specify the name of the derivation algorithm that calculates the Derived Attribute's values. When you name it, CA Gen establishes an action block and names it the same as your specified algorithm. Specify the formula for a derivation algorithm in its action block. Each time a READ or READ EACH action statement uses a view that contains a Derived Attribute, the Attribute's derivation algorithm is invoked automatically.

Note: Derivation algorithm names must be unique. If you try to use a name already used, an error message appears, and you should change the name. Each derivation algorithm derives only one Attribute's value.