ZT-496 · NetSuite: send cash deals; retire the Deal Review NetSuite autos

Status Done
Ticket ZT-496
Requested by Claude's Oct 27 config audit (for Michael Lowry)
Made by KAJ Jacobs (Albatross audit data, user 2284), 2026-11-16 21:23–21:24 UTC
Date made 2026-11-16
Sections affected 01 · Project level, 03 · Survey and deal review, 04 · Funding
Project types Residential and Battery Only (cash deals)

Request

Cash deals never get a NetSuite customer. The only working send is the project-level timed Send to Netsuite (auto), which needs M0 (NTP) Approved, a financed-deal milestone. Cash deals reach M0 through M0 Invoice Payment Received instead, so most never qualify. Finance has to set them up by hand, or they're missing from NetSuite.

Re-checked 2026-11-12: partly fixed. The two broken Deal Review autos, Send to Netsuite (Cash) (auto) and Send to Netsuite (Non Cash) (auto), were taken off the Deal Review screen by Michael Lowry (Non Cash on 2026-05-05, Cash on 2026-09-25), so they can't fire. What's left: cash deals still have no send path, and three dead controls remain.

Review

Checked against production through Phoenix on 2026-11-12.

Likely cause: The cash path was built on Deal Review using Financier, then abandoned. The working send moved to the project level, written for financed deals only.

Admin checklist

Before you start

  1. Finance confirms that cash deals need a NetSuite customer, that M0 Invoice Payment Received is the right trigger, and that Purchase Mode = Cash is the cash test.

Build

  1. Project-level control Send to Netsuite (auto): change (Project) Custom Field: Funding Milestones-M0 (NTP) Approved IS NOT NULL to ((Project) Custom Field: Funding Milestones-M0 (NTP) Approved IS NOT NULL OR ((Process Block: Contract) Custom Field: Financing Details-Purchase Mode EQUAL Cash AND (Project) Custom Field: Cash Milestones-M0 Invoice Payment Received IS NOT NULL )). Keep the NOT Netsuite Customer Created rule, the Engineering / Installation Prep rules and both actions. All three rules already exist and are global.
  2. Deal Review: archive Send to Netsuite (Cash) (auto).
  3. Deal Review: archive Send to Netsuite (Non Cash) (auto).
  4. M0 (NTP) Funding: archive Send to Netsuite (Non Cash) (auto).

Test and clean-up

  1. Test in staging first (timed auto): a cash project in Engineering with M0 Invoice Payment Received filled is sent on the next nightly run, and Netsuite Customer Created is stamped. In production, check that 28917 is stamped the morning after the change.
  2. Finance creates NetSuite customers by hand for 18439, 21117, 23361, 26147, 27269 and 27708, then fills Netsuite Customer Created (project › Integration Detail) on each.
  3. Sales Ops fills Purchase Mode on cash contracts where it's blank.

New SOP

Finance: cash deals now reach NetSuite on their own overnight, once the project is in Engineering or Installation Prep and M0 Invoice Payment Received is filled. Check Netsuite Customer Created on the project before creating a customer by hand.

Sales Ops: always fill Purchase Mode on the Contract. A cash deal with Purchase Mode blank isn't sent.

Rollback

  1. Put the condition of Send to Netsuite (auto) back to M0 (NTP) Approved IS NOT NULL alone.
  2. Un-archive the three controls (all unplaced, so nothing runs).

How to verify

Claude checks in Phoenix: the new condition and unchanged actions on Send to Netsuite (auto); the three controls archived; Netsuite Customer Created stamped on 28917 after the next nightly run, and on the 6 hand-created projects.

Open questions

Config check

Checked in production (Phoenix) on 2026-11-17.