Partial Picking list code

Hai to all,

I have 10 quantity in a sales line. Now I want only 5 quanity to be picked in sales Line (ie., partialy picking 5).

Could you suggest me in writing script for it.

Thanks