Your function looks correct but not sure if Vendorno, Vendorname,Startdate,EndateDate and Accountno) carry any values before the runmodal. Can you debug your code and see before the runmodal what are the values of the passed parameters. Also I would not use currpage.update(true), change it to currpage.update(false) because I have seen sometimes it throws off the filters. Also check if the data in table that belongs to vendor state page data is being updated.
↧