Created by Jerry Wang on Jul 09, 2014
start evaluation:
delegate to evaluator's method:
double click on formula's internal table ARGUMENTS:
we could find three entries which represent the design time rule:
since current evaluation is a IF-ELSE evalation, so first we evaluate the result of IF condition in line 620 ~ 624. If result is true, we go to the first IF branch ( line 628 ) or else the second branch ( line 634 ).
Now try to evaluate whether ZFIRST = 'X'?
This is quite easy as from previous discussion we know that in reference mo_document we could get all the variables' content there.
in our example, ZFIRST is set to false:
since now the IF condition does not fulfill, we go to the ELSE ( the second ) branch of IF statement:
then use a dynamic call to execute the rule:
importing and exporting parameters are specified through eval_args: