Test cases
Every documented test case in the registry, in one shape, generated from the entries on each build. It is the raw material for a test pack: pick the rows that touch what is changing, and hand them over.
The shape
| Column | Is |
|---|---|
| Case ID | Permanent, and unique across the registry. <entry prefix>-TC-<case> |
| Layer | What is being exercised — the script, the saved search, the storefront, a named stage of a flow |
| Preconditions | The state the system has to be in before the case means anything |
| Input | What arrives, or what happens, against that state |
| Expected output | What the registry says should come back. Not what production was observed doing, unless the entry says so |
| Rule ref | The rule the case exercises, and the defect it pins down where one is named |
What is deliberately not here
No result columns. Assistant verified, dev result, pass or fail — those describe one run of a
pack, not the case. A column in the registry recording the outcome of a run nobody repeats is the
version field over again: it reads as more authority than it has earned within a month. Add them
to the pack when you issue it.
Nothing is inferred. A case whose entry never recorded which rule it exercises shows needs confirming rather than a guess. Where an entry warns that its cases are derived from documentation rather than from a passing run — because the flow has no automated coverage, or because the calculation has not been read — that warning is on the entry, above its table, and it is the first thing to read before trusting a row.
How to read a pack out of this
- Start from the rule, not the entry: find the rule in the search box, then take every case whose Rule ref names it.
- Add the cases for whatever that rule's entry says it
depends_on— a rule reading yesterday's answer fails in ways its own cases will not show. - Check
DEFECTS.mdfor open defects on the same rules. A case that passes against a known defect is testing the defect, not the rule.
210 cases across 10 entries. 63 name no rule and 74 name no layer — neither is inferred here. Every entry has at least one.
Courier Tracking Status Update 22
Open the entry · draft
| Case ID | Layer | Preconditions | Input | Expected output | Rule ref |
|---|---|---|---|---|---|
CT-TC-T1 |
The run groups rows | Row with consignmentNumber empty, Ship Via AU WIDE - Hunter Express |
— | Row is skipped, logged [SKIP] … empty consignment number; no carrier call |
LI-BL-FUL-018 |
CT-TC-T2 |
Carrier matching | Ship Via AU WIDE&nbsp;- Hunter Express (entity-encoded) |
— | Resolves to Hunter Express — entities decoded, whitespace collapsed, lowercased before matching | LI-BL-FUL-019 |
CT-TC-T3 |
Carrier matching | Ship Via METRO - Designer Transport - Standard NEW (not in the exact list) |
— | Resolves to Designer Transport on the name pattern | LI-BL-FUL-019 |
CT-TC-T4 |
Carrier matching | Ship Via AU WIDE - Direct Freight |
— | No carrier; [SKIP]; the ship method appears in the run's unmatched count |
LI-BL-FUL-019 |
CT-TC-T5 |
Current-event selection | Events In transit 20/07/2026 09:00 and Out for delivery 25/07/2026 06:00, run on 21/07/2026 |
— | Picks In transit — the 25/07 event has not happened yet |
LI-BL-FUL-020 |
CT-TC-T6 |
Current-event selection | Events started 17/07/2026 07:22 then delivered 17/07/2026 07:22 |
— | Picks delivered |
LI-BL-FUL-020 |
CT-TC-T7 |
Translation | Event text Onboard for delivery, AusPost |
— | Status id 6 (Out for delivery) from the AusPost exact table |
LI-BL-FUL-021 |
CT-TC-T8 |
Translation | Event text Staged for Delivery, Designer Transport |
— | Status id 5 (Ready for delivery) from Designer's own table — no generic pattern matches this wording |
LI-BL-FUL-021 |
CT-TC-T9 |
Translation | Event text Consignment repacked at hub |
— | No status; row logged [NO-MAP]; nothing written |
LI-BL-FUL-021 |
CT-TC-T10 |
Decision | Carrier throws HTTP 503; NetSuite holds Out for delivery |
— | Kept; reason carrier error; [PRESERVE] line carries the driver error |
LI-BL-FUL-022 |
CT-TC-T11 |
Decision | Carrier answers but the page cannot be parsed; NetSuite holds Out for delivery |
— | Kept; logged [ERROR] … parse failure, not [PRESERVE]; carrier's [ALERT] line raised |
LI-BL-FUL-022 |
CT-TC-T12 |
Decision | NetSuite comment … Updated At 21/04/2026 09:00; carrier's latest event In transit 20/04/2026 14:00 |
— | Kept; reason NS has newer comment |
LI-BL-FUL-023 |
CT-TC-T13 |
Decision | Same as T12, but the carrier's event is Delivered 20/04/2026 and NetSuite's status is not Delivered |
— | Written — terminal progression overrides the newer note | LI-BL-FUL-023 |
CT-TC-T14 |
Decision | Carrier repeats yesterday's event, with today's scrape time in the comment | — | No change — the Updated At tail is stripped before comparison |
LI-BL-FUL-024 |
CT-TC-T15 |
Write payload | Status becomes Delivered; event 21/04/2026 14:32 |
— | custbody_actual_delivery_date = 2026-04-21; status 7; tracking link present |
LI-BL-FUL-024 |
CT-TC-T16 |
Write payload | Status becomes Delivered; event time unparseable |
— | Status 7 written; custbody_actual_delivery_date absent from the payload |
LI-BL-FUL-024 |
CT-TC-T17 |
Write payload | Carrier returns carton count 0 |
— | custbody_courier_carton_received absent — zero is not written |
LI-BL-FUL-024 |
CT-TC-T18 |
Full run | 400 Designer Transport rows at 5/min, 15-minute invocation | — | Rows tracked until the reserve is reached, those written back, the remainder logged [DEFER]; run reports deferredRows > 0 |
LI-BL-FUL-025 |
CT-TC-T19 |
Full run | Hunter Express throws while Air Road is mid-run | — | Air Road completes and writes back; the run logs [ERROR] Hunter Express: carrier run failed |
LI-BL-FUL-025 |
CT-TC-T20 |
Canary | Designer Transport's page markup changes | — | [CANARY-FAIL] Designer Transport … could not parse the carrier's response |
LI-BL-FUL-026 |
CT-TC-T21 |
Canary | AusPost driver, whose health-check consignment is unset | — | [CANARY-SKIP] AusPost | no canary consignment declared on the driver — today's behaviour, and a defect (CT-3). Intended: a real settled AusPost consignment is checked and passes |
LI-BL-FUL-026CT-3 |
CT-TC-T22 |
Decision | NetSuite holds Delivery attempt failed; carrier unreadable |
— | Today: logged [NO-DATA]/[NO-MAP], not counted as preserved (defect CT-2). Intended: [PRESERVE], reason carrier error. Nothing is written either way |
LI-BL-FUL-022CT-2 |
Delay Comms — Stage 2: the delay call request 12
Open the entry · draft
| Case ID | Layer | Preconditions | Input | Expected output | Rule ref |
|---|---|---|---|---|---|
DN-TC-T1 |
Feed and formatting | The feed search returns three rows for one sales order — two different items, and one item repeated with different casing. | One run of the Lambda. | One call request is raised for the order, listing two items. The repeated item appears once. | LI-BL-CMS-006 |
DN-TC-T2 |
Feed and formatting | The feed search returns rows for four different sales orders. | One run of the Lambda. | Four separate call requests, one per order, each naming only its own items. | LI-BL-CMS-006 |
DN-TC-T3 |
Team routing | The order's Kustomer customer carries the type value trade. |
One run of the Lambda. | The conversation is assigned to Trade Enquiries. | LI-BL-CMS-007 |
DN-TC-T4 |
Team routing | The order's Kustomer customer carries no type value, or a value other than trade. |
One run of the Lambda. | The conversation is assigned to Account Management. | LI-BL-CMS-007 |
DN-TC-T5 |
Team routing | The order's Kustomer customer carries trade, but the read of that customer fails. |
One run of the Lambda. | Deployed behaviour is that the conversation is assigned to Account Management and the run reports success. This is defect DN-D5; the intended outcome is Trade Enquiries. | LI-BL-CMS-007 |
DN-TC-T6 |
Kustomer | The customer-resolution service returns no customer id for the order. | One run of the Lambda. | No conversation, no note, no audit log and no line-item write for that order. An error email names the order. Other orders in the same run are unaffected. | LI-BL-CMS-009 |
DN-TC-T7 |
NetSuite write | An order with one delayed line, Delay Comms blank or Stage 1, Expected Ship Date later than Delay Ship Date. | One run of the Lambda that completes every step. | That line's Delay Comms reads Stage 2: Delay Call Scheduled, and its Delay Ship Date now equals the Expected Ship Date that was read. | LI-BL-CMS-008 |
DN-TC-T8 |
NetSuite write | A row whose Line ID matches no line on the sales order — for example a line since removed. | One run of the Lambda. | No line is stamped and the order is saved unchanged, but the run reports the line items as updated. This is defect DN-D1. | LI-BL-CMS-008 |
DN-TC-T9 |
Ordering | An order that reaches the audit-log step, with the user note RESTlet failing. | One run of the Lambda. | Deployed behaviour is that the line items are still stamped Stage 2 and the order carries no user note. This is defect DN-D3. | LI-BL-CMS-009 |
DN-TC-T10 |
Feed and formatting | The feed search returns ten rows, one of which is missing the Product column. | One run of the Lambda. | Deployed behaviour is that no order at all is processed and an error email is sent. This is defect DN-D4. | LI-BL-CMS-005 |
DN-TC-T11 |
Idempotency | An order that already has a Stage 2 conversation raised earlier the same day, with its line still selected by the feed search. | A second run of the Lambda on the same day. | Deployed behaviour is that a second conversation and a second note are raised. This is defect DN-D6. | LI-BL-CMS-008 |
DN-TC-T12 |
Reporting | A run in which every order succeeds at every step. | One run of the Lambda. | One success email listing each order and each step against it. No error email. | LI-BL-CMS-009 |
Life Truck Delivery Date Confirmation 17
Open the entry · active
| Case ID | Layer | Preconditions | Input | Expected output | Rule ref |
|---|---|---|---|---|---|
DC-TC-T1 |
needs confirming | CDC empty, Life truck, date set | Outbound runs | Confirmation SMS sent, CDC := 2 | LI-BL-FUL-005 LI-BL-FUL-007 |
DC-TC-T2 |
needs confirming | CDC = "Manual - Exclude from automation" | Outbound runs | No SMS, no field written | LI-BL-FUL-005 |
DC-TC-T3 |
needs confirming | Three orders, same phone and date, ATL matching | Outbound runs | Exactly one SMS; CDC written on all three | LI-BL-FUL-006 |
DC-TC-T4 |
needs confirming | Two orders, same phone and date, ATL differs | Outbound runs | Two SMS, two conversations | LI-BL-FUL-006 |
DC-TC-T5 |
needs confirming | ATL on, all orders standard courier | Outbound runs | Informational SMS, CDC := 7, no reply expected | LI-BL-FUL-008 |
DC-TC-T6 |
needs confirming | ATL on, one order is two-man | Outbound runs | Normal confirm-or-decline SMS, CDC := 2 | LI-BL-FUL-008 |
DC-TC-T7 |
needs confirming | CDC = 3 | Outbound runs | Reschedule SMS; all five fields cleared | LI-BL-FUL-009 |
DC-TC-T8 |
needs confirming | Open conversation | Reply "Y" | CDC := 1 | LI-BL-FUL-010 LI-BL-FUL-011 |
DC-TC-T9 |
needs confirming | Open conversation | Reply "yes but can we make it earlier" | CDC := 1 — contains-matching wins | LI-BL-FUL-010 |
DC-TC-T10 |
needs confirming | Open conversation | Reply "no" | Up to 3 dates offered, CDC unchanged | LI-BL-FUL-012 |
DC-TC-T11 |
needs confirming | Options already offered | Reply "no" again | CDC := 6, no second list | LI-BL-FUL-010 LI-BL-FUL-014 |
DC-TC-T12 |
needs confirming | Options 1–3 offered | Reply "9" | CDC := 6, nothing booked | LI-BL-FUL-010 LI-BL-FUL-014 |
DC-TC-T13 |
needs confirming | Options 1–3 offered | Reply "2" | Date, ship date, truck, linehaul written; CDC := 1 | LI-BL-FUL-013 |
DC-TC-T14 |
needs confirming | Record has no CBM or address | Reply "no" | No options offered; CDC := 6 | LI-BL-FUL-012 |
DC-TC-T15 |
needs confirming | Closed conversation | Any reply | DynamoDB updated, Kustomer note raised, no NetSuite write | LI-BL-FUL-015 |
DC-TC-T16 |
needs confirming | Reminder already sent today | Reminder runs again | No second SMS | LI-BL-FUL-016 |
DC-TC-T17 |
needs confirming | Date changed 3 times | Escalation sweep runs | Kustomer conversation in Logistics & Fulfilment | LI-BL-FUL-017 |
Lead Time flow 2 — Inventory item lead time, and the Shopify push 14
Open the entry · active
| Case ID | Layer | Preconditions | Input | Expected output | Rule ref |
|---|---|---|---|---|---|
LT2-TC-T1 |
needs confirming | A product with Sydney stock and also a supplier lead time | The flow runs | Rung 1 wins — "2 - 3 days". The supplier rung is never reached | LI-BL-INV-006 |
LT2-TC-T2 |
needs confirming | A product with a computed wait beyond 48 weeks | The flow runs | "Please contact showroom for lead time", not a band | LI-BL-INV-006 |
LT2-TC-T3 |
needs confirming | Our arrival date and the supplier's, five days apart | The flow runs | Ours is used | LI-BL-INV-006 |
LT2-TC-T4 |
needs confirming | Our arrival date and the supplier's, three weeks apart | The flow runs | The earlier is used | LI-BL-INV-006 |
LT2-TC-T5 |
needs confirming | An arrival date sixteen days in the past | The flow runs | Discarded, as though it never existed | LI-BL-INV-006 |
LT2-TC-T6 |
needs confirming | An Ellison Studios drop-ship product | The flow runs | Wording says "our warehouse", not "our partners warehouse" | LI-BL-INV-006 |
LT2-TC-T7 |
needs confirming | An Imported item with bonded stock exceeding the Sydney backorder | The flow runs | The spare drives both the published quantity and the arrival date | LI-BL-INV-011 |
LT2-TC-T8 |
needs confirming | Sydney oversold by more than bonded can cover | The flow runs | Quantities publish as zero. Today the residual is discarded — LT2-D11 says it should be surfaced |
needs confirmingLT2-D11 |
LT2-TC-T9 |
needs confirming | A product where only the arrival date changed | The flow runs | A change to the 1st arrival date updates the item, because the date is written into the arrival-window sentence. A change to only the 2nd arrival triggers nothing (LT2-D15) |
needs confirmingLT2-D15 |
LT2-TC-T10 |
needs confirming | One item with an empty supply type | The flow runs | A blank supply type is processed and gets a real lead time from the rungs supply type does not gate. The whole run stops only if the supply-type column is missing from the search (LT2-D7). Once fixed: that item is skipped and the rest complete |
needs confirmingLT2-D7 |
LT2-TC-T11 |
needs confirming | A product with no Shopify product id | The flow runs | NetSuite updates; the item is dropped before Shopify. Intended | needs confirming |
LT2-TC-T12 |
needs confirming | An In-Store Only product with showroom stock | The flow runs | "Available for in-store purchase in our … showroom" — not a lead time | LI-BL-INV-006 |
LT2-TC-T13 |
needs confirming | A product where nothing changed | The flow runs twice | The second run writes nothing and pushes nothing | LI-BL-INV-006 |
LT2-TC-T14 |
needs confirming | Shopify rejects the metafield write | The flow runs | Nothing detects it. Recording this as a test is the point — there is no assertion to make today | needs confirming |
Lead Time flow 3 — Kit item lead time, rolled up from members 23
Open the entry · active
| Case ID | Layer | Preconditions | Input | Expected output | Rule ref |
|---|---|---|---|---|---|
LT3-TC-T1 |
needs confirming | A kit whose members have different lead times | The flow runs | The kit takes the slowest member's promise | LI-BL-INV-007 |
LT3-TC-T2 |
needs confirming | A kit with members at quantities 3, 0 and 5 | The flow runs | Available quantity is 0 | LI-BL-INV-010 |
LT3-TC-T3 |
needs confirming | A member with a negative quantity | The flow runs | Treated as zero, but its backorder is captured first so bonded can cover it | needs confirming |
LT3-TC-T4 |
needs confirming | A member with a blank quantity | The flow runs | Treated as zero — note this can silently make the kit look unavailable | needs confirming |
LT3-TC-T5 |
needs confirming | One member whose promise is unknown | The flow runs | The whole kit says "please contact showroom" | LI-BL-INV-007 |
LT3-TC-T6 |
needs confirming | One member whose promise is unknown, in the mixed quantity case | The flow runs | Today the unknown is ignored and a date is used anyway — inconsistent with T5, and unresolved | needs confirming |
LT3-TC-T7 |
needs confirming | A kit whose only inbound stock is bonded | The flow runs | A Vietnam date is calculated and written to the kit's bonded receive date — mapped since LT3-D7 was resolved on 2026-09-24 |
LI-BL-INV-012LT3-D7 |
LT3-TC-T8 |
needs confirming | A kit where nothing at all has changed, and whose components hold equal stock | The flow runs twice | Skipped on the second run. Was rewritten before 2026-08-28 | needs confirmingLT3-D1 |
LT3-TC-T8a |
needs confirming | A kit where nothing has changed, but whose components hold uneven stock | The flow runs twice | Today: rewritten and re-pushed anyway (LT3-D8). Once fixed: skipped |
needs confirmingLT3-D8 |
LT3-TC-T9 |
needs confirming | A component updated by flow 2 five minutes ago | The storefront is read | The kit catches up in the same chain: flow 2 starts flow 3 when it finishes, so the kit is at most one flow-3 run behind its component (LT3-D2, resolved 2026-09-21) |
needs confirmingLT3-D2 |
LT3-TC-T10 |
needs confirming | Gold Coast stock changes on a member | The flow runs | The lowest figure across members is written to custitem_qty_available_gc |
needs confirmingLT3-D5 |
LT3-TC-T11 |
needs confirming | A kit's members are changed in NetSuite | The flow runs | The new membership is used — members are re-read every run | needs confirming |
LT3-TC-T12 |
needs confirming | A kit with no Shopify id | The flow runs | NetSuite updates; the kit is dropped before Shopify. Intended | needs confirming |
LT3-TC-T13 |
needs confirming | A kit showing "please contact showroom" | Someone asks which member caused it | Nothing records it — LT3-D6. Diagnosis is by hand |
needs confirmingLT3-D6 |
LT3-TC-T14 |
needs confirming | A kit whose components all allow backorder, on a kit supply type that does not | The flow runs | The checkbox is turned off — gate 2 | LI-BL-INV-013 |
LT3-TC-T15 |
needs confirming | A kit on a permissive supply type with one component that refuses backorder | The flow runs | The checkbox is turned off — gate 1 | LI-BL-INV-013 |
LT3-TC-T16 |
needs confirming | A kit whose scarcest component holds second-warehouse stock, on In-Store Only | The flow runs | Allowed — physical stock overrides the supply type | LI-BL-INV-013 |
LT3-TC-T17 |
needs confirming | A McMullin & Co. kit whose slowest component's supplier date is 200 days out | The flow runs | Not allowed. The latest component date is used, not the earliest | LI-BL-INV-013 |
LT3-TC-T18 |
needs confirming | A kit refused backorder by gate 2 that currently shows an arrival date | The flow runs | The date is unchanged — the arrival-date gate keeps the looser gate-1 answer | LI-BL-INV-012 LI-BL-INV-013 |
LT3-TC-T19 |
Script | An Ellison Studios kit whose components hold supplier stock 3 / 2 / 0 and supplier on order 4 / 4 / 62 — 397407 Lull King Bed (Byron Biscuit), 2026-10-23 |
The flow runs | 0 available, 4 on order. The on-order message stays the dated one ("New stock arrives in our warehouse from 31/10/2026 - 07/11/2026."). Published 2 available before V3.7 | LI-BL-INV-010LT3-D18 |
LT3-TC-T20 |
Script | A kit whose three components each have 17 on supplier order, all dated 31/10/2026 — 379391 Lull Queen Storage Bed (Sandon Burnt Butter), 2026-10-23 |
The flow runs | The kit's supplier on order is 17, its supplier date 31/10/2026, its supplier on hand 0. Published 0 and blank before V3.8 | LI-BL-INV-010LT3-D19 |
LT3-TC-T21 |
Script | A kit whose components are on supplier order with different dates — 405513 Lull Queen Storage Bed (Malibu Piccolo), boxes due 31/10 and 25/11/2026, 2026-10-23 |
The flow runs | The kit's supplier on order is 15 and its supplier date 25/11/2026 — the slowest box | LI-BL-INV-010LT3-D19 |
LT3-TC-T22 |
Script | A kit where one component has nothing on supplier order — 405512 Lull Queen Storage Bed (Malibu Cognac), 2026-10-23 |
The flow runs | The kit's supplier on order is 0 and its supplier date blank, even though other components carry a date | LI-BL-INV-010LT3-D19 |
Lead Time flow 1 — First and second arrival into Sydney 12
Open the entry · active
| Case ID | Layer | Preconditions | Input | Expected output | Rule ref |
|---|---|---|---|---|---|
LT1-TC-F1-01 |
Script | One Sydney purchase order, nothing allocated | remaining 40, allocated 0, 4/11 | First arrival 4/11 qty 40 | LI-BL-INV-005 |
LT1-TC-F1-02 |
Script | One Sydney purchase order, partly allocated | remaining 8, allocated 5 | First arrival qty 3 | LI-BL-INV-005 |
LT1-TC-F1-03 |
Script | Bonded purchase order only | Vietnam date 30/9 | First arrival 4/11 | LI-BL-INV-005 |
LT1-TC-F1-04 |
Script | Transfer order and bonded order, same date | both 4/11 | Two entries, transfer order first | LI-BL-INV-014 |
LT1-TC-F1-05 |
Script | Two Sydney orders, same date, different quantities | 15 and 10 on 3/11 | One entry, qty 25, stage from the 15 | LI-BL-INV-014 |
LT1-TC-F1-06 |
Script | Source 20 days overdue plus a later one | — | The overdue one is dropped; the later takes the slot | LI-BL-INV-014 |
LT1-TC-F1-07 |
Script | Every line fully allocated | remaining 34, allocated 34 | Both arrivals blank | LI-BL-INV-005 |
LT1-TC-F1-08 |
Script | Bonded line fully allocated to a transfer order | — | Excluded from the arrivals, included in the raw bonded date | LI-BL-INV-005 |
LT1-TC-F1-09 |
Integration | Nothing has moved | A product matching on all six | Not written; counted as ignored | LI-BL-INV-014 |
LT1-TC-F1-10 |
Integration | A source has disappeared | Second arrival no longer exists | Blank written, field cleared | LI-BL-INV-014 |
LT1-TC-F1-11 |
Integration | A column removed from the search | — | Flow stops with a fatal error; nothing written | LI-BL-INV-005 |
LT1-TC-F1-12 |
Regression | Overflow transfer order into Sydney | — | Must not count as incoming — currently fails, LT1-D3 |
LI-BL-INV-005LT1-D3 |
Lead Time flow 4 — Original Lead Time on the sales order line 6
Open the entry · draft
| Case ID | Layer | Preconditions | Input | Expected output | Rule ref |
|---|---|---|---|---|---|
OL-TC-T1 |
needs confirming | A sales order line with no Original Lead Time | The flow runs | The line is stamped with a value | LI-BL-ORD-001 |
OL-TC-T2 |
needs confirming | A sales order line that already carries an Original Lead Time | The flow runs | Unknown — this is open question 2. The test exists to force the answer: re-read the line and record whether the value moved | needs confirming |
OL-TC-T3 |
needs confirming | The same order line, read from search 5948 | The search is run | Today three rows come back for S319344 line 1. Expected: one |
needs confirming |
OL-TC-T4 |
needs confirming | An order for a kit item | The flow runs | Unknown — kits carry lead times differently. Open question 5 | needs confirming |
OL-TC-T5 |
needs confirming | An order placed while flow 1 or flow 2 had failed | The flow runs | The stamp records whatever the item's lead time said at that moment — including if it was wrong | needs confirming |
OL-TC-T6 |
needs confirming | The value calculated for a line | The line is compared to what the customer saw at checkout | They match. This is the test that actually matters, and it cannot be written until the calculation is documented | LI-BL-ORD-001 |
Shipping Automation — Module 5: Courier Approval & Set Ship Date 36
Open the entry · active
| Case ID | Layer | Preconditions | Input | Expected output | Rule ref |
|---|---|---|---|---|---|
SA-TC-E1 |
Entry & eligibility (saved-search gating) | SO balance owing > 0 | — | Not selected by the saved search — never processed | needs confirming |
SA-TC-E2 |
Entry & eligibility (saved-search gating) | "Hold Order" = true | — | Excluded — not processed | needs confirming |
SA-TC-E3 |
Entry & eligibility (saved-search gating) | "Courier Approval" already true, or order/items closed | — | Excluded — not reprocessed | needs confirming |
SA-TC-E4 |
Entry & eligibility (saved-search gating) | All items have a Drop Ship PO | — | Excluded (drop-ship items dropped; empty order skipped) | needs confirming |
SA-TC-E5 |
Entry & eligibility (saved-search gating) | Ship Date on/before today with a reason for service change present | — | Excluded — not re-dated | needs confirming |
SA-TC-F1 |
Flow routing (ship complete & grouping) | Ship Complete = No, not linked to another SO | — | Flow 1 (nswo, 7132) → proceeds to courier selection | needs confirming |
SA-TC-F2 |
Flow routing (ship complete & grouping) | Ship Complete = No, ships together with another SO | — | Flagged Ship Complete = Yes → picked up by Flow 2 next run | needs confirming |
SA-TC-F3 |
Flow routing (ship complete & grouping) | Ship Complete = Yes, every item across the group committed | — | Flow 2 (swo, 7136) → proceeds; group updated together | needs confirming |
SA-TC-F4 |
Flow routing (ship complete & grouping) | Ship Complete = Yes, one item 0/1 committed (e.g. S301287 + S306157) | — | Waiting — whole group skipped this run, no NetSuite update; retries next run | needs confirming |
SA-TC-F5 |
Flow routing (ship complete & grouping) | Merged group where a related SO isn't in the search results | — | Related SO fetched (SuiteQL); group assembled; maxCxRequestedDate & total CBM across all items |
needs confirming |
SA-TC-C1 |
Courier selection by service level | Full Service, Life postcode valid (e.g. S308550)Reason code 15 | — | Courier = Life Full; approved | needs confirming |
SA-TC-C2 |
Courier selection by service level | Full Service, Life invalid, DT validReason code 15 | — | Courier = DT Full; approved | needs confirming |
SA-TC-C3 |
Courier selection by service level | 2 Man, Life items, Life postcode valid (e.g. S315316)Reason code 15 | — | Courier = Life 2 Man; approved | needs confirming |
SA-TC-C4 |
Courier selection by service level | 2 Man, Life invalidReason code 15 | — | Falls through in order: DT 2 Man → Pedemont → TT | needs confirming |
SA-TC-C5 |
Courier selection by service level | Standard, ≥1 Life item, Life postcode validReason code 15 | — | Ship Via → Life Standard; approved | needs confirming |
SA-TC-C6 |
Courier selection by service level | Standard, Life invalid, DT ATL validReason code 15 | — | Ship Via → DT ATL; approved | needs confirming |
SA-TC-C7 |
Courier selection by service level | Standard, all items AusPostReason code 15 | — | Ship Via → AusPost; approved | needs confirming |
SA-TC-C8 |
Courier selection by service level | Standard, all / ≥1 Standard (non-AusPost, non-Life)Reason code 15 | — | Ship Via → Allied; approved | needs confirming |
SA-TC-C9 |
Courier selection by service level | Paid Standard, but ≥1 item needs 2 ManReason code 21 | — | Upgraded to Two Man hierarchy; approved as premium-item upgrade | needs confirming |
SA-TC-P1 |
Postcode validation & front-end fallback | No courier covers the postcode; front-end pick is a real courierReason code 14 | — | Approve the front-end rate-card courier | needs confirming |
SA-TC-P2 |
Postcode validation & front-end fallback | No courier covers the postcode; front-end pick = TBCReason code 5 | — | Disapprove — postcode not covered | needs confirming |
SA-TC-P3 |
Postcode validation & front-end fallback | TT courier (no postcode CSV) | — | Its postcode check always fails → next step | needs confirming |
SA-TC-S1 |
Scheduling, CBM & buffer | Life truck, CBM fits, no CX date (e.g. S308550, Syd R4) | — | First available Syd R4 truck day on/after the 3-day buffer (Fri 7 Aug 2026 in sample data) | needs confirming |
SA-TC-S2 |
Scheduling, CBM & buffer | Life truck, order CBM exceeds remaining capacity that day | — | Skips that day → next available date that fits | needs confirming |
SA-TC-S3 |
Scheduling, CBM & buffer | No available date fits | — | Order ignored + error email raised | needs confirming |
SA-TC-S4 |
Scheduling, CBM & buffer | CX requested date later than the buffer (e.g. S315316, CX 30/10) | — | First truck day on/after the CX requested date | needs confirming |
SA-TC-S5 |
Scheduling, CBM & buffer | Life truck with a weekend day marked available | — | Buffer counts that weekend day; otherwise weekends excluded | needs confirming |
SA-TC-S6 |
Scheduling, CBM & buffer | Two trucks/dates both qualify | — | Lower-CBM truck chosen first | needs confirming |
SA-TC-L1 |
Linehaul (Life couriers) | Life courier, ship state NSW or ACT | — | Ship Date = Scheduled Delivery Date (local, same day) | needs confirming |
SA-TC-L2 |
Linehaul (Life couriers) | Life courier, QLD (e.g. S310492 + S310562, Bris R3) | — | Deliver Tue 18 Aug; Ship Date = Tue 11 Aug; Route SYD → BRIS; applied to both linked SOs | needs confirming |
SA-TC-L3 |
Linehaul (Life couriers) | Life courier, VIC | — | Ship Date = Thursday before delivery; Route SYD → MEL | needs confirming |
SA-TC-L4 |
Linehaul (Life couriers) | Life courier, state not NSW/VIC/QLD (WA/SA/TAS) | — | Rejected — no partial update | needs confirming |
SA-TC-X1 |
Edge cases & resilience | 2 Man order where every committed item is Standard_Auspost | — | Sent to manual review (not auto-processed) | needs confirming |
SA-TC-X2 |
Edge cases & resilience | Any approval/disapproval | — | Correct RFSC reason code written (15 / 21 / 14 / 5) — confirm against config | needs confirming |
SA-TC-X3 |
Edge cases & resilience | Run approaches the ~14-min Lambda limit | — | Self-reinvokes async (retryAttempt+1, max 3); remaining orders processed next invocation; no duplicate updates | needs confirming |
SA-TC-X4 |
Edge cases & resilience | Courier Schedule service unavailable | — | Falls back to cached schedule; if none, terminates gracefully with an error email (no bad dates written) | needs confirming |
Supply Chain — Item Stage: the message on every open order line 18
Open the entry · draft
| Case ID | Layer | Preconditions | Input | Expected output | Rule ref |
|---|---|---|---|---|---|
IS-TC-T1 |
needs confirming | Line closed, 5 committed, reserved 5 | The run executes | Message is Cancelled; no lookup performed |
LI-BL-CMS-001 |
IS-TC-T2 |
needs confirming | Ordered 3, fulfilled 3 | The run executes | Message is Item shipped |
LI-BL-CMS-001 |
IS-TC-T3 |
needs confirming | Ordered 3, committed 3, fulfilled 0 | The run executes | Message is Ready to be shipped; no lookup performed |
LI-BL-CMS-001 |
IS-TC-T4 |
needs confirming | Ordered 4, fulfilled 1, reserved 0, brand Weave |
The run executes | Message is Remaining items incoming from our Weave partner |
LI-BL-CMS-001 |
IS-TC-T5 |
needs confirming | Ordered 2, reserved 0, drop ship, brand Kave Home |
The run executes | Message is Item is on order with Kave Home/ our partner |
LI-BL-CMS-001 |
IS-TC-T6 |
needs confirming | Ordered 2, reserved 0, not drop ship, imported | The run executes | Message is Item is on order with Life Interiors |
LI-BL-CMS-001 |
IS-TC-T7 |
needs confirming | Reserved 36, committed 0, ship date 4/11/2026; candidate PO landing 4/11/2026, on order 37, allocated 36, stage 22 | The run executes | PO accepted; message is On its way to our warehouse; Allocated PO# written |
LI-BL-CMS-002 LI-BL-CMS-003 |
IS-TC-T8 |
needs confirming | Same as T7 but the candidate's landing date is 5/11/2026 | The run executes | PO rejected; message is Please contact us for more details |
LI-BL-CMS-002 |
IS-TC-T9 |
needs confirming | Same as T7 but the candidate's allocated demand is 20 | The run executes | PO rejected on quantity; message is Please contact us for more details |
LI-BL-CMS-002 |
IS-TC-T10 |
needs confirming | Two candidates, both acceptable, landing dates identical | The run executes | The first returned is written; the second never evaluated | LI-BL-CMS-002 |
IS-TC-T11 |
needs confirming | Reserved 5, PO stage 3, delay comms Stage 1: Delay Email Sent |
The run executes | Message is Delayed - Item is in transit to warehouse |
LI-BL-CMS-003 |
IS-TC-T12 |
needs confirming | Reserved 5, PO stage 3, delay comms blank | The run executes | Message is On its way to our warehouse — not Delayed…, regardless of how overdue the line is |
LI-BL-CMS-003 |
IS-TC-T13 |
needs confirming | Ordered 10, fulfilled 4, reserved 6, PO stage 2 | The run executes | Message is Partially Shipped - Remaining item is in production |
LI-BL-CMS-003 |
IS-TC-T14 |
needs confirming | Reserved 5, PO stage 1 (Working on Buy, inactive) | The run executes | Message unchanged from whatever the line already said; nothing blanked | LI-BL-CMS-003 |
IS-TC-T15 |
needs confirming | Message unchanged, drop-ship date - None - → blank, PO unchanged |
The run executes | Nothing written to NetSuite for that line | LI-BL-CMS-004 |
IS-TC-T16 |
needs confirming | Line drop-ship date 8/12/2025, new value 08/12/2025, message unchanged |
The run executes | Nothing written — the two normalise to the same day | LI-BL-CMS-004 |
IS-TC-T17 |
needs confirming | Message unchanged, new drop-ship date blank, existing date 4/11/2026 |
The run executes | The existing date is left in place, not cleared | LI-BL-CMS-004 |
IS-TC-T18 |
needs confirming | Reserved 5, brand blank, nothing reserved path | The run executes | Today: Item is on order with - None -/ our partner. Intended: the brand, or wording that omits it |
LI-BL-CMS-001IS-D1 |
Transfer Order Automation — Daily Overflow → Sydney Replenishment 50
Open the entry · active
| Case ID | Layer | Preconditions | Input | Expected output | Rule ref |
|---|---|---|---|---|---|
TO-TC-A1 |
Run mechanics | The Lambda is invoked on its daily schedule. | An EventBridge scheduled event. | All three saved searches are fetched sequentially, and each row count is logged. | needs confirming |
TO-TC-A2 |
Run mechanics | The Lambda is invoked by something other than the schedule. | An HTTP-shaped event. | It is not treated as a scheduled run. | needs confirming |
TO-TC-A4 |
Run mechanics | One of the three searches fails.An empty set is indistinguishable from no stock, so the email is the only signal that the run was working from incomplete data. | A search returning an error rather than rows. | The run continues with an empty set for that search and the error is emailed. | needs confirming |
TO-TC-A3 |
Demand | An item appears in the backorder feed with nothing outstanding. | Demand of zero or less. | The item is skipped — no line and no Transfer Order. | LI-BL-INV-001 |
TO-TC-A5 |
Demand | The backorder feed is read live rather than from a captured sample. | The three live saved searches. | Every row's item id resolves, and no item reports an undefined id. | LI-BL-INV-001TO-D1 |
TO-TC-T5 |
Demand | A kit is ordered for Sydney and one of its components has Overflow stock.A SalesOrder-type search cannot see kit component lines at all; an Item-type search can. Proven 2026-10-08 by running both variants side by side: the Item variant returned every row the SalesOrder variant found, at identical quantities, plus five kit members. | Sales order S310299 — Cloud Double Bed (Oak, Rose Textured Weave). |
The Headboard (2) and the Footboard (1) each appear as their own demand row. The Slats do not, because Sydney holds stock of them. | LI-BL-INV-001 |
TO-TC-T6 |
Demand | Sydney demand is allocated to a purchase order already inbound to Sydney.Subtracting the allocated quantity is what made this demand vanish. Removing that term is what created the coverage gap in TO-D11, so the two cases must be run together. |
Sales order S310293 — Luca Boucle, allocated to an incoming purchase order. |
The demand is still reported. Overflow reaches Sydney in days and beats an inbound purchase order, so an allocation must not suppress it. | LI-BL-INV-001 |
TO-TC-T1 |
Demand | Sydney is short of an item and an open Overflow→Sydney transfer order already carries at least that quantity of it. Live case 2026-10-09: sales order S309870, 4 Santino Leather Dining Arm Chair (Oak, Tan) ordered, 1 committed, 3 short; transfer order 3495 carries 4. |
— | Net demand resolves to 0 and no line is written for the item, on this run and on every later run while that order stays open. Observed before the fix: demand 3, coverage 0, a whole bin of 4 selected. | LI-BL-INV-001 |
TO-TC-T2 |
Demand | The covering transfer order carries the Transfer Order Approval field empty, as 2,975 of 3,022 orders do — including every order at Pending Approval and every one at Pending Receipt. | — | The order still counts toward coverage. The approval field must not decide whether an order is visible to coverage; it decides only whether a line may still be added to it. | LI-BL-INV-001 |
TO-TC-T3 |
Demand | The only order covering an item is older than the lane's lead time — e.g. Santino against order 3495, raised 151 days ago on a 7-day lane, fulfilled out of Overflow and never received. |
— | The order counts in full, and the item stays suppressed for as long as that order is open. Age is deliberately not a factor: the engine cannot tell a slow shipment from a forgotten one, so keeping the open-order list clean is a person's job. Settled 2026-10-09 — see the known limitation and TO-D12. |
LI-BL-INV-001 |
TO-TC-T4 |
Demand | A "Set of 2" item is short — e.g. Luca Boucle Bar Stool, 12 pieces outstanding against 5 cartons available at Overflow. | — | Demand reads 6 cartons, not 12, so it is comparable with bin stock and source availability, which are both in cartons. Shortfall 1 carton, not 7. | LI-BL-INV-001 |
TO-TC-T7 |
Demand | An item is covered by one order at Pending Approval and another at Pending Fulfilment. | Both orders open, Overflow to Sydney, for the same item. | Both count toward coverage. Only Pending Approval makes an order amendable; that is a separate question from whether its stock is already coming. | LI-BL-INV-001 |
TO-TC-T8 |
Demand | The open-order feed is netted against demand for the first time. | Orders 3569 and 3570, Spindle King Bed (Box 1), reported as -2 each. |
Coverage is 4 — the absolute values are used. Taken as reported, coverage is -4 and net demand computes 4 - (-4) = 8, doubling the order rather than suppressing it. |
LI-BL-INV-001TO-D11 |
TO-TC-T12 |
Demand | One item has been ordered in two different units of measure across different sales orders. | Asta Fabric Dining Chair — S301985 in Set (2pcs / Box), S243442 in Single (1pcs / Box). |
Each line is converted by its own line's unit, not by the item's stock unit, and the total reads in cartons. Dividing the item's total by its stock-unit rate gets this item wrong. | LI-BL-INV-001TO-D10 |
TO-TC-T11 |
Demand | Net demand for a multi-piece item does not divide into whole cartons — e.g. 8 pieces ordered with 3 committed on a Set of 2, giving 2.5 cartons. | A part-carton commitment on a Set of 2 or Set of 4 line. | Not yet defined — see TO-Q2. No such line appears in the sandbox, but that sandbox has not been refreshed, so its absence is not evidence the case is rare. Re-check against production before treating it as an edge case. |
LI-BL-INV-001TO-D10 |
TO-TC-T13 |
Placement | An open transfer order out of Overflow has already been fulfilled and is at Pending Receipt, and a new line is added to it. | Order 3463, Overflow to Sydney Showroom, at Pending Receipt; one line added for Santino Fabric Dining Arm Chair, quantity 1. |
The line is accepted. The order moves to Pending Receipt/Partially Fulfilled, which 3/3's filter still returns; the new line commits its stock and is pending fulfilment, so the warehouse picks it; and the header volume and carton count recalculate to include it. Verified in sandbox 2026-10-12 and then reverted by closing the line. | LI-BL-FUL-004 |
TO-TC-B1 |
Bin sourcing | A single bin can cover the shortage and more than one bin could. | Short 2; bins of 4 and 8 available. | The smallest covering bin is chosen — 4 moves, not 8. | LI-BL-INV-002 |
TO-TC-B2 |
Bin sourcing | One bin covers the shortage many times over. | Short 1; a single bin of 8. | The whole bin moves — 8, with the surplus of 7 accepted. | LI-BL-INV-002 |
TO-TC-B3 |
Bin sourcing | No single bin covers the shortage but the bins together do. | Short 7; bins of 4 and 4. | Both bins are combined — 8 moved. | LI-BL-INV-002 |
TO-TC-B4 |
Bin sourcing | The source cannot cover the shortage at all. | Short 7; one bin of 4. | 4 moves and a shortfall of 3 is raised. Partial beats nothing. | LI-BL-INV-002 LI-BL-INV-004 |
TO-TC-B5 |
Bin sourcing | Every unit in the bins is already committed to an open Transfer Order. | The allocation figure equals the full bin quantity. | Nothing moves. | LI-BL-INV-001 |
TO-TC-B6 |
Bin sourcing | The allocation column is missing from the bin search response. | A response with the column absent rather than zero. | The run must fail loudly, not read the missing value as zero — reading it as zero makes the full bin available again on every run. | LI-BL-INV-001TO-D2 |
TO-TC-T9 |
Bin sourcing | The bins hold more than the source location reports as available, because stock has been committed to leave. | Xoriguer Dining Chair — bins summing to 15, source availability 5. | No more than 5 moves. Bin quantities are not net of commitments; the location's availability is, and it is the binding cap. | LI-BL-INV-002 |
TO-TC-T10 |
Bin sourcing | Bin stock exceeds source availability by more than the open-order feed accounts for, meaning stock is committed that the feed cannot see. | Before the feed was widened: Xoriguer, bins minus availability of 10 against coverage of 0. | Not yet defined. Across 19 of 20 items the two figures agreed exactly, and the twentieth was a transfer order the feed's approval filter was hiding — so widening that filter (TO-D11) removed the only observed instance. Whether the cross-check is still worth running, or was only ever a symptom of TO-D11, is open. |
LI-BL-INV-002TO-D12 |
TO-TC-C1 |
Source lanes | The item has stock at Overflow only. | Overflow bins holding the item; nothing at Bonded. | One Transfer Order from location 23, with a 7-day lead time. |
LI-BL-INV-003 |
TO-TC-C2 |
Source lanes | The item has stock at both sources and Overflow covers the shortage. | Overflow and Bonded both holding the item. | Bonded is untouched. | LI-BL-INV-003 |
TO-TC-C3 |
Source lanes | The item has stock at both sources and Overflow covers only part of the shortage. | Overflow short of the demand, Bonded holding the remainder. | Overflow is drained first and the remainder comes from Bonded on a separate order, with a 42-day lead time. | LI-BL-INV-003 |
TO-TC-C4 |
Source lanes | A Bonded-sourced line exceeds the 15 CBM cap. | A Bonded line above 15 CBM. | Currently split at 15. The container cap must be confirmed before Bonded sourcing goes live — 15 is the Metro truck limit, and a Bonded shipment is a sea container. | LI-BL-FRT-002 |
TO-TC-G4 |
Source lanes | A Transfer Order is created and read back. | A created order from each source. | The expected due date equals the transaction date plus that source's lead time — 7 days for Overflow, 42 for Bonded. | LI-BL-INV-003 |
TO-TC-D1 |
Shortfall alerting | The source can cover part of the shortage. | Available stock below the demand. | The available stock is still transferred and the planner is emailed. | LI-BL-INV-004 |
TO-TC-D2 |
Shortfall alerting | A run has shortfalls but no errors. | A clean run with an uncovered item. | The shortfall alert is still sent, independently of the error email. | LI-BL-INV-004 |
TO-TC-D3 |
Shortfall alerting | No shortfall recipients are configured. | An empty recipient list. | No email is sent and the run still logs the shortfalls. | LI-BL-INV-004 |
TO-TC-E1 |
Placement | No eligible open Transfer Order exists. | A line to place with no amendable order available. | A new order is created at Pending Approval, with the approval marker set. | LI-BL-FUL-004 |
TO-TC-E2 |
Placement | An eligible order already carries the item. | A line for an item already on that order. | The existing line is incremented — no duplicate line is added. | LI-BL-FUL-004 |
TO-TC-E3 |
Placement | Two eligible orders exist and the line fits across both. | A line larger than either order's remaining room but smaller than the two together. | It is split across exactly those two orders. | LI-BL-FUL-004 |
TO-TC-E4 |
Placement | The line would need three or more orders. | A line too large for any two eligible orders. | A new order is created instead — a line is never fragmented across three. | LI-BL-FUL-004 |
TO-TC-E5 |
Placement | One run produces both an Overflow line and a Bonded line. | Lines from both sources in the same run. | They go to separate orders — sources are never mixed on one order. | LI-BL-FUL-004 |
TO-TC-E6 |
Placement | An amend is attempted against an order whose approval marker has been cleared. | An order no longer at Pending Approval. | The amend is rejected as TO_LOCKED and nothing is written. |
LI-BL-FUL-004 |
TO-TC-E7 |
Placement | A Pending Approval order exists that is sourced from Overflow but destined somewhere other than Sydney. | An Overflow order to a third location. | It must not be selected as an amend target. Amend eligibility checks the source and the approval marker but never the destination. | LI-BL-FUL-004TO-D3 |
TO-TC-E8 |
Placement | Demand falls after an order already exists for it. | A reduced shortage on a later run. | Existing lines are untouched — a quantity is never reduced. | LI-BL-FUL-004 |
TO-TC-E9 |
Placement | An order has been auto-approved to Pending Fulfilment while its approval marker still reads Pending Approval. | An order this automation created and approved in the same run. | Behaviour to be defined. The two fields disagree about whether the order is amendable, and they are read in two different places. | LI-BL-FUL-004TO-D5 TO-D6 |
TO-TC-F1 |
CBM cap | A run's total volume is below the cap. | Lines totalling under 15 CBM. | A single order, no split. | LI-BL-FRT-002 |
TO-TC-F2 |
CBM cap | One line's own volume is three times the cap. | A line of roughly 45 CBM. | Three new orders, each under 15 CBM. | LI-BL-FRT-002 |
TO-TC-F3 |
CBM cap | An amend would push an order past the cap. | A line that does not fit the order's remaining room. | Rejected as CBM_CAP_EXCEEDED; nothing is written. |
LI-BL-FRT-002 |
TO-TC-F4 |
CBM cap | A single unit of an item is larger than the cap. | One unit above 15 CBM — a sofa or a modular piece. | An exception must be raised. An over-cap order must not be emitted silently, which is what the floored split raised to a minimum of one currently does. | LI-BL-FRT-002TO-D4 |
TO-TC-G1 |
Write mechanics | A create payload is built. | Any line ready to write. | Lines carry item and quantity only — no bin, no cartons, no units. The warehouse assigns bins at fulfilment. | needs confirming |
TO-TC-G2 |
Write mechanics | A created order is read back from NetSuite. | A Transfer Order created in sandbox. | Line and header CBM are derived by NetSuite, and no bin or inventory detail is set. | needs confirming |
TO-TC-G3 |
Write mechanics | A transaction date is supplied in ISO format. | A date as YYYY-MM-DD. |
The save fails — dates must be US MM/DD/YYYY. |
needs confirming |
TO-TC-G5 |
Write mechanics | The RESTlet reports a logical failure inside an HTTP 200 response. | An error object returned with status 200. | It is surfaced as an error, not counted as a success. | needs confirming |
TO-TC-G6 |
Write mechanics | The write script is redeployed after the approval field changed. | A redeploy following a field change. | The approval-marker guard is actually in effect. Amendability is decided in two places that read different fields. | needs confirmingTO-D5 |