Show both "name" and "customer_number_c" in the SQS for Accounts

I have changed our Accounts default filters to allow the users to enter a Name or Customer Number when linking an Account to other records in our SugarCRM via Relate Field (be it an actual relate field or one defined by a 1:M relationship).

When they search using the SQS they would like the SQS dropdown to display both Name AND Customer Number.

For example, when entering customer number 123 in the relate field's SQS it will pull up accounts with customer number 123 but also 1234 and the dropdown will display only the account names, and not the customer number.

Ideally they want to see both "Name CustomerNumber" or "Name (CustomerNumber)"... you get the idea.

Thanks,
Francesca

Parents
  • SQS like in BWC mode? Do you mean in Sidecar? Can you provide some screenshots?

  • I mean the dropdown in a Relate field (I always called the results from typing in the relate field the SugarQuickSearch SQS, please let me know if I'm using the wrong terminology.

    I set it up so I can search by Name OR Customer Number, but I can't get it to display both in the resulting dropdown.

    Thank you,
    Francesca

Reply
  • I mean the dropdown in a Relate field (I always called the results from typing in the relate field the SugarQuickSearch SQS, please let me know if I'm using the wrong terminology.

    I set it up so I can search by Name OR Customer Number, but I can't get it to display both in the resulting dropdown.

    Thank you,
    Francesca

Children
  • I understand this functionality must work same quick search, i remember that section are a layout that content some views between theses "quicksearch-results" may be are help to you.

    In other case i see the code of clients/base/fields/relate/relate.js
    and exists one function called search() into retrieve data from module and i want show yourself this code, the coments with this characters "<--" maybe give you a idea.

    This is result

    Cheers