How Do I Disregard Unwanted Criteria from a Search Triggered by a Search Button?

When a search button (currently implemented as an IMG) is pushed, the system launches a search and "pulls" all applicable criteria values from the current model. It might be that certain criteria fields should be ignored in a particular case. You can define the function addIgnoreFieldsFor_​<triggerFieldName>() on a tab or search page's user exit file to specify fields to ignore whenever the IMG button named triggerFieldName is pushed on that page.

The function takes a single argument, fields, and you should add key/value pairs where the key is a field name to ignore, and the value is true.

Example:

         addIgnoreFieldsFor_​ADDRESS1_​SRCH = function(fields) {
           fields['CITY_​SRCH'] = true
         }
         
         addIgnoreFieldsFor_​PER_​ID = function(fields) {
           fields['ENTITY_​NAME_​SRCH'] = true
         }