- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 07:16 PM
Hello..
I have a field in portal that reference to cost center table. I set display = true for coce, so reference field will show cost number code.
i want to know, can i search using code or name of cost center in field that reference to cost center table??
thank you. and please help
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 07:42 PM
Yes, you can add attribute to the field or variable where you want to search by code.
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=code,ref_ac_columns_search=true,ref_ac_order_by=code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 07:39 PM
Hi,
Yes, you can search on different field for reference field. display = true is used to display field so that you can only display one field but you can always search for different fields.
You might find below links useful.
For SC variables - Variable attributes
For fields - dictionary attributes
Thanks,
Akshay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 10:31 PM
thank you for your help.... 😄

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 07:42 PM
Yes, you can add attribute to the field or variable where you want to search by code.
ref_auto_completer=AJAXTableCompleter,ref_ac_columns=code,ref_ac_columns_search=true,ref_ac_order_by=code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2018 10:31 PM
thank you for your help... 😄