Problem with list form

Dear All…

I am facing a problem with list form. IN Sales order when ever user press f5 Sales list form gets loaded . My query is , the same sales list form get s loaded when user click f5 in Export order form the same sales list form get loaded.

the No series for sales order starts with SO-P0001… etc

The No.series for export Order Starts with EO-E0001… etc

Whenever User click f5 in Sales order the no.series associated with Sales order should get sorted Ascending wise and the cursor should point the latest order which has been created (Frist record in sales list form.). And the same whenever User click f5 in Export order form the no.series associated with Export order should get sorted Ascending wise and the cursor should point the latest order which has been created (Frist record in sales list form.). The main point is both the Record related to sales order and the export order is getting reflected in the same sales header and sales line table. Need advice in this…