Inventory & lots

Inventory answers “how much do I have left?”—by lot, expiration, and spend—so refills don’t catch you off guard.

Adding a lot

  1. Go to Drugs → select a drug → Inventory (or use the Inventory section)
  2. Click Add lot
  3. Fill in:
    • Quantity purchased — e.g., 1 vial, 60 capsules, 30 ml
    • Quantity unit — vial, capsule, tablet, ml, etc.
    • Purchase date (optional)
    • Cost (optional) — for spending tracking
    • Supplier and Supplier URL (optional)
    • Expiration date (optional)
    • Lot number (optional) — for recall tracking
  4. Save

FIFO deduction

When you log a dose as taken, StackTrack deducts from your inventory using first-in, first-out (FIFO):

  • Oldest lots (by purchase or expiration) are used first
  • Quantity remaining is updated automatically
  • When a lot reaches zero, it’s marked Depleted

Low-stock alerts

Set a low-stock threshold for each drug. When quantity falls below that level, StackTrack alerts you so you can reorder in time.

Cost tracking

  • Cost per dose — calculated from lot cost and dose size
  • Financial overview — see total spending by drug or over time
  • Cost records are created when you add lots; they link to your dose logs for analysis

Lot status

Lots can be:

  • Active — in use
  • Depleted — quantity is zero
  • Expired — past expiration date (StackTrack can mark these automatically)

Viewing inventory

From the Inventory page or a drug’s detail view, you can see:

  • All lots for that drug
  • Quantity remaining
  • Expiration dates
  • Which lot will be used next (FIFO order)