not getting result when change from reference to lookup box

chercm
Mega Sage

i have a catalog form and when i used to the reference and reference qualifier javascript: "install_status=6^stockroom=" + current.u_stockroom;  how can i change to use lookup box where it will look for instock status ?

 

image.png

image.png

 

1 ACCEPTED SOLUTION

Hi @chercm I found the reason why it is not working for you because for look up select box you need to ref_qual_elements=stockroom under variable attributes.

 

'your reference qualifier will be

javascript:'install_status=6^stockroom='+current.variables.stockroom;( stock room is the variablename of reference field)

 

I tested in PDI the below works fine refer below screenshots

HarishKM_0-1710468101861.png

HarishKM_1-1710468124563.png

 

Regards
Harish

View solution in original post

10 REPLIES 10

Tyler Johnson
Tera Expert

you should be able to change the selection from advanced to simple and use the drop down menu. 

 

Sumanth16
Kilo Patron

Hi @chercm ,

 

Change the reference qualifier to  javascript: 'install_status=6^stockroom=' + current.stockroom;

 

If I could help you with your Query then, please hit the Thumb Icon and mark it as Correct !!

 

Thanks & Regards,

Sumanth Meda

 

 

 

i got no result . @Sumanth16 

 

image.pngimage.png

 

Hi @chercm I found the reason why it is not working for you because for look up select box you need to ref_qual_elements=stockroom under variable attributes.

 

'your reference qualifier will be

javascript:'install_status=6^stockroom='+current.variables.stockroom;( stock room is the variablename of reference field)

 

I tested in PDI the below works fine refer below screenshots

HarishKM_0-1710468101861.png

HarishKM_1-1710468124563.png

 

Regards
Harish

@Harish KM  thanks so much , i was scratching my head so hard on this.