I have a managed package with a number of Validation Rules on Opportunity that currently involve spanning relationships.
This has become a limitation when attempting to install into various customer orgs as they may already be close to the default limit of 10.
Install failed
Problem: Spanning relationship limit exceeded
Detail: The formula references fields across 11 relationships while only 10 are allowed. Please contact support at salesforce.com for more assistance.
In some cases they can get support to increase the spanning relation limit up to 15, but in others they have already reached the upper limit that Salesforce is prepared to allow (See Can the limit of spanning relationships be increased?).
To work around this I'll be moving from Validation Rules to Triggers to enforce the data integrity.
Will marking the Validation Rules as Inactive in the Managed Package be sufficient to reduce the spanning relationship requirement when installing?
Or do I need to modify the error condition formula in the inactive validation rules as well to remove the reference relationship?