This page (revision-4) was last changed on 26-Nov-2021 10:22 by JMyers

This page was created on 26-Nov-2021 10:22 by JMyers

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
4 26-Nov-2021 10:22 1 KB JMyers to previous
3 26-Nov-2021 10:22 1 KB JMyers to previous | to last
2 26-Nov-2021 10:22 1 KB JMyers to previous | to last
1 26-Nov-2021 10:22 1 KB JMyers to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 4 removed 4 lines
Local Variables must exist prior to creating a line within a UserCalc that refers to it.
Statement: Let the date variable ‘Probation Date’ be the employee’s hire date plus 3 months. Once the calculation is preformed, the UserCalc then goes to Line 00200.
Line CMD OT Operand 1 OPER OT Operand2 OT Operand3 If Goto Else GoTo
00010 LET V PROBATION DATE BD DB EEM.HIRE_DATE A +3M 00200
At line 9 changed 5 lines
Statement: Issue a message if the garnishment is less than original deduction.
Line CMD OT Operand 1 OPER OT Operand2 OT Operand3 If Goto Else GoTo
00100 IF V GARNISHMENT AMT LT PC 256 01000 99999
01000 MSG A GARNISH. DEDN HAS BEEN REDUCED 99999
99999 E XIT 99999
%%warning Local Variables must exist prior to creating a line within a UserCalc that refers to it.%%
At line 15 changed 2 lines
Local Variables may be created, viewed, modified or deleted in the Variables tab of the Define UserCalcs (IMUC) form. Further local variable details can be found in section – 3.1.1.
UserCalc Local Variables data is stored in the P2K_AM_USER_CALC_VARIABLES table.
;Statement:Let the date variable ‘Probation Date’ be the employee’s hire date plus 3 months. Once the calculation is preformed, the UserCalc then goes to Line 00200.
||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto|| Else GoTo
|00010| LET|V|PROBATION DATE|BD|DB|EEM.HIRE_DATE|A|+3M|00200|
;Statement: Issue a message if the garnishment is less than original deduction.
||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto|| Else GoTo
|00100| IF|V|GARNISHMENT AMT|LT|PC|256| | |01000|99999
|01000| MSG| A| GARNISH. DEDN HAS BEEN REDUCED | | | | | |99999 |
|99999|EXIT| | | | | | | |99999 |
Local Variables may be created, viewed, modified or deleted in the Variables tab of the Define UserCalcs ([IMUC]) form.
UserCalc Local Variables data is stored in the [P2K_AM_USER_CALC_VARIABLES] table.
----
![Notes|Edit:Internal.V_VARIABLE]
[{InsertPage page='Internal.V_VARIABLE' default='Click to create a new notes page'}]