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
indyinfyindyinfy 

How to display multiple lookup field values?

Hi All
I have created a custom <POLineItems> object. It has got a lookup field to products object. So in the POLineItems screen I can see the Product selected. But what if I want to show the product code also in the POLineItems screen along with the product name Bcoz product code is also in products. How can this be achieved? Pls help
 
RickyGRickyG
You have a few options for this functionality.  The easiest to implement is to turn on lookup hovers in the Customize - User Interface configuration page.  This will make the mini-layout (defined in the page layout) to appear when the user leaves their mouse on the lookup value, and you can put any fields on the parent in that layout.

You could also write an s-control to access the data and place it on the page. 

Finally, Visualforce pages will allow you to do this fairly simply, although they are only available in DE orgs now.

Hope this helps.
indyinfyindyinfy
Thanks Ricky. Your inoput helped.