Saturday, March 22, 2008

Bypass Component Search Page

We can bypass the component search page in different ways.
1. One way is to set the key values using peoplecode and use the peoplecode function SetSearchDialogBehavior. You can write the code in the SearchInit PeopleCode. Suppose Employee Id is the only key, then the code will look like,


EMPLID = %EmployeeId;
SetSearchDialogBehavior(0);


2. Another way is to use a record which contain only one single row in it eg: PSINSTALLATION.
3. There is another method of using a record with no keys as the component search record. This will also bypass the search.

Based on the requirement you can use any of the above methods.

No comments:

Post a Comment