BP Status Dating Fix
Fixed premature Building Permit status updates
Problem
When a client/customer selected "BP Apply" in the ordering process, it was immediately dating and changing the Building Permit status on the FTS platform - even though FTS had not yet applied for the building permit.
From the Chatlogs
"When client/customer selects BP APPLY it is dating it on our platform, but we/FTS haven't applied for the building permit yet. Action: It should only date and change status when we/FTS have 'ordered' the building permit." - Matt, Feb 11
Root Cause
Jayrex identified two separate triggers updating the BP status:
- Project status changes (manual)
- Project order status updates (workflow)
The project status trigger was firing prematurely when clients interacted with the order.
Fix
"I've now fixed this so BP status/date updates now follow the order workflow only (i.e. when FTS sets the BP order to Ordered/Received), not from manual project status changes." Deployed to preprod for validation, then rolled out to production.
Impact
Building Permit status now accurately reflects the FTS order workflow rather than client-side actions.