Create a search lookup for account number , like when seraching for an account name in a case

Hello I would like to understand how I may clone the search/dropdown function that is available when searching for an account from a case (as shown in the attached image

how it that pulled in? from where? how can I replicated it for another item from the accounts module


Take a look into these posts for some ideas: