Bypass Search page in a Component
Bypass Search page in a Component
1. You can use function peoplecode setsearchdialogbehavior(0) at searchinit keyfield for bypass search record.
- setsearchdialogbehavior(0) for skip if possible search record
- setsearchdialogbehavior(1) for force display search record
2. Use search record is INSTALLATIION
or use record no search key or Derived/Work record
More detail about search record dialog box of the component
Force Search Processing
- If select the Checkbox then even if the above conditions are true, the system will always display the search dialog box.
- Clear Checkbox Force Search Processing (The Default is cleared)
- If all required keys have been provided (either by system defaults or by PeopleCode).
- If this an Add dialog box, then no “duplicate key error” results from the provided keys; if this error occurs, the processing resets to the default behavior.
- If this is a Search dialog box, then at least one row is returned based on the provided keys.
Reference: http://peoplesoftexperts.blogspot.com/2006/01/how-to-skip-search-dialog-box_04.html