Set Maintain batch-wise information and expiry dates for batches to Yes in F11: Features > F2: Inventory Features to enable manufacturing and expiry dates. Set Maintain in Batches, Track Date of Mfg, and Use Expiry Dates to Yes in the Item Allocation screen.