Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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

Test Scenario:

Create an Opportunity where Account Record Type = Household and Contact count > 1

The contact roles shouldn’t be created automatically

...

When we try to change the stage there should be an error asking us to create a contact role with Primary

...

TestTest Scenario 2:

Create a Contact Role without Primary check and change the stage.

...

Test Scenario 3:

Update the existing contact role created in scenario 2 Primary checkbox to “True” and try changing the stage

...

Test Scenario 4:

Choose an Account of record type = Household and Has only one contact

...

Create an Opportunity using the account

...

The Opportunity should has Contact Role created automatically with Primary = True

...

When we change the Stage it shouldn’t throw an error

...