Tests

← Back to APSync Main

Describe an order and see what APSync does with it. Nobody has to write a test first. Every run uses the same invented customer and real items from the product list. Recorded is instant and runs APSync's real shipping code. Live really creates the invoice on the test pair. Each step of a result says how much of it was real. See also the shipping scenarios and the glossary.

QuickBooksQuickBooks sandbox C3BC (654)test tier
HubSpotHubSpot "AP Test" portal (51321043)test tier
Live runs write to this pair only: HubSpot "AP Test" portal (51321043) and this QuickBooks company. Recorded runs write nowhere.

1. Describe the order

The order

ItemQty

What is short on the shelf

ItemOn hand

Everything not listed is plentiful.

Shipping

2. How to run it

Settings that change the result

These decide what ships and what waits. They are switched on the Feature Flags page, under "Shipping". A live run uses whatever the deployed app has switched on at the time; the Recorded runner reads them from this app. Defaults are the conservative choice: whole orders, complete kits, complete breakouts; partial shipping is opt-in. The one rule no switch changes: a bundle never ships incomplete.

  • Release complete kits shipping_release_complete_bundles is off. Off: While any component of a kit is short, every kit on the line waits. (20 kits ordered, 8 flash drives on the shelf: all 20 wait.) On: The kits the shelf can make go out now and the rest wait as whole kits. (8 kits go out, 12 kits wait, every component back-ordered by kit count.)
  • Hold the whole order when anything is short shipping_hold_order_if_anything_short is on. Off: Lines that can go, go now; the short lines follow when stock arrives (MOM's invoice A, B, C). This allows partial shipments. On: If anything on the order is back-ordered, nothing on that order ships until all of it can. The order is taken and its stock reserved; it waits whole.
  • Ship an incomplete breakout (Jump-Start) shipping_ship_incomplete_breakouts is off. Off: A breakout waits until every stocked piece of it is committed; then all of it goes together. On: Pieces of a breakout that are ready go now and the rest follow. This was the accidental behaviour before 2026-09-18, kept only as an explicit choice.
  • Print all packing slips in one PDF shipping_one_pdf_per_run is off. Off: Each invoice's packing slip is its own PDF, linked in the progress log as it is produced. On: When a batch finishes on the Inventory page, its packing slips are also offered as one PDF, one slip per page, in the order they shipped. The per-invoice files still exist.
  • Shipping Methods on the invoice shipping_methods is on. Off: The method dropdown is ignored. Freight is the flat rule: 10% of merchandise, never less than $10.95; service items do not count. On: The chosen method (Cathy's codes) reaches QuickBooks' ShipMethodRef and is named on the Shipping & Handling line.

Recent runs

  • None yet.

The order in plain words