on 10-15-2009 9:28 AM
Hello,
i use the search for ERP quotations and ERP orders in CRM 7.0 webclient UI.
The issue i face is, that if someone executes the search without filling out search attributes this takes very long.
Could one of you please assist how to prefill one of the searchattributes:
For example: timeframe "is later than" 01.01.actual year.
Or do you have better ideas to avoid search without criteria?
Thank you
Best regards
Manfred
Hi Manfred
You can enhance the search component and then prefill the default value for any attribute in DO_PREPARE_OUTPUT method of the view controller class.
Best Regards
Bhavishya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ManniF,
You can add th hidden search criteria in method EH_ONSEARCH.
This field should need not be available in UI (but should be a valid field using which the ERP Orders can be searched).
Add this field to the query service in method EH_ONSEARCH using method ADD_SELECTION_PARAM.
Just after you get the result(after execution of method GET_QUERY_RESULT), remove the search parameter.
Take a look at method EH_ONSEARCH, you will undestand the code.
Regards,
Masood Imrani S.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.