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
Ramon PereiraRamon Pereira 

Duplicate products into opportunity

Personal, 

 

could give me a hint how to check duplicate products I have in my opportunities.
I have to check if the User is creating the record.

 

Thank you

ryanjuptonryanjupton

Not sure this is possible with a formula field since you are dealing with the many part of a one to many relationship. You'll probably have to use SOQL inside a trigger on Opportunity to make this work.