Hi Friends
I am trying to create Bank Payment form , where in the master I am going to put the Payment_amount . in the detail I am going to select the invoice and adjust the amount against master payment_amount. . I want to put the condition that once detail - total payment amount = master-payment amount , system should not allow to create further record or next row. Kindly see the screen shot for more clarity .

sanjay