!!PR - FLSA Adjustment ;Requirement:Employees are 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, 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| ;Completion:PC 112 must be in the FLSA REG HOURS (or one of the other hours) element. This UserCalc will be placed on the [IDGR] - Group form in the Accounting tab. It will be executed after FLSA is calculated, then Personality will automatically recalculate FLSA taking into account the new value of the element that contains the adjust PC. ---- ![Notes|Edit:Internal.PR_FLSA_SAMPLE_USERCALC] [{InsertPage page='Internal.PR_FLSA_SAMPLE_USERCALC' default='Click to create a new notes page'}]