Posting partial Shipment of Transfer order

Can anyone provide me the code to partially update the shipment of a transfer order ?

I have created a Transfer order for 10 qty , now I want to ship 4 qty through code ?

Can anyone help me on this?

Can anyone please help me on this

Hi,

This should help - http://mafsarkhan.blogspot.com/2011/04/creating-transfer-order-through-x-code.html