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
Praveen Kumar VellankiPraveen Kumar Vellanki 

How to display QuoteLineItem fields in an Visualforce Email Template when we are having relatedto = "Opportunity"?

How to display QuoteLineItem fields in an Visualforce Email Template when we are having relatedto = "Opportunity"?
Vivian Charlie 1208Vivian Charlie 1208

Hi Praveen,

 

I believe this cannot be done. The Relatedto field for Opportunity will only display OpportunityLineItems or other direct child objects. QuoteLineItem is a direct child of Quote.

 

Thanks

Vivian

Vivian Charlie 1208Vivian Charlie 1208

Hi Praveen,

 

Just following up if you were able to resolve the issue. If Yes, please feel free to mark this post as closed so that others can also benefit from it.
 
Thanks
Vivian

Praveen Kumar VellankiPraveen Kumar Vellanki
Hi Vivian,

Thank you for your reply. I Hope you are doing good. Sorry for my late reply.
Actually i think this can be done by creating a controller, a VF component and referring this Vf component in the VF email template.

Thanks,
Praveen.