Dear Chris,
In is.pm , in post_invoice function,
When the program try to save payment record in the acc_trans table.
There are two fields , memo and cleared . the program try to save it.
I know the memo,The user add his/her comment but what about the cleared field.