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
}