Scripting a button to pull up a separate panel?

Hello, 

I am trying to create a button/link inside of AR Invoice History that pulls up the Sales Order and Quote History window. Basically, something that acts identical to the "Invoices" button at the top right of the screen on Sales order Quote history Inquiry screen (I believe this is a standard button), but reverse. 

I know that I can link to another task inside of MAS with customizer, but this pulls up a blank version of the window. Ideally, I want the new window to have the invoice number already populated with the number from the source window. It seems to me that this could be done with creating a link with a script, but I am unaware of the commands/syntax in order to  pull up and populate a separate task with VBS.

*Basically I want a button on Source panel that links to Destination panel, and then populates Destination panel with a field pulled from Source panel.*

Any help would be greatly appreciated, Thanks!