Skip to content
Weiss Laboratories
All work
In daily useClient work

Price Book Builder

Turns ERP data into the monthly printed wholesale price books, so nobody has to retype prices in InDesign.

Built for
A Northeast US wine and spirits importer-distributor
Runs on
Web, Adobe InDesign
Year
2026
Status
In daily use
3
state editions every month
~84
pages per book
1,200+
items per book

How it works

  1. 1The month's prices are pulled from the ERP
  2. 2Compliance accepts, corrects or rejects each change
  3. 3The book is checked against the ERP before it can be approved
  4. 4A script lays out the pages in InDesign
  5. 5The finished PDF is read back and every price is verified

Every month the graphics team rebuilt three state price books by typing every price into InDesign by hand. Now compliance reviews the data, the pages lay themselves out, and the designers only handle covers, ads and final polish.

What it does

  • A monthly checklist per state, where each price change is accepted, corrected or rejected.
  • Stock and blocking rules that decide which items each book carries.
  • A helper app on the designers' Macs that generates the InDesign pages.
  • A page preview in the browser that uses the same layout code as InDesign.
  • A proof check that reads the finished PDF and compares every price and badge with the approved data.
  • Undo and full history for every decision, and an export of any table to Excel.

How it's built

The hardest part was making one layout engine run in two very different places: inside InDesign's scripting environment and in a web browser. Keeping them identical means the preview is the book.

Item codes are matched to the ERP across vintages and lot letters, and nothing can be approved for print until the book agrees with the ERP.

Built with

  • Next.js
  • React
  • Drizzle
  • PostgreSQL
  • InDesign scripting
  • Azure

Have something that needs building?

Tell us what slows your team down. We'll reply within two working days with questions, or with a plan.