A pay rule may be inserted for an employee when hired/rehired.  Information defaulted is based on the set up of a DFLT PAYRULE pay category.  See additional information regarding the set up required for the system preference [DFLT PAYRULE|DFLT PAYRULE(System_Preference)].  The custom function is associated with the [WF_EASD] 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|NEWHIRE|EQ|B|TRUE| | |20|99999
|20|IF|DB|P2K_CF_PAYRULE|EQ|B|TRUE| | | 99999 | 99999
|99999|EXIT



----
![Notes|Edit:Internal.P2K_CF_TDRASTESTED] 	
[{InsertPage page='Internal.P2K_CF_TDRASTESTED' default='Click to create a new notes page'}]