Sick and Vacation Accrual only if the employee works a certain amount of hours a month

SUGGESTED

Hello, I have a costumer with a very particular workers comp decree established by the local DoA which stated that the hourly employee accrues 6hrs/mo Vacation (144hrs max) and Sick (120hrs  max) only if total hours for the pay period is equal 115 or more.  They might accrue or not depending on how may hours they worked during the month.

I was trying to fiddle with the formula for hourly employees on https://support.na.sage.com/selfservice/viewContent.do?externalId=10246&sliceId=1 but still unable to figure out how to add and compare the worked hours for the period.

Any help would be awesome!