← Main Menu All manuals IM2

Background Job — QuickBooks Vendor & Open-PO Sync

(background process — no screen)
Technical Spec Ver 2 Updated 2026-10-24 Matches the live screen

Background Job — QuickBooks Vendor Sync + QuickBooks Open-PO Sync

Two separate nightly jobs that feed the Purchasing Workbench: the vendor typeahead and the "Qty on PO" supply figure. Both run from the Viktor sandbox (QB tokens live there), push a JSON file to the droplet by scp, and run a loader on the droplet against RO_DSN. Both tables live in the ro database, not im2.

1. Vendor sync

2. Open-PO sync

External calls

QuickBooks Online (read only) and scp/ssh to root@206.81.10.183 using skills/im2_app/deploy/im2_deploy_key. The key is copied to a temp dir and chmod 0600 first — ssh rejects the repo copy (mode 0644).

Failure behaviour / idempotency

Logs to look at

Known limits

Ver 2 · 2026-10-24

The vendor loader now also keeps IM2 vendor_gl_default in step with QB (adds new vendors, renames, flags inactive). See tech/vendor_gl.