I hope u have got your solution by now, if not the same can be achieved by accrual fast formula provided if the accrual is grade based
1. The accrual expression must be based on grade
2. The accrual fast formula must be written to handle the peroration if any in the middle of enrollment duration.
Do you have a worked-out example.