The first calls the function containing the generated code, passing the Form object.
If the function returns a “Y” (meaning all edit checks were passed successfully) the
next line is executed, which updates the underlying database table.
Generating the Code
With this design in hand we can now move to generating the code. Once again we
need to think about the general design required. In the sample application, each busi-
ness process step is considered to be a logical set of rules and has program code gen-
erated for it in its entirety. A reasonable approach for the Required Screen Fields rule
type and the business process steps in which it is found is as follows:
䊏
If the generated code already exists, delete it and rebuild the function (or
equivalent ...