This page (revision-7) 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
7 26-Nov-2021 10:22 1 KB JMyers to previous
6 26-Nov-2021 10:22 1 KB JMyers to previous | to last
5 26-Nov-2021 10:22 1 KB JMyers to previous | to last
4 26-Nov-2021 10:22 1 KB JMyers to previous | to last
3 26-Nov-2021 10:22 1 KB JMyers to previous | to last
2 26-Nov-2021 10:22 931 bytes JMyers to previous | to last
1 26-Nov-2021 10:22 909 bytes JMyers to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 1 changed 7 lines
PY - Year-to-date PC Value
The pay component value for the entire year may be referenced with the PY Operand Type. The YTD file will be referenced.
This only includes closed pays in history, and does not include the current payrun value of the pay components.
Statement: Let Global variable Reg Hours be equal to year-to-date hours worked PC then exit.
Line CMD OT Operand 1 OPER OT Operand2 OT Operand3 If Goto Else GoTo
00010 LET $G REG HOURS EQ PY 296 99999
99999 EXIT 99999
!!PY - Year-To-Date PC Value
The pay component value for the entire year may be referenced with the PY Operand Type. The YTD file will be referenced.
At line 9 changed 6 lines
Statement: Let Global variable Reg Hours be equal to total year-to-date hours worked (year-to-date plus current pay) then exit.
Line CMD OT Operand 1 OPER OT Operand2 OT Operand3 If Goto Else GoTo
00010 LET V YEAR END EY $S PERIOD-START-DATE 00020
00020 LET V HOURS TO YEAR END PCPL PT 296 V YEAR END 00030
00030 LET $G REG HOURS ADD PY 296 V HOURS TO YEAR END 99999
99999 EXIT 99999
This only includes closed pays in history, and does not include the current pay run value of the pay components.
At line 6 added 21 lines
%%information PY is intended for use for [UPCALC] only or is not for [UACALC].%%
\\
;Statement:Let Global variable Reg Hours be equal to year-to-date hours worked PC then exit.
||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto|| Else GoTo
|00010| LET| $G| REG HOURS| EQ| PY| 296 | | | 99999|
|99999| EXIT| | | | | | | |99999|
;Statement: Let Global variable Reg Hours be equal to total year-to-date hours worked (year-to-date plus current pay) then exit.
||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto|| Else GoTo
|00010| LET| V| YEAR END| EY |$S| PERIOD-START-DATE| | |00020|
|00020| LET| V| HOURS TO YEAR END| PCPL| PT| 296| V| YEAR END| 00030 |
|00030| LET| $G| REG HOURS| ADD| PY| 296| V| HOURS TO YEAR END| 99999|
|99999| EXIT| | | | | | | |99999 |
----
![Notes|Edit:Internal.PY_PAY_COMPONENT]
[{InsertPage page='Internal.PY_PAY_COMPONENT' default='Click to create a new notes page'}]