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
Ajay Kumar 583Ajay Kumar 583 

Need solution for this Logic

Hi,
How to Write a logic to show the costliest product price at Opportunity level added under Opportunity as Opportunity Line Item. (Hint: Formula, Rollup etc). New field should be created on Opportunity.

Thanks,
Aj
Keval PadiaKeval Padia
Hey Ajay, you can create Roll-Up summary field to fetch the Costliest Product Price for an Opportunity and yes, new Roll-up summary field should be created on Opportunity. Please find screenshots below for your reference.

User-added image
Also, below given screenshot will help you understand how it will works.
User-added image

Hope this answer helps you. Also, if you need assistance related to any SFDC Customization and Development, do let me know. For more reference, do visit my company's website and profile which is given below in the signature.

Regards,
Keval Padia,
www.nimblechapps.com
https://sforce.co/2SFCx85