Last Payment Made
So, you just made the umpteen millionth payment on someone's registration or group of registrations and you go to print the receipt. With all those payments on there, the student doesn't understand the receipt.
Even worse, you can't explain it since it is just too complex. To make things even worse, all the student really needs is a receipt of this last payment they made and the balance they still owe. That's all they want.
I have worked here for five years and I can't recall how many times this situation or ones similar to it have come up. Unfortunately, there just was not any way to restrict the receipt area to only give the last payment made. That is, until now.
By adding just one Justdoit, you can get any of your current receipts to only show the last payment made. The new Justdoit is:
justdoit("do lastpay")
As with any other Justdoit, please exit your report, save it, and then rerun it after adding this field. The Justdoit changes your report data before the report is ran. So you do need to rerun the report to get the new Justdoit to fire.
Also, be wary of any other Justdoit on your report. If it has a "0 as marker" as part of it, that tells Student Manager to quit looking for more Justdoits. The easy fix is to create a new field with your Justdoit with the "0 as marker" and then replace the original one with the lastpay function in it. Since Justdoits are ran in the order they are added to the report, the newest addition is the new one that you copied from the older field.
Hopefully this makes your life easier. Also, this function is only available in Student Manager 7.2.A.012 and later, so get updated!
Until next time,
Matthew Olson
ACEware Systems
Programmer/Technician