Changing Default Batch

NAVISION ATTAIN V3.10 SP6 I need advice on how to open the BOM Item Journal screen but displaying a different batch number using code. The main reason I want to do this is that I want to create a new batch from the sales order screen based on the sales order number and then open the BOM Item Journal screen based on that number. I know that the screen stores the record position and therefore opens up the batch based on the batch name of that record. How can I change this using code? Any help you be much appreciated. Justin Farmiloe