ZT-521 · Reverse an install Exception and send the original visit back to Field Audit

Status Done
Ticket ZT-521
Requested by Michael Lowry (from Area Manager feedback, meeting 2026-10-26)
Made by Michael Lowry (Albatross audit data: fields, rules, control 1414 and its placement, 2026-10-27 21:44–22:11 UTC); requested by Michael Lowry
Date made 2026-10-27
Sections affected 08 · Installation (Installation block, Install Appointment event)
Project types Residential (the Installation block is Residential only)

Request

Field Audit sometimes misses a photo, records the install as Work Incomplete, and presses Exception - Needs a Return Visit. Later an Area Manager finds the photo. We need a way to cancel the return visit, correct the outcome of the original visit, and put the job back to Field Audit so it moves forward as if the visit had passed.

Original note: "find a way to cancel a partial and get the original back to field audit."

Decisions from Michael (2026-10-27):

Proposed solution None given.

Review

Checked against production (Phoenix) on 2026-10-27. Install Appointment is event 41 on the Installation block (11).

What happens today after an Exception

The workaround in use today

Statuses and controls

Downstream blocks

Fields

Work queues

Customer and rep messages

Projects already in flight

Money and integrations

Reporting

Project types

Recommendation

Add one button on the Install Appointment, Reverse Exception - Send to Field Audit. It's a button, not an auto control, and is guarded tightly enough that it can only be used after the return visit is canceled. It reuses Crew Work Complete and the routers rather than copying them.

Leave the Installation Verified workaround in place for now so nothing that works today breaks. Once AMs are trained on the new path, consider a follow-up that blocks Installation Verified from Ready to Schedule Return Visit.

Admin checklist

Do these in order. Use staging first for steps 1–4 if you want to test (recommended). The same steps, plus the end-user SOP, are in the ZT-521 ticket under Recommended fix.

  1. Install Appointment event → add a screen section Exception Reversal, placed after Install Audit and before Event Cancellation.
  2. Add three fields to that section:
    • Exception Reversal Reason: Text Area
    • Exception Reversal Approved By: System Single Select (users), the same type as Field Audit Completed By
    • Exception Reversed On: Date, read-only
  3. Create two rules: Exception Reversal Reason IS NOT NULL, and Exception Reversal Approved By IS NOT NULL. Then add a control Reverse Exception - Send to Field Audit: Button; Auto off; Timed off; Repeatable off; Always enabled off. Condition (all must be true):
    • (Event: Install Appointment) System Data: Project Process Block Event Object Status EQUAL Exception (Fail if none exist = false) (existing)
    • (Process Block: Installation) System Data: Process Block Object Status EQUAL Ready to Schedule Return Visit (Fail if none exist = false) (existing; two rules have this exact description, either works)
    • not There is an open (active/on hold) Install Appointment (existing)
    • the two new rules
  4. Give the control these actions, in order:
    1. Set event status → Audit Complete
    2. Set field Exception Reversed On = now()
    3. Set field Incomplete Attributable To = empty
  5. Place the control in the Exception Reversal section, under the fields.
  6. Test on a staging project first. In production, use the first real case an Area Manager brings, not a stuck job:
    1. Cancel the return visit.
    2. Fill the reason and approver, then press the button.
    3. Confirm the visit is Audit Complete and shows in Field Audit's Ready for Audit queue.
    4. Set Field Audit Result = Work Complete, pick a Next Step, then press Crew Work Complete.
    5. Confirm the block moves to the routed status, Roof Complete and the Watt-pay milestone are stamped when the route is Ready for IV, "Incomplete Attributable To" is empty, and no second Safety Audit or Scope Review is created.
  7. Re-check that the button does not show on an Exception visit while its return visit is still open.
  8. Send AMs and Field Audit the New SOP below.

New SOP

  1. AM: on the return visit, fill Event Cancellation Approved By and press Cancel Event. Tell the customer, the crew, the rep, and Procurement if materials were ordered.
  2. AM: on the original visit, fill Exception Reversal Reason and Exception Reversal Approved By, then press Reverse Exception - Send to Field Audit.
  3. Field Audit: the visit appears in Ready for Audit. Change Field Audit Result to Work Complete, pick Next Step, and press Crew Work Complete. Verify the install as usual.

Rollback

  1. Remove the button from the screen and archive the control.
  2. Leave the three fields in place (hide the section if needed) so reversals already done keep their history.
  3. A visit caught mid-reversal (Audit Complete with result still Work Incomplete) can be finished with Crew Work Complete as normal, or sent back with Exception - Needs a Return Visit.

Config check

Round 1, 2026-10-27 22:05 UTC. Built by Michael Lowry, 21:44–22:00 UTC. Nothing else on the Installation block or the Install Appointment was changed in that window.

Matches the checklist:

To fix:

  1. Wrong status rule, so the button can never show. The condition uses (Event: Install Appointment) System Data: Project Process Block Event Object Status EQUAL Ready to Schedule Return Visit (Fail if none exist = false), which checks the visit's status. The checklist calls for (Process Block: Installation) System Data: Process Block Object Status EQUAL Ready to Schedule Return Visit (Fail if none exist = false), which checks the block's status. The visit can't be both Exception and Ready to Schedule Return Visit, so the condition is never true.
  2. Reason and Approved By are read-only (OSC 7073, 7074). If Area Managers can't type in them, the button can't show. Untick read-only on both, unless the test shows they can be filled. Event Cancellation Approved By is also flagged read-only, yet people fill it.
  3. Minor: a new copy of There is an open (active/on hold) Install Appointment was created instead of reusing the existing rule. It behaves the same, so it's optional to swap.

Michael's answers to round 1:

  1. Fixed. See round 2.
  2. Exception Reversal Reason and Exception Reversal Approved By are read-only with a position allow list (Michael, Area Managers, Ops Directors), so only those positions can fill them. Exception Reversed On has no allowed positions, so only the button sets it. Intended.
  3. The existing "open Install Appointment" rule is local to the Installation block, so it couldn't be used on the Install Appointment event. A global copy was needed. Intended.

Round 2, 2026-10-27 22:15 UTC. The condition is now:

Everything matches the checklist. Still waiting on the test run: as of 22:15 UTC, no Install Appointment had Exception Reversal Reason or Exception Reversed On filled.

Test, 2026-10-28, project 28349 (Michael Lowry's test project; labeled test and canceled, so the stamps don't reach work queues or pay). The return visit was canceled at 15:26 UTC, then the original visit was reversed and Field Audit pressed Crew Work Complete with Next Step = Ready for IV. Confirmed in production:

A first try failed because the button was pressed on the new return visit instead of the original one. That's expected, and the New SOP says to use the original visit.