ZT-599 · Correction Work: stop a new block from canceling the open one
| Status | Done |
| Ticket | ZT-599 |
| Requested by | KAJ Jacobs (project 28541: Funding's M1 reject canceled the open Correction Work and its appointment) |
| Made by | KAJ Jacobs (Albatross audit data, user 2284), 2026-11-18 19:29–22:31 UTC. Rule Open Correction Work Exists (3885) was created earlier by Michael Lowry (2026-11-05). |
| Date made | 2026-11-18 |
| Sections affected | 04 · Funding, 06 · Utility interconnection (PTO), 08 · Installation (Installation, Correction Work), 09 · Inspection, 12 · R&R and roof (R&R Inspection, Roof Inspection) |
| Project types | Residential, R&R |
Request
When a block is created, Albatross cancels any older open block of the same type. So any button that creates Correction Work while one is already open cancels the open one, and its live appointment is left sitting on a canceled block. In the 90 days before the change this happened 60 times; 54 came from Funding rejects. On 28541 the scheduler couldn't mark the appointment Scheduled, and Funding's scope notes went onto the duplicate block that was canceled.
Recorded on 2026-11-18 from KAJ's build notes and checked against Phoenix.
Review
- 13 controls created Correction Work. Four (779, 980, 256, 1283) were guarded by There is an Active Correction Work (532), but that rule only counted Ready to Schedule, Ready to Schedule Return Visit and Pending Correction Work. It missed Ready for Field Audit Review, Ready for AM Review and Disposition Remaining Work. The other nine had no guard. (Ready to Schedule Return Visit isn't a Correction Work status, so the new rule loses nothing by leaving it out.)
- Chosen fix: option B from the ticket. Each control that creates Correction Work only works when no Correction Work is open. A twin control named "… (Add to Open Correction Work)" works only when one is open. It does the same work but doesn't create a new Correction Work block, and it copies its notes into a new scope field on the open block.
- The copy replaces the text (function 26 overwrites the target field). A second rejection overwrites the first. Field Audit should move anything that must be kept into Correction Work Description.
- Not changed: work queues. Since 2026-06-04, new Correction Work at Ready for Field Audit Review lands in Verify Correction Work Complete, not Disposition Funding Rejection Corrections. That is under review separately.
- In flight: about 30 projects still have a live appointment on a Correction Work block canceled before this change. Each one will be cleaned up separately, with approval.
Admin checklist
As built on 2026-11-18.
Before you start
- Rule Open Correction Work Exists (3885, global): Correction Work block status IN Ready for AM Review, Ready for Field Audit Review, Ready to Schedule, Pending Correction Work, Disposition Remaining Work.
Fields
- Correction Work › Correction Details: new text areas Additional Funding Scope (field 2514, OSC 10012) and Additional Inspection Scope (field 2515, OSC 10013), below Correction Work Trigger Details.
- Correction Work Appointment › Details: read-only copies of Additional Funding Scope (10028), Additional Inspection Scope (10030) and Correction Work Trigger Details (10032), so the crew sees the scope.
Controls. For each pair, the original gets and not Open Correction Work Exists. The twin has the same condition with and Open Correction Work Exists, and the original's actions minus "Create Correction Work". On 779, 980, 256 and 1283, There is an Active Correction Work was replaced.
| # | Original | Block / event | Twin | Twin copies notes |
|---|---|---|---|---|
| 4 | [x] Rejected - Field Audit (522) | M2 Funding | 1724 | M2 Funding Rejection Notes (OSC 1532) → Additional Funding Scope |
| 5 | [x] Rejected - Field Audit (485) | M1 Funding | 1745 | M1 Funding Rejection Notes (OSC 1530) → Additional Funding Scope |
| 6 | [x] Rejected - Engineering & Field Audit (1108) | M1 Funding | 1748 | OSC 1530 → Additional Funding Scope; keeps the Funding Engineering Corrections task and its copy (→ OSC 2536) |
| 7 | [x] Rejected - Engineering & Field Audit (1109) | M2 Funding | 1756 | OSC 1532 → Additional Funding Scope; keeps Scope Review, Pending Engineering Review and its copy (→ OSC 2502) |
| 8 | [x] Conditional Approval - Field Audit (556) | M1 Funding | 1759 | OSC 1530 → Additional Funding Scope; keeps → Conditionally Approved |
| 9 | [x] Post Rejection Audit Complete - Correction Work (740) | M1 Funding | 1763 | none. Neither is placed on the screen |
| 10 | [x] Post Rejection Audit Complete - Correction Work (741) | M2 Funding | 1766 | none. Neither is placed on the screen |
| 11 | [x] Send to Corrections (779) | Inspection | 1770 | Final Inspection Fail Report (OSC 729) → Additional Inspection Scope |
| 12 | [x] Send to Corrections (980) | R&R Inspection | 1776 | Final Inspection Fail Report (OSC 3788) → Additional Inspection Scope |
| 13 | [x] Send to Correction Work (256) | Final Inspection event | 1779 | OSC 729 → Additional Inspection Scope |
| 14 | [x] Send to Correction Work (1283) | R&R Inspection event | 1780 | OSC 3788 → Additional Inspection Scope |
| 15 | [x] PTO Rejected - Correction Work (516) | PTO | 1781 | PTO Rejection Notes (OSC 1409) → Additional Inspection Scope |
| 16 | [x] Inspection Failed (339) | Rough Inspection event | 1782 | none (the original copies nothing either) |
| 17 | [x] Post IV - Correction Work (1102) | Installation | 1783 | Field Audit Notes (OSC 4121) → Additional Inspection Scope |
- Place each twin in the same section as its original.
- Test on 28349 (see Config check).
New SOP
- Funding, Inspection, PTO, Field Audit: if a Correction Work block is already open, the usual button (for example Rejected - Field Audit) is grayed out. Use the button with the same name plus (Add to Open Correction Work). It does the same thing, but your notes go onto the open Correction Work under Additional Funding Scope or Additional Inspection Scope.
- Field Audit: check those two fields on the open Correction Work. A second rejection replaces the text, so copy anything that must be kept into Correction Work Description.
- Crews / schedulers: the Correction Work Appointment now shows Correction Work Trigger Details and both scope fields under Details.
- Roof Inspection: Send to Corrections there has no twin, so it is grayed out while Correction Work is open. Add the scope to the open block by hand.
Rollback
- For each pair, remove
notOpen Correction Work Exists from the original's condition. On 779, 980, 256 and 1283, put backnotThere is an Active Correction Work. - Archive the twin control and its placement. The new fields and read-only copies are harmless and can stay.
Config check
Checked in production (Phoenix) on 2026-11-18.
- Rule 3885 has the five statuses listed. These are all of the Correction Work statuses except Complete and Canceled.
- All 14 originals end in
and not r3885. On 779, 980, 256 and 1283 the oldnot r532is gone. - All 14 twins have the original's condition with
and r3885, and the original's actions minus "Create Correction Work". The 485/1745 and 522/1724 twins keep "Create M1/M2 Funding" (the re-created Funding block), and the 516/1781 twin keeps the new PTO block. - Notes copies (function 26) go to OSC 10012 or 10013 as listed. 1748 and 1756 also keep their Engineering copies (OSC 2536 and 2502). 1783 copies through the project-level parameters (Field Audit Notes 4121 → 10013).
- Placement: every twin sits next to its original (M1 Actions, M2 Actions, Inspection Not Ready, Inspection Fail Details, PTO Actions, Rough Inspection Controls, Installation Milestones). 740, 741, 1763 and 1766 aren't placed. 980 is also placed in Roof Inspection › Inspection Not Ready (OSC 3626) with no twin there.
- Fields: 2514 and 2515 are live. OSC 10012 and 10013 are at positions 4 and 5 in Correction Details. 10028, 10030 and 10032 are read-only in Correction Work Appointment › Details.
- After rollout: the only Correction Work block canceled since 19:40 UTC is 185698 on test project 28349 (Michael, 19:47 UTC, during testing). Nothing was canceled on a live project.
- Tests from KAJ's notes (not re-checked click by click):
- On 28349, the original 522 still creates a new block when none is open.
- Twins 1724 and 1745 left the open block and appointment 85309 alone, with the block at both Ready for Field Audit Review and Ready to Schedule, and filled Additional Funding Scope.
- Twin 1776 moved R&R Inspection to Pending Review or Correction Work with no new block.
- The other twins were compared with their originals in SQL. Four twins had blank copy settings saved from the UI; these were fixed and checked again.
- Open:
- About 30 old appointments still sit on canceled Correction Work blocks.
- Queue routing for Ready for Field Audit Review is under review separately.
- The test blocks are still on 28349.
- Correction Work Pending (1294), the M1 banner, still only shows when Funding requested the open Correction Work. The grayed-out button now covers the other cases.