Item List with Expiry
Indicator rules
Depletion date = as-of date + Total Stock ÷ Monthly Avg, with each item's batches sold earliest-expiry first (rows of the same item and expiry date are combined across storage locations). Rules, in order (days are counted from the as-of date to the expiry date): Expired = expiry date is today or earlier. Safe = expires in 91 days or more. Short Dated = expires in 1–90 days and, based on Monthly Avg, the batch is completely consumed before expiry (time to build stock). Potential Risk = expires in 31–90 days and a portion will not be consumed before expiry. Risk = expires in 1–30 days and a portion will not be consumed before expiry. Potential Risk quantity and Risk quantity = units still unsold on the expiry date at the Monthly Avg rate. Batches of the same item are sold earliest-expiry first. The 30 and 90 day limits can be changed above. Main WH and Retail are the units in those storage groups (Total Stock also includes the other groups). When a storage dropdown is used, all stock columns count only the stock inside it, while the indicator still comes from the whole item batch.