To process the student(s) selected for a given academic year and charge term:
1. Calculate the charge amount and update the amount, accounts, and refund element columns on the Fees table.
2. Compare the calculated charge to the original amount on the Fees table.
Create a charge adjustment (DB) if the calculated amount is greater than the original amount on the Fees table.
Create a credit (CR) adjustment if the calculated amount is less than the original amount on the Fees table.
To process the Fees table for the given year and charge term:
3. Read only the records not updated by #1 above.
4. Use the Refund Element columns on the Fees table to look up the Refund table row for the refund calculation.