How can a Lookup select box reference qualifier get current.variables.company in order guide?

Drew8
Tera Guru

I'm running into an issue with a catalog item that gets pulled into an order guide. The reference qualifier works just fine when using the catalog item by itself but when the item is brought into the order guide through the "Choose Options" the reference qualifier doesn't seem to work

The catalog item and order guide both have a company variable. I can see both are getting set properly. My lookup select box is using a reference qualifier like this:

javascript: 'active=true^companyLIKE' + current.variables.company

I added a console.log in that reference qualifier and it seemed like company was empty like it was getting the value before it was set. Is there another way to force the qualifier to wait for the value to be set before evaluating?

3 REPLIES 3

Mohith Devatte
Tera Sage
Tera Sage

Hello @Drew ,

Can you make sure if both the variables from order guide and the catalog item have different back end names

if not please try to change the back end name of order guide variable and try

Also remove spaces in your reference qualifier. Please paste this and try

javascript:'active=true^companyLIKE'+current.variables.company

Please mark my answer correct if it helps you

 

The mappings we have link the variables together so requested for gets set on the order guide main screen and carries to the catalog item on the next screen. Is that normally an issue?

Turned out what I was experiencing was a bug with select boxes on order guides with cascading variables. The issue was resolved in San Diego Patch 6.