I found that the cash payment to a Vendor invoice, has NOT changing the 'ispaid' flag in C_invoice to 'Y' from 'N'.
Though the payment has done in full, still it appears in Open Items.
I can see that 'Paid Amount' > 'grandtotal in RV_openitem (as I paid more than invoice amount) .
I feel this is a BUG. Can anyone look into this.
Thanks
Johnson