Working with John on Massachusetts payroll and tax withholding values. This is a new state for us to run through our payroll section of the adilas platform. We were looking over documentation and building a scratch file to play with the calculations and data that is needed. This state requires some other look-ups, as compared to other states. We ended up doing some year to date look-ups and calculations which determine certain logic and calculations for the state withholdings. Sort of a look up this, calculate this, if this, do this, if that, do this. Small gymnastics dealing with look-ups and data. We got into some parallel lists and arrays to help with some of the hardcoded look-ups. This saves us tons of lines of if statements. We just stored the info in certain indexes in the list (array) and then look-up data based on payroll frequencies (weekly, monthly, semi-monthly, daily, annually, etc.). Good little work session.
|