How to have a script on the Sales order Header trigger another script on each detail line?

SOLVED

I added a new script for all new orders on the sales order detail to fire on the column post validate of "Item Code"

My concern is for any old quote that will be changed to an order and will not have the script run, how can i add a script on the Header field of Order type when it get's changed from a quote to an order  to trigger the detail script to run on every line. 

I know how do make a script on the header, I just need help on how to make that script trigger the detail script.

thanks