Fields

The system fields compose the Microsiga Protheus® Data Dictionary. All and any field of this dictionary can, in a way, be used in the composition of formula.

Example:

The employees' data storing table is SRA - Employee Register.

Fields composing this file are displayed in a screen under a title:

Name
Registration
Salary

However, these fields are codified to identify them within the Data Dictionary.

Therefore, Salary field equals RA_SALARIO, where:

RA_ = corresponds to table SRA, and indicates that this field belongs to table SRA - Employees file
SALARIO = corresponds to field informing employee's salary

Therefore, system understands that RA_SALARIO is the SRA table field including the employee's salary.

In this syntax, the fields must be informed in the formula composition as in the following model:

Type

Result

Operator 1

1st Expression

Operator 2

2nd Expression

Operator 3

Execution

nSalTot

+=

SRA->RA_SALARIO

 

 

.END.

See Also

Data Dictionary