Pos awesome batch problem

Hello I have a problem with batch number the pos give me message that no quantity even I have quantity in stock please any one know how to solve ?

Are you using expiration date for the batches or Life in Days on items cause expired items are showed as in stock but the POS prevent to be selled.

I use expiry date but the item is not an expired item …