The Zurich release has arrived! Interested in new features and functionalities? Click here for more

Query a reference field

charanpreet
Kilo Expert

I am trying to query a reference field with function, gr.addQuery('name', current.name); Both name and current name are reference field refeering to non display value. But the record is not getting queried.

10 REPLIES 10

vipsood
Tera Contributor

Wanted to add .. this query was failing for me because reference field stores values "sys_id" and not the display value.


Querying using sys_id solved it.