ZT-232 / ZT-618 · Service Payment block, Service Work routing, Service Only Finalized

Status Done
Ticket ZT-232 (includes ZT-618)
Requested by Service and Finance (Jenni Budd, AR). ZT-618: Service Work blocks stuck in Disposition Remaining Work dropped out of the queues
Made by KAJ Jacobs (Albatross audit data, user 2284): Service Payment block and queues 2026-11-13. Routing (ZT-618) 2026-11-16. Payment hand-off edits 2026-11-17 15:29–20:44 UTC. Service Only Finalized (auto) and the Cancel lock 2026-11-18 15:28–15:55 UTC
Date made 2026-11-13 to 2026-11-18
Sections affected 11 · Service, 01 · Project level
Project types Residential (Service Work); the Finalized auto is Service Only scope

Request

ZT-232 took over all Service Work changes on Nov 17. Recorded on 2026-11-18 from KAJ's chat notes and checked against Phoenix. The 2026-11-17 "in progress" note in section 11 is replaced by this record.

Review

Admin checklist

As built.

  1. Service Payment block. Statuses: Quote Needed and Ready to Send Invoice (active); Pending Quote Approval and Pending Invoice Payment (on hold); Complete; Canceled.

    • Buttons: Quote Sent, Quote Approved, Quote Declined (→ Canceled), Invoice Sent, Payment Received (→ Complete) and Cancel.
    • Autos: Notify Finance - Payment Needed and Notify Service - Payment Received.
  2. Queues: Service Quote Needed and Pending Service Quote Approval (new), plus the existing Ready to Send Invoice and Pending Invoice Payment, wired to Service Payment (2026-11-13).

  3. Service Work › Needs Quote (1682) and Needs Truck Roll Invoice (1683).

    • Shown for Revenue jobs at Ready for Field Audit Review with the details filled, or at Disposition Initial / Remaining Work for non-Service-Only jobs.
    • Each creates Service Payment (at Quote Needed or Ready to Send Invoice), sets Service Work to Pending Service Payment, and re-arms the two payment autos.
  4. Service Payment Paid (auto) (1684): when the main Service Payment is Complete and Service Work is Pending Service Payment, set Service Work to Ready to Schedule, create a Service Appointment at Ready to Schedule, and notify.

  5. Service Payment Canceled (auto) (1685): when the main Service Payment is Canceled, set Service Work to Ready for Field Audit Review.

  6. Send to Field Audit (1706): Service Work Disposition = Needs a Site Visit, at Disposition Initial or Remaining Work, and Service Contract Signed filled for Service Only jobs. Sets Ready for Field Audit Review and notifies.

  7. Ready for Scheduling (1167): Warranty or Pre-warranty jobs at Ready for Field Audit Review with the details filled, or non-Service-Only jobs at Disposition Initial Work. Sets Ready to Schedule and re-arms 374.

  8. Create initial appointment (auto) (374): Ready to Schedule, Service Contract Signed (Service Only), and no ACTIVE or ON HOLD Service Appointment.

  9. No Open Visits → Disposition Remaining Work (auto) (1702), plus the ZT-618 changes to the appointment buttons (2026-11-16).

  10. Queue Verify Correction Work Complete: add Service Work at Ready for Field Audit Review, with project status ACTIVE or the seven named holds (2026-11-16 21:40 UTC). Queue Pending Service Work, RMA Replacement wiring: add block base status ON HOLD and project base status COMPLETE, the same as the Service Appointment wiring (2026-11-16 19:05–19:17 UTC).

  11. Service Work › Cancel (1071): not allowed while the block is in Pending Service Payment (2026-11-18 15:55 UTC).

  12. Project level › Service Only Finalized (auto) (1716). Fires when:

    • Scope = Service Only, the main Service Work is Complete, and no Service Work is open (Disposition, Pending, Ready to Schedule, Field Audit Review or Pending Service Payment);
    • no Service Payment is open;
    • the project isn't Canceled or in Cancellation in Progress (the same exclusions as Set project status: Finalized).

    It then sets the project to Finalized. Its four rules are new (4653–4656).

New SOP

Rollback

  1. Put back the reset of 374 on 1684 and remove 374's "no open visit" rules.
  2. Archive 1682–1685, 1706 and 1716, and archive the Service Payment queue wiring.

Config check

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