Within Search Configuration a new option has been created called ‘On No Result Perform ? Search’. Whilst this will default to True for all search types, sites can change the on/off setting per Search Type ie Product/Customer/Supplier.
With this function the System Search Global Routine has been updated which will allow the system to perform multiple searches, stopping when results are found. To understand just how the system does sort the results we have stepped through the process below:
For Customers and Suppliers when not using a prefix:
- If the keyed in value is a Numeric, it will perform an ‘Exact’ search on the Account/Supplier Number. If found that one record will be returned.
- If still no results, it will perform a ‘Starts With’ search on the Sort Key. If one record is found it will be returned, or if more than one record is found then the index screen will load. If Extended Search is keyed in (eg ,MAY), it will include ‘Exists In’ search of the extended fields during this time.
- If still no results and ‘On No Result Perform ? Search’ is True, and the keyin is 2 characters or greater in length, it will perform an ‘Exists In’ search on Trading Name / Name. If one record is found it will be returned, or if more than one record is found then the index screen will load.
For Products when not using a prefix:
- It will perform an ‘Exact’ search on Product ID. If found that one record will be returned.
- If still no results, it will perform an ‘Exact’ search on Barcodes. If one record is found it will be returned, or if more than one record is found then the index screen will load.
- If still no results, it will perform an ‘Exact’ search on Sort Key, or one of the Alternate Keys. If one record is found it will be returned, or if more than one record is found then the index screen will load. If Extended Search is keyed in (eg ,MAY), it will include ‘Exists In’ search of the extended fields during this time.
- If still no results and ‘On No Result Perform ? Search’ is True, and the keyin is 2 characters or greater in length, it will perform an ‘Exists In’ search on Full Description. If one record is found it will be returned, or if more than one record is found then the index screen will load.
In turn, users should note that when performing a search without a prefix while on the index screen, it will no longer perform a ? search.
Users should also note that when performing a prefix search, it will only perform that one search.