Description
Description
User Story
As a Development Manager/Officer, I need to ensure that the “Decision Maker” of Gifts in will (GIW) opportunities and Gift/pledge, are easily identifiable, throughout its life cycle.
Such that, I am aware at all times, who is driving the GIW Opportunity interest.
Acceptance Acceptance Criteria
Turn off the current automation to add contact roles to Opportunities when a Contact is created/updated/deleted (For all record types)
Amend the existing logic that adds the contact roles to Opportunity when created - To add only for Household Account Opps Opportunities with only one contact and set the Primary true, Role Associated contact and copy phone and email
Throw and error when stage is changed and Contact Role with Primary contact blank throw an error
For existing opportunities when there is a stage change the users can see error if there is no contact role with Primary checkbox ticked
Add the Contact Roles tab next to Details tab (GIW opportunities)
Add the Contact Roles tab next to Details tab - Swap the Soft Credits Tab confirmed by Monica
Gift/Pledge Opportunities - Can’t move back the stages from Gift Handover to backwards (Check if existing?)
Add a logic to check if Opportunity linked Account has at least one linked contact - If not throw an error either at Opportunity creation or if existing at stage change
Create a condition at contact role level that Primary checkbox can be ticked only if the Role = Associated Contact
Note: The errors for stage changed will be ignored for Closed Lost (as contact utility function might cause issues)
Data Cleanup for existing Opportunities with Contact Roles - jessica.woodMonica KluegelAlainGasquet to discuss and agree
Technical Design:
Update the existing flow - Usyd move contacts related to Account to Contact Roles => To add contact role when Opportunity is created (where Account record type = Household and has only one contact linked)
Remove the code logic to add contact automatically to Opps when a new contact created
Add a logic and validation to throw an error when an Opportunity stage changed
Add contact role tab to the page in GIW
Move the contact role tab up in the page related to Gift/Pledge record type
...
GIW Opportunities - Add Contact Roles tab after All details
...
Test Scenario 7:
Create an Opportunity where Account has no contact linked
...
Test Scenario 8:
Primary checkbox at Contact Role can be checked only if the Role = Associated Contact
...