Jaime Daza

Washington, DCOpen to full-time roles

Back to portfolio

Compass Coffee ·

From Warehouse Walks to Morning Order Proposals

How I checked Compass Coffee’s inventory and revised a Python script that proposed too much stock.

When I was the logistics manager at Compass Coffee in 2025, I started each morning by walking the warehouse. I needed to see what we had before I could use NetSuite to decide what to order. Some items showed up as out of stock in the system while we still had them on the shelf. Production runs went unrecorded, some routine counts were missed, and some deliveries had arrived without anyone recording the receipt. Stock also went out for events without a record.

I set up a saved search in NetSuite to flag these false stockouts. The production date gave me a place to start. A recent date pointed me toward a production run that might not have been logged. An older date suggested a count that had been wrong for a while. I corrected counts by hand and worked with the other managers to improve how their teams recorded stock movements. The date helped me decide where to look, and the warehouse walk let me check the count itself.

Then I wrote a Python script that used the last 30 days of sales, current stock, and supplier lead times to propose quantities for each supplier. At first I downloaded the NetSuite reports myself, ran the script, and opened the results in Excel. The first version proposed too much stock. It left out minimum order quantities and treated supplier lead times too simply. A quantity can look sensible in a spreadsheet and still be impractical to order. I revised the calculation until the proposals were stable.

I kept the download manual while I checked the data. Then I scheduled NetSuite to email the reports at night. A scheduled job started an agent that retrieved the attachments from my work email and passed them to the Python script. By the time I logged in the next morning, the proposed orders were ready. The part I had automated was the work of getting from the reports to the proposal.

The team needed time to change its logging habits and trust the proposals. By the end, the first person on the team could start work hours before I arrived. That was a practical sign that the process relied less on my being there in the morning.

I learned to ask two questions whenever an order proposal looks wrong. Does the inventory record match what is on the shelf? Does the calculation reflect how the supplier takes and fills orders? My rule now is to run the work by hand until I can answer both questions. Then I automate the steps I can repeat.