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
cjencjen 

visualforce page help

i need a visualforce page that will display opportunity products on a case. When an opportuntity is closed/won a Case is created (for implementing the product just sold), all related to the Account record. I would like the show the Opportunity Line items on that Case layout.

Any ideas on how this can be done? Any help would be appreciated since I am not a VF expert. Thanks!
ShashankShashank (Salesforce Developers) 
How about adding a custom case lookup field on opportunity products and populating it with a trigger?