Biotech manufacturing
A production platform and NetSuite that agree with each other
- The situation
- An antibody manufacturer ran production on its own platform and the business on NetSuite. Orders, lots and inventory had to move both ways, in real time, without anyone keying them twice, and the allocation of lot-tracked inventory to orders followed rules the standard commitment logic couldn’t express.
- What I built
- A bidirectional integration: four RESTlets for the real-time traffic, with a Map/Reduce backup-and-retry layer that uses file-based persistence and integration-log audit records, all engineered around NetSuite’s governance limits. Beside it, a lot-level inventory allocation engine, about 4,500 lines of User Event script running a five-step allocation cascade with inventory-detail subrecord commitment. An in-memory mapping cache replaced a hundred-plus per-transaction lookups with a single query. I was the primary technical contact, leading weekly work-track sessions, UAT cycles and the integration sequencing on an engagement of roughly 90 hours a month.
- The hard part
- Governance. A real-time RESTlet gets a fixed budget of work per call, and an allocation cascade over lots and subrecords eats it fast. The design splits the work so the RESTlet does what must be synchronous and hands the rest to Map/Reduce, with the integration log as the ledger that lets a failed step be retried without being repeated.
- Outcome
- Live in production. The same architecture was then extended to stand up a new German subsidiary.