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
tania chattopadhyaytania chattopadhyay 

Need an correct Answer PD1

Hi All, 
Question- When viewing Quote, the sales representative wants to easily see how many discounted items are included in the Quote Line Items. 
What should a developer do to meet this requirement?

 
SandhyaSandhya (Salesforce Developers) 
Hi,

You can create a roll-up summary field on the Quote Object that performs a SUM on the Quote Line Item Quantity field, filtered for only discounted Quote Line Items.

Thanks and Regards,
Sandhya