Create shipped and invoiced Order Entry

SOLVED

hi all i need help

i am record a micro fist thing i am entered the data in order entry screen and then press ship all button and then check the check box create invoice and then post the ORDER ENTRY and then i take the code and put it in visual studio and open session everything OK

i am excute my code on TESTcompany its create shipped /invoiced ORDER ENTRY  but when go to another company its didnt create shiped/invoced ORDER ENTRY its just insert order entry not shipped/invoiced  why ??????? plz help