Compiere provides flexible material policy (FIFO/LIFO) at Company/product category/product level
Compiere Material policy will give the control over the movement of goods. With Product Expiry combination, it will not allow sending the expiry goods to the customers.