An assessment entered in the RAS_ID_TESTED field may be assigned to a candidate using workflow. The custom function 'P2k_CF_TDRASTESTED' is used in the workflow usercalc to create and assign the assessment. The workflow is triggered when the employee and/or candidate registers for a class. Therefore the custom function is associated with the WF_CRSE product. Below is an example of a usercalc.
Line | CMD | Type 1 | Operand 1 | Oper | Type 2 | Operand 2 | Type 3 | Operand 3 | If Goto | Else Goto |
---|---|---|---|---|---|---|---|---|---|---|
10 | IF | CF | INSERTING | EQ | B | TRUE | 20 | 99999 | ||
20 | IF | DB | CRS.RAS_ID_TESTED | GT | N | 0 | 30 | 99999 | ||
30 | IF | CF | P2K_CF_TDRASTESTED | EQ | B | TRUE | 99999 | 99999 | ||
99999 | EXIT |
Notes #
With D52050 regenerates MISC too, need the new version of P2K_PPUPRLU and P2K_PEGEN