Hi
I have a requirement that Prepayment button and open transactions button should be disabled on Purchase order form in case bank document type is Letter of Credit against that purchase order. i have achieved this through coding but there is one validation that i need to work on , the validation is that : The Bank Document type if applied at a later stage during the creation of Purchase order, then in case if the user has already mapped any advance payment through the open transaction button on the settle fastab, the same should be removed manually by selecting the vendor on the Vendor master and unticking the transaction.
How to achieve this validation through coding ? i am not able to figure it out ?
Thanks and regards
Priyanka