What is the segregate near expiry process?

Suggestions:
Segregate near expiry process option is used for “near expiry” or “expired” materials transfer to “expiry” or near expiry location.
Near expiry will be calculated as today’s data and minimum shelf life on item master, All material within the near expiry period will be transfered to an “near expiry location” and Expired batches will be transferred to expiry location.
If select “Near Expiry” then system should check to date + item master minimum shelf life and what ever materials will be coming in this period for expiry, that material will be transfered to “NEXP” location.
If select “Expiry”, system will transfer expired materials to “EXPR” location after processing the data.