Payroll Wage garnishment

Client using Sage 300 version 7.2 US Payroll.  They need to set up a garnishment for an hourly employee where:

1. Gross earnings are entered for the pay period (bi-weekly)

2. Amounts withheld such as USFIT, USSS, USMED are deducted to provide a disposable income $

3. Disposable income is divided by 2

4. Number calculated in #3 is multiplied by .25

5. Same number has $473 subtracted from it

6. The lower of 4 & 5 is multiplied by 2 unless zero then no amount is withheld

Has anyone set up a garnishment like this?  Any suggestions (aside from tell them to do it manually) would be most appreciated!