Refrence lookup not working in ui page HTML code for g:ui_reference

dimple adlakha
Tera Contributor

 

I am getting the issue my lookup not working while adding multiple condition by sapreting the AND in query in Ui page in html script 

 

<g:ui_reference name="oldCiReference" id="oldCiReference" query="status==5^location==location " table="u_cmdb_toc_devices" onChange="getCiValuesOld()" />
</td>

 

If i remove the AND condition location ==location then the lookup working fine could you suggest

3 REPLIES 3

Prashant Ahire
Kilo Sage

can you please specify what is a location field here?

So i have a task form it has a location field and within the same form i have a related link called xyz if user click on that link a dilouge box open which have a different form which take refrence of ci table .

So it should only allow me to enter the ci which have same location as task and status is 5 

 

@Prashant Ahire So its working fine but once i add the AND condition in query of html tag  lookup not working once i remove the location condition its working fine .

 

so the location is the backend name of both the table

dimple adlakha
Tera Contributor

Where the location is the field of that refrence variable ( We have related link and after click on that link a dilouge box open where there is a field which have refrence type ) and i need to comapre the location field of the main form . So the location of the main form matched to the location of that related link form field