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
BridgetreeBridgetree 

Get Product details based on field

Hi alll...

 

         I am in a big problem pls solve this for me.. My requirement is.

 

I have a lookup field in Lead coming from accounts. Now i should get the product list based on the value of the lookup

field. I have made a object in which some products are stored in the account name.

 

So in simple terms.

step 1: I have one field. I enter a data.

step 2: Then i click a button Add products.

step 3: Soon after it get the list of product and its detail based on the value in step 1. I have made a page called Franchisee

in which i will be saving some products for each account.

 

 

Pls help me in finding the solution.

MikeGillMikeGill

It sounds like you're trying filter lookup lists using visualforce.

 

This helped me do something similar

 

http://bobbuzzard.blogspot.com/2010/09/visualforce-lookup.html

 

Try this example out first - good luck