Deployment walkthroughAgriculture & wholesale
From the staff order to the QuickBooks invoice.
A production staff workflow built around real wholesale rules, connecting orders to QuickBooks invoices and refined with the operator using it.
In briefTL;DR · 3 min read
- I visited the farm, photographed its working sheets and asked the team to explain the shorthand and exceptions.
- The build keeps customer accounts, delivery stops, orders and accounting records distinct, and preserves accepted orders when a copy fails.
- The staff order-to-QuickBooks workflow is now in production and used by the operator. Customer self-service onboarding is a separate next stage.
Evidence checkpoint: Staff production workflow: October 2026 · account updated November 2
My part. I led field discovery, brought the operating rules into the build, connected staff orders to QuickBooks and worked through corrections with the people running the farm.
AI assistance. AI tools helped analyse the records, implement the data model and code, and prepare the tests.
- 1
Field knowledge
Orders, standing quantities and delivery exceptions
- 2
Staff order
Mapped accounts, products, quantities and prices
- 3
QuickBooks invoice
Saved invoice linkage and a staff review path
The clipboard was part of the system
On a visit in August, I photographed the weekly order sheets while the team explained them. Colours marked delivery days. Other rows were pickups. Some customers had standing quantities and only called when something changed.
I brought the photographs and recording back into the build and compared the paper entries with the customer export from QuickBooks. A similar name was a starting point for a question, not enough to merge two accounts or promise a delivery day.
I went back with the unresolved questions. The useful work was learning what each mark meant to the people preparing orders, driving the routes and checking the bills.
What a form would have missed
Three invoices can belong to one delivery stop. A billing account is not the same thing as a location. Grouping everything by address would make the screen simpler and the books wrong.
An empty order row does not necessarily mean nothing is due. Some customers have standing quantities and call only to cancel. The system needs to distinguish an expected order, a prepared occurrence and an accepted order. Skipping one week must not silently cancel the next.
A damaged return and a posted credit are different events. So are receiving cash and reconciling an invoice. We kept separate records and review steps for them.
Technical lens
The data model separates bill-to accounts from service locations and prepared standing occurrences from accepted orders. Completed shipment records require picked-lot quantities to match shipped quantities, with actual source references. Accounting posting remains explicit.
The order is saved. The email failed.
If an order is accepted but its spreadsheet copy or email fails, the owner should not be told to enter the order again.
The implementation keeps the accepted order as the authoritative record. Each operational copy has its own status. A retry targets the unfinished copy; it does not resend one already marked sent. Uncertain or old email attempts can be held for review rather than blindly repeated.
Technical lens
Supabase holds accepted-order state. Google Sheets provides an operating view; email provides a notification. Copy-attempt claims and separate statuses govern retries. This is not a transaction spanning all three systems, and a spreadsheet view can be stale.
The next visit changed my picture
In the September follow-up, I was describing an order as becoming real when it reached QuickBooks. The owner corrected that picture: a Monday load could already be packed on Friday, before its invoice was prepared. I needed to understand the timing of the physical work as well as the software.
We also walked through a holiday Monday moving to the preceding Saturday. I wanted that to be one dated change, without changing future Mondays or losing orders that were already accepted.
That follow-through continued into the production staff workflow: orders now connect to QuickBooks invoices. Product mapping, price checks and account setup needed the same attention as the screen itself.
Technical lens
The holiday implementation distinguishes the usual service week from the actual delivery date across validation, customer eligibility and both weekly views. A September 10 rerun passed 17 schedule and order-copy tests with 55 assertions. Those are dated local fixture results. Production invoice evidence comes from the later staff rollout.
From trial to everyday staff work
The August operating-month trial was an earlier checkpoint. By October, the staff order-to-invoice connection was running in production, with saved links between website orders and QuickBooks invoices.
The operator now uses that staff workflow. I have continued refining the day and week workspace, account and product setup, and the details raised in follow-up visits.
Customer self-service is the next stage. Its onboarding, account experience and email flows still need completion and acceptance before inviting customers into that separate experience.
Evidence at a glance
| Check | Recorded result |
|---|---|
| August 31 operating checkpoint | Operating-month trial behind us, confirmed in the SS26 letter |
| October staff order-to-invoice rollout | Production workflow with saved QuickBooks invoice links; used by the operator |
| Spreadsheet copy fails | Accepted order remains saved |
| Email sent; spreadsheet needs a retry | Only the unfinished copy is retried |
| Seven packs shipped as four plus three | Matching lots pass; incomplete completed records fail |
| Holiday Monday moved to Saturday | September 10 local fixtures pass in both weekly views |
The August trial and September fixture checks are historical checkpoints. The October rollout established production staff order-to-QuickBooks invoicing with saved invoice mappings; the operator uses that workflow. This account does not claim a measured financial uplift or completed customer self-service onboarding. Private customer and accounting records are not displayed.
What to take away
Going back to the farm kept changing the questions I needed the software to answer.
Discuss your workflow