i've successfully created a purchase order with EP. made inventory dimensions entry also. now when i try to post this order and click packing slip, my code runs fine and my order in AX through the coding i've done is converted to recieved from open order which is my requirement, but problem is that my page goes on processing ie my page doesn't refresh and packing slip doesn't go enable "false" and i'm not able to invoice it.

Any suggestions..???