This form represents every field the fulfillment team will edit or read on an order. Use it to verify every data point from the legacy Skynet dashboard has a home in the new orders / order_assignments schema. Compare against /schema for the full table details.
Core order record + active assignment + related history. One order = one link placement (line item). Fulfillment moves it through the status workflow from new to complete.
sites.site_id.sites by domain.risk_approved.Only relevant when is_managed = true.
The active supplier assignment for this order (is_current = true). Prior assignments stay in the table with is_current = false for history.
supplier_id FK.orders.retail - cost.order_cancellation_reasons.is_current flips to false (it stays in the table as history).Multi-source reason log. Captures why an order was canceled or sent to rework, from all three parties — us, the supplier, the client. One row per reason; an order can have several if multiple parties chime in.
When an order needs a fresh placement — either because the primary assignment failed, or because we want to open it up — we broadcast to every supplier that has the site in their inventory. First to accept wins. One row per supplier-offer.
https://portal/broadcast/{hash} to accept or decline without logging in. Unique per broadcast row, auto-populated on insert via gen_random_bytes.These tables are populated by the system, not edited directly from this form. Shown here so the order view reflects every related data point.