Change lot no. On POS

Hello guys,

I am wondering if there is a way to change the lot no.  On the pos line other than voiding line then choosing item again.

I tried creating a new pos command where i set the function mode to lotno and i get available lots when i hit the lookup but once i choose any lot no i get the error "lot no is invalid, use anyway"

Any hint?