Step 2. Calculation Virtual Field

REP008 - Virtual Fields

In this step, you will define the iiiTaxAmount virtual field to be calculated as 25% of the iiiSalary field:

1.  Select the iiiTaxAmount field in the list of Undefined virtuals.

2.  In the Details tab, enter the following:

Virtual field type

Calculation

Derive value when record is read

ΓΌ Select option for yes

 

 

Factor

Operation

Factor

Result

iiiSalary

/

100

*WORKFLD

*WORKFLD

*

25

iiiTaxAmount

 

     Note:

 

Your Details tab should now look like this:

 Note:

3.  Now that its derivation has been defined, the iiiTaxAmount field will be listed under Read virtuals

4.  Save the file definition.