Pre-payment invoice Line

hi

I have applied pre-payment for a purchase order

When i generate pre-payment invoice i am unable to select line item

Its throws an error no item selected quantity =0

is there any process which i have missed please suggest

Thanks in advance

varma