Display Field Value Dynamically

Pintu2
Tera Expert

I have a reference field Dept Contacts and another field called Department Cost Center which displays cost center information of the employee like 8900. I want to display Dept Contacts based on Cost Center information.

Like if Department Cost Center is 8900 then Dept Contacts field should only display contacts related to 8900 when user clicks on Dept Contacts field .

I'm stuck at doing this in a couple of ways but not sure I cant achieve this.

Can anyone help me with this?

 

Appreciate your response!

Thanks

Prashanth

1 ACCEPTED SOLUTION

I tried adding a script include in the script with a function for reference qualifier .Then it worked for me.

View solution in original post

9 REPLIES 9

u_dept_contacts which is a reference field referring to a table. can you tell me the cost center field in that table which is storing the cost center value?


Please mark this response as correct or helpful if it assisted you with your question.

Department Cost Center(u_dept_cost_center) is the one which has cost center information on the table.

Then you reference qualifier should be 

 

javascript:'u_dept_cost_center='+current.u_dept_cost_center;


Please mark this response as correct or helpful if it assisted you with your question.

No Thats not working

I tried adding a script include in the script with a function for reference qualifier .Then it worked for me.