ZT-589 · Roofing: roof permit queues under Roofing + NTP section on Roof Permitting
| Status | Done |
| Ticket | ZT-589 |
| Requested by | KAJ Jacobs (Lynzi works roof permit and NTP together) |
| Made by | KAJ Jacobs (Albatross audit data) |
| Date made | 2026-11-11, 16:07–20:43 UTC |
| Sections affected | 12 · R&R and Roof |
| Project types | R&R / Roof (Reroof jobs) |
Request
Give roof permits their own queues under the Roofing department, stop rejected roof permits dropping off the radar, and put the NTP step on the Roof Permitting block. Full write-up, evidence and checklist are in the ticket.
Review
In the ticket. Key points: block-status 271 (Pending Roof Permit Approval) was wired into two solar queues; Resubmit (148) was in the solar Review Revision and Resubmit queue; Permits Rejected ran function 17, which only works on events, so the button errored; Roof Funding (ignore) "1st Invoice Paid" could still create a second Roof Permitting block. Filling the NTP dates on roof jobs fires no NTP or NetSuite autos (those are Residential-only).
Admin checklist
In the ticket (steps 0–11).
New SOP
Roofing (Lynzi): work roof permits from the three Roofing queues: Roof | Ready to Submit Permit, Roof | Pending Permit Approval, Roof | Permit Resubmit. Fill M0 (NTP) Submitted in the new NTP section before Permits Submitted, and M0 (NTP) Approved before All Permits Approved. A rejected permit goes to Resubmit; click Permits Resubmitted once it's back with the AHJ.
Rollback
- Remove rule
M0 (NTP) Submitted IS NOT NULLfrom Permits Submitted and(Project) Custom Field: Funding Milestones-M0 (NTP) Approved IS NOT NULLfrom All Permits Approved. - Re-add block 48 rows to Pending All Permits Approved, Permitting Hold and Review Revision and Resubmit; archive queues 506 and 507.
Config check
Pass, 2026-11-11 (Claude, Phoenix). Checked in the earlier session (see ticket comment) and again here:
- Queue Note: Permitting Owner (1), Permitting Last Touch (2), Permitting Queue Note (3).
- NTP section: mirrors M0 (NTP) Submitted (1), M0 (NTP) Approved (2), Financing ID (3, read-only), Amount Financed (4, read-only).
- Queues (Roofing type): 252 renamed Roof | Ready to Submit Permit (3d; Ready to Submit Permit, project active); new Roof | Pending Permit Approval (14d; Pending Roof Permit Approval, project active or On Hold); new Roof | Permit Resubmit (3d; Resubmit, project active). All three carry the 12 columns from the spec. 252 is flagged exclude from WQT metrics.
- Old queues: block 48 rows archived from Pending All Permits Approved, Permitting Hold and Review Revision and Resubmit (19:06–19:07 UTC).
- Permits Submitted needs new global rule
M0 (NTP) Submitted IS NOT NULL(the spec named an existing rule; a new one was made with the same meaning). All Permits Approved needs(Project) Custom Field: Funding Milestones-M0 (NTP) Approved IS NOT NULL. - Permits Rejected: the function 17 action is archived; the only action is block → Resubmit. Now repeatable.
- 1st Invoice Paid (Roof Funding (ignore)): create-Roof-Permitting action archived.
- Different from spec, intended: function 17 removed rather than kept; Permits Rejected made repeatable.
- Test: project 42436 "ZZ TEST Roof Permit" passed, now canceled.
- Open: heads-up to Lynzi that all 16 in-flight jobs need M0 (NTP) Submitted before Permits Submitted works.
Made by
KAJ Jacobs, Nov 11, 9:07 AM – 1:43 PM MT.