← All manuals IM2

Background Job — QuickBooks Vendor & Open-PO Sync

(background process — no screen)
Technical Spec Ver 1 Updated 2026-09-06 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