Conditional Sponsor Status Update Based on Event Association
Not Started

User Story:

As a sponsorship coordinator,
I need the system to prevent the status of a sponsor record from being updated to "Accepted" unless it is associated with an event,
So that we can maintain accurate and meaningful sponsor-event relationships and ensure accepted sponsors are properly linked to specific events.

Acceptance Criteria:

  • The CAMPX__Status__c field of a CAMPX__Sponsor__c record can not be updated to "Accepted" until the CAMPX__Event__c field is populated
  • The user should see this error when attempting to accept a sponsor without an event: "A Sponsor must be associated with an event before being Accepted."