ZT-501 · M1/M2 Funding: a way out of Lost Funding
| Status | Done |
| Ticket | ZT-501 |
| Requested by | Claude's Oct 27 config audit (for Michael Lowry) |
| Made by | KAJ Jacobs (Albatross audit data, user 2284), 2026-11-16 21:36–22:54 UTC |
| Date made | 2026-11-16 |
| Sections affected | 04 · Funding |
| Project types | Residential |
Request
Once an M1 or M2 Funding block is set to Lost Funding, nothing moves it anywhere else. The M1 auto meant to release it, Lost Funding Resolved, has no condition and no actions. M2 has no release control and no Lost Funding Resolved field. So jobs that get new financing can't be resubmitted, and jobs that are written off never close.
In practice Lost Funding is used for more than expired financing. The M1 button is always-on, so its "Financier = Expired Financing" condition is ignored, and Funding uses it for LightReach, Solar Leasing and even cash jobs. Most jobs in Lost Funding now have Financier = Solar Z, which looks like the replacement financier for stranded jobs. Solar Z can only be submitted from Resubmit, Confirm Funding Details or Funding Manager Review and Submit, so those jobs are stuck.
Re-checked 2026-11-12: still broken. No control on M1 or M2 Funding that touches Lost Funding has changed since Aug 27.
Review
Checked 2026-11-12.
- Lost Funding (M1, 752): always-on, condition
(Process Block: Contract) Custom Field: Financing Details-Financier EQUAL Expired Financing; actions Set block status → Lost Funding; Reset control Lost Funding Resolved. Placed twice (M1 Actions and Lost Funding). Built by Kalen Larsen 2026-03-13. - Lost Funding Resolved (M1, 1207): auto, Allow Reset Run Flag on, no condition, no actions, placed in the Lost Funding section. Created by KAJ Jacobs 2026-08-27 with two local rules that no control uses:
(Process Block: M1 Funding) System Data: Process Block Object Status EQUAL Lost Funding (Fail if none exist = false)and(Process Block: M1 Funding) Custom Field: Lost Funding-Lost Funding Resolved IS NOT NULL. Field Lost Funding Resolved (Date, OSC 4504) is in M1's Lost Funding section. - Lost Funding (M2, 753): not always-on, same condition, Set block status → Lost Funding only. M2 has no Lost Funding section, field or release.
- Use: M1 Lost Funding was clicked 8 times since Aug 1, last on 2026-11-09 (27684). Financiers on those: LightReach 5, Solar Leasing 1 2, Cash 1. None was Expired Financing.
- M1 blocks in Lost Funding: 124 projects, 72 on open projects (not Finalized or Canceled). By financier (open): Solar Z 23, LightReach 15, Expired Financing 12, Sunnova 8, Goodleap 6, Mosaic 3, Service Finance 2, FLIC 1, Sunergy Loan 1, none 1.
- M2 blocks in Lost Funding: 121 projects, 10 on open projects. The rest are on Finalized jobs, so the blocks are effectively written off but still sit in an ON HOLD status in the Lost Funding queue (Funding, 3-day SLA).
- On Oct 27, 15 PTO blocks in Pending M1 Approval belonged to jobs whose M1 was in Lost Funding (PTO's own queue gap is ZT-504).
- Messages and money: none of the Lost Funding controls text or notify anyone. M1 Approved and Funds Received stamp the sales pay milestones, so a resolved job pays out normally once it is resubmitted and approved.
- Project types: Residential (M1 and M2 Funding).
Likely cause: The Lost Funding release was started on Aug 27 (field, two rules, empty control) but never finished, and M2 never got one. The original design (ZT-7) planned an "Expired Financing" flag and two buckets for Finance (new financing then invoice, or credit memo then new financing); only the "park it" part was built.
Admin checklist
Before you start
- Michael with Funding and Finance (Kalen Larsen built the buttons; Jenn per ZT-7) decide: (a) Lost Funding means "the financier won't fund this job", for any financier, not only Expired Financing; (b) its two exits are new financing found → Resubmit and written off → Canceled. This checklist assumes both.
- Funding confirms Solar Z is the new financier for stranded jobs, so the 23 open Solar Z jobs in M1 Lost Funding should go back to Resubmit.
M1 Funding
- Create field Lost Funding Reason (Drop Down - Single Select: Financing Expired, Financier Declined, Customer Won't Re-sign, Other) and add it to M1 Funding › Lost Funding, above Lost Funding Resolved.
- Create field Lost Funding Written Off (Date) and add it to M1 Funding › Lost Funding, below Lost Funding Resolved.
- Lost Funding button: untick Always enabled, and replace its condition with
(Process Block: M1 Funding) Custom Field: Lost Funding-Lost Funding Reason IS NOT NULL(new local rule). - Lost Funding button: add action Set Lost Funding Resolved (OSC 4504) =
null, before the Reset action, so a block sent back to Lost Funding doesn't release straight away. - Lost Funding Resolved (1207): rename to Lost Funding Resolved (auto) and set its condition to
(Process Block: M1 Funding) System Data: Process Block Object Status EQUAL Lost Funding (Fail if none exist = false)AND(Process Block: M1 Funding) Custom Field: Lost Funding-Lost Funding Resolved IS NOT NULLAND NOT(Process Block: Contract) Custom Field: Financing Details-Financier EQUAL Expired Financing. - Lost Funding Resolved (auto): add action Set block status → Resubmit.
- Create button Lost Funding - Written Off. Condition: the Lost Funding status rule from step 7 AND
(Process Block: M1 Funding) Custom Field: Lost Funding-Lost Funding Written Off IS NOT NULL(new local rule). - Lost Funding - Written Off: add action Set block status → Canceled. Place it in M1 Funding › Lost Funding.
M2 Funding
- Create screen section Lost Funding on M2 Funding (after Rejection Details) and add Lost Funding Reason, Lost Funding Resolved (Date) and Lost Funding Written Off, as in steps 3–4.
- Move the M2 Lost Funding button into the new section; replace its condition with
(Process Block: M2 Funding) Custom Field: Lost Funding-Lost Funding Reason IS NOT NULL(new local rule). - Create auto Lost Funding Resolved (auto) on M2 (tick Allow Reset Run Flag) with the M2 versions of the step 7 rules (new local rules on M2), action Set block status → Resubmit, placed in M2 › Lost Funding.
- M2 Lost Funding button: add actions Set M2 Lost Funding Resolved (new field, OSC assigned when created) =
null, then Reset Other Control → M2 Lost Funding Resolved (auto). - Create button Lost Funding - Written Off on M2 as in steps 9–10, placed in M2 › Lost Funding.
Test (auto control changed, so staging first if KAJ wants)
- On test project 28349 (or staging): put an M1 block in Lost Funding with a reason, fill Lost Funding Resolved, save. It moves to Resubmit. Repeat with Lost Funding Written Off; it moves to Canceled. Same on M2. Note the earlier caution that a reset auto may not fire a second time (ZT-531).
Clean-up
- Claude lists the 72 open M1 and 10 open M2 Lost Funding jobs with financier and project status. Funding fills Lost Funding Resolved (new financing in place) or Lost Funding Written Off on each. The 52 M1 and 111 M2 Lost Funding blocks on Finalized or Canceled jobs get Lost Funding Written Off (Finance to confirm), so they leave the Lost Funding queue.
New SOP
Funding:
- To park a job, pick a Lost Funding Reason, then click Lost Funding (M1 or M2 Funding).
- When new financing is in place (for example Solar Z), update Financier on the Contract, then fill Lost Funding Resolved and save. The block moves to Resubmit and shows in the Resubmit queue; submit as usual.
Written off: dropped. A Lost Funding job waits ON HOLD until it is resolved.- Pick the reason and save before Lost Funding lights up; after clicking it, reload to see Lost Funding Resolved cleared.
Finance: no change (the written-off path was dropped).
Rollback
- Clear the condition and action on M1 Lost Funding Resolved (auto); archive M2 Lost Funding Resolved (auto) and both Lost Funding - Written Off buttons.
- Re-tick Always enabled on M1 Lost Funding and restore the Expired Financing condition on both buttons.
How to verify
Claude checks in Phoenix that both release autos have the condition, action and placement above, both Lost Funding buttons need a reason and clear the resolved date, and the new fields sit in the Lost Funding sections. A week after the clean-up, Claude re-counts Lost Funding blocks; the open-project counts should be near zero.
Open questions
- Should a written-off block go to Canceled (as above) or a new COMPLETE status such as Written Off, so reports can tell it apart from duplicates?
- Does Finance need a notification when a block is written off (for the credit memo)?
References
- Change record: changes/2026-11-12-ZT-501-lost-funding-exit.md
- Process doc: docs/sections/04-funding.md
- Related: ZT-7 (original Lost Funding design), ZT-500 (Solar Z), ZT-275 (M1/M2 screen redesign; the Lost Funding sections can be shown only at Lost Funding), ZT-504 (PTO waiting on M1).
- When the change is made, bring this ticket to Claude in the
zeo-process-flowrepo so it is checked and recorded in the changelog.
Config check
Checked in production (Phoenix) on 2026-11-17. Built differently from the checklist above, by KAJ's decision: no Written Off field or button (steps 4, 9, 10, 15 dropped). Lost Funding means "this financier won't fund the job", for any financier, and the only exit is resolved → Resubmit.
- New field Lost Funding Reason (field 2502, dropdown) in M1 › Lost Funding (OSC 9967, above Lost Funding Resolved) and in the new M2 › Lost Funding section (OSC 9970), with M2 Lost Funding Resolved (OSC 9971).
- Lost Funding on M1 (752) and M2 (753): condition Lost Funding Reason IS NOT NULL; not always-on; repeatable (the ZT-531 fix, so a second round works); actions: clear Lost Funding Resolved, block → Lost Funding, reset Lost Funding Resolved (auto). 752 is also still placed in M1 Actions.
- Lost Funding Resolved (auto): M1 (1207, renamed) and new M2 (1707), auto with Allow Reset: block status Lost Funding AND Lost Funding Resolved filled → Resubmit. 1707 is placed in M2 › Lost Funding.
- Tested by KAJ on 28349, M2 block 185699: two full rounds passed. M1 wasn't tested live (28349 has no M1 block); its config mirrors M2.
- Not done: step 2 (Solar Z jobs back to Resubmit) and step 17 (clean-up of the open Lost Funding jobs). Funding fills Lost Funding Resolved as financing comes through.