Consignment
The prototype was ready to grow. The best decision was to adapt an existing tool.
Compare the two views0 new systemsthe prototype changed the product decision

The story
Consignment records were scattered across customers, sales reps and batches. It was hard to see who still had an outstanding balance and where to follow up.
I started a Python and FastAPI prototype to make the problem visible by showing sent, sold, returned and outstanding stock together.
During the analysis, I found an internal tool that already covered much of the workflow. Building a new system would duplicate that work. I took the alternative to the tool's owner and management. We decided to use the existing solution.
Who still has an outstanding balance?
Compare two views of the same records. The consolidated view brings the highest outstanding balances to the top.
- Store A · batch 12 · 40 sent
- Store C · batch 3 · 25 sent
- Store A · batch 12 · 22 sold
- Store B · batch 7 · 30 sold
- Store B · batch 7 · 30 sent
- Store C · batch 3 · 5 sold
- Store A · batch 12 · 6 returned
- Store C · batch 3 · 4 returned
| Customer | Outstanding | Outstanding value | Sent | Sold | Returned |
|---|---|---|---|---|---|
| Store C | 16 | R$ 720 | 25 | 5 | 4 |
| Store A | 12 | R$ 540 | 40 | 22 | 6 |
| Store B | 0 | settled | 30 | 30 | 0 |
Scroll the table to see units sent, sold and returned.
The eight records and amounts used in this comparison are synthetic.
The obvious route was to build on the prototype.
We chose to adapt the internal tool using what the prototype revealed about the workflow and its requirements.
Under the hoodconstraints, steps and details
What the interface had to handle
- Sent, sold, returned and outstanding stock need to be read together.
- Administrators can see all sales reps. Each rep sees only their own accounts.
- Totals are recalculated from the visible records so the summary always respects the filter.
- Loading, no outstanding stock, no matches and errors all need their own interface states.
The process
- Problem: scattered records.
- Analysis: how the workflow actually runs.
- Requirements: what people need to see.
- Rules: outstanding = sent − sold − returned.
- Prototype: make the problem visible.
- Validation: compare with the existing tool.
- Product decision: adapt the internal tool.
The prototype started as a full-stack application with Python, FastAPI, Jinja2, SQLite, authentication and sessions. ERP integration was explored. The public demo is static HTML, CSS and JavaScript, deployed to GitHub Pages through CI.