function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rakesh subbisettirakesh subbisetti 

need an alternative as our Opportunity object ran out of Look up fields(40)

I have an issue, my Opportunity object ran out of Look up fields(40) and around 11 of them are on User object and 8 each on Account and contact. Can you please help in finding some alternatives or any solutions in this regard.
VinayVinay (Salesforce Developers) 
Hi Rakesh,

40 is a hard limit of 'Custom Relationship Fields' on the object.

You can try using existing lookup fields and if you cannot use them,  then you might need to refactor or clean up and delete unwanted lookup fields by merging into existing lookups.

Thanks,
Vinay Kumar
rakesh subbisettirakesh subbisetti
Thanks Vinay. Definately cleaning is one of the options. Just looking for some workaround options As we can clear some few look-ups and we would need more in future.

Rakesh
VinayVinay (Salesforce Developers) 
Hi Rakesh,

You can increase the number of 'lookup' fields allowed per object from 40 to 50.  But you need to reach out to your Account Executive (AE).

Review below link for more information.

https://help.salesforce.com/articleView?id=000331427&type=1&mode

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,
Vinay Kumar