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

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
5 26-Nov-2021 10:22 1 KB RForbes to previous
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 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 1 changed one line
!!$V - System Variable
$V - System Variable
System Variables are the amounts calculated by the FLSA process ONLY. After the FLSA process is executed the first time it will store several amounts from the process. Any UserCalc indicated on the Group form (IDGR) will then be executed, and has access to these amounts:
FLSA-ADJUSTED-RATE FLSA-OVERTIME-HOURS FLSA-REGULAR-HOURS
FLSA-GROSS-EARNINGS FLSA-PREMIUM-EARNINGS FLSA-REGULAR-RATE
FLSA-LEAVE-HOURS FLSA-PREMIUM-HOURS FLSA-TOTAL-HOURS
FLSA-OTHER-HOURS FLSA-REGULAR-EARNINGS
At line 3 changed one line
System Variables are the amounts calculated by the FLSA process ONLY. After the FLSA process is executed the first time it will store several amounts from the process. Any UserCalc indicated on the Group form ([IDGR]) will then be executed, and has access to these amounts:
Requirement: Employees are only paid FLSA for all time worked over 40 hours only if they worked more than 45 hours, otherwise they just receive their normal salary (no overtime paid). This means that if the employee works for 44 hours they get no additional pay, but if they work for 46 hours they get 6 hours of overtime. FLSA is set up to pay over 40 hours and a UserCalc will determine if there needs to be an adjustment or not.
Statement: I If the hours worked are greater than 40 but less than 45 then let the Adjust FLSA Hours PC 112 be equal to the negative value of the hours over 45.
Line CMD OT Operand 1 OPER OT Operand2 OT Operand3 If Goto Else GoTo
00010 IF $V FLSA-TOTAL-HOURS LT N 40 99999 00020
00200 IF $V FLSA-TOTAL-HOURS GE N 45 99999 00030
00030 LET PC 112 SUB $V FLSA-TOTAL-HOURS N 40 00040
00040 LET PC 112 MLT PC 112 N -1 99999
99999 EXIT 99999
At line 5 removed 19 lines
|FLSA-ADJUSTED-RATE |FLSA-OVERTIME-HOURS| FLSA-REGULAR-HOURS
|FLSA-GROSS-EARNINGS |FLSA-PREMIUM-EARNINGS| FLSA-REGULAR-RATE
|FLSA-LEAVE-HOURS |FLSA-PREMIUM-HOURS| FLSA-TOTAL-HOURS
|FLSA-OTHER-HOURS |FLSA-REGULAR-EARNINGS
;Requirement:Employees are only paid FLSA for all time worked over 40 hours only if they worked more than 45 hours, otherwise they just receive their normal salary (no overtime paid). This means that if the employee works for 44 hours they get no additional pay, but if they work for 46 hours they get 6 hours of overtime. FLSA is set up to pay over 40 hours and a UserCalc will determine if there needs to be an adjustment or not.
;Statement:If the hours worked are greater than 40 but less than 45 then let the Adjust FLSA Hours PC 112 be equal to the negative value of the hours over 45.
||Line||CMD||OT||Operand 1||OPER||OT||Operand2||OT||Operand3||If Goto|| Else GoTo
|00010| IF|$V|FLSA-TOTAL-HOURS|LT|N|40| | |99999| 00020
|00200| IF| $V| FLSA-TOTAL-HOURS| GE| N| 45| | |99999| 00030
|00030| LET| PC| 112| SUB| $V| FLSA-TOTAL-HOURS| N| 40| 00040|
|00040| LET| PC| 112| MLT| PC| 112| N| -1| 99999 |
|99999| EXIT| | | | | | | |99999 |
----
![Notes|Edit:Internal.$V_VARIABLE]
[{InsertPage page='Internal.$V_VARIABLE' default='Click to create a new notes page'}]