Showing posts with label How to Skip a Search Record Prompt When You Know the keys. Show all posts
Showing posts with label How to Skip a Search Record Prompt When You Know the keys. Show all posts

How to Skip a Search Record Prompt When You Know the keys

How to Skip a Search Record Prompt When You Know the keys
You have two settings to choose from: skip if possible (0) and force display (1).

If you use the skip if possible setting, then you need to have the keys. Assume your
keys are EMPLID, EMPL_RCD, and EFFDT. Here is what the SearchInit PeopleCode
would look like:

SetSearchDialogBehavior(0);
EMPLID = %EmployeeID;
EMPL_RCD = 0;
EFFDT = &DateVariable;