Quick Solution for 13.3 Opportunity Account Required Change (To Remove Required)

Good Morning Everyone,

I just wanted to help all customers or partners that run into an issue where you find out that the customization you put in place to make the Account Name not Required in Opportunities no longer works as of 13.3. Sugar introduced denormalization as of Q2 2020 Release and it just looks like in 13.3 Opportunities was updated. You can read more about the premise of denormalization in this post sugarclub.sugarcrm.com/.../nearly-everything-you-need-to-know-about-the-q2-2020-release

For Context - Here is the Sugar Cookbook (which needs to be updated)

https://support.sugarcrm.com/documentation/sugar_developer/sugar_developer_guide_13.3/cookbook/removing_the_account_requirement_on_opportunities/#Removing_the_Requirement_in_Vardefs

Using the Cookbook, the method is valid that they talk about the only thing that needs to change is below.

Prior to 13.3:

<?php

$dictionary['Opportunity']['fields']['account_name']['required'] = false;

As of 13.3 and up (NEW)

<?php

$dictionary['Opportunity']['fields']['denorm_account_name']['required'] = false;

All the best, just wanted to save someone else some time figuring this out in the future.

Parents Reply Children
No Data