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 

lookup field in pageBlockTable

Hi... Hope everyone is doing well.

Well i was doing some inbound project and the UI wanted from client id really something worry.


There is a Custom Object in which i have the Product Look up relationship.

 

He wants a page block table in which he has two fields.

 

Product Name which is a lookup in this custom object. and other is the Product Code which is in Product standard object.

When the product name is selected, after its selection, it has to display its code.

I know this has to be done using Wrapper classes. Tried but not working. Can you give me some sort of lines to achieve it.

There are two fields as mentioned. I should be able to add row to the table. On adding again same procedure should work on.

Phaniraj N



BridgetreeBridgetree

yeah its a duplicate one. Since it invloves both VFp and controller, its has been posted in both...

 

Hope you will give me solutionj for this.