Help with record producer advanced reference qualifier

Joe Weisiger
Giga Expert

Hello,

I have a record producer with a reference variable that requires an advanced reference qualifier. 

It is not working and looking for some help with the code.

javascript:'vendor='+current.variables.vendor^current.contract_model="8881e836c3102000b858fd251eba8f28";

Any help is appreciated.

Joe

1 ACCEPTED SOLUTION

Nick Parsons
Mega Sage

Looks like your quotes are in the wrong positions, try this instead:

javascript: 'vendor=' + current.variables.vendor + '^contract_model=8881e836c3102000b858fd251eba8f28';

I'm guessing contract_model is a field in the table that you're reference qualifier is being used to query.

View solution in original post

10 REPLIES 10

Brian Lancaster
Tera Sage

What type of variable are you trying this on?

Contract model is a reference field on the record producer.  I should note that the 1st part works by itself.

javascript:'vendor='+current.variables.vendor

Looks like you are hard coding contract_model so I don't thing you need current since your not pulling it from a variable or anything. So I think it should just be javascript:'vendor='+current.variables.vendor^contract_model="8881e836c3102000b858fd251eba8f28";

Thanks Brian.  I tired this and the field still lists all contract models instead of just the hard coded one.