on 11-21-2007 3:45 PM
Hi,
I am working on CRM 4.0 Web IC.
I have a requirement where the search result of BUPA which appears on 'BuPaSelectCustomer' view needs to be in a the sort order of "Post code" and "House number". Please let me know how to go about it since these fields are not there in the attributes of BuilHeader.
Please note BuPaSelectCustomer view has already been controller replaced.
Regards,
Vin
Hello Vin,
Those fields are in the BuilStandardAddress or BuilStandardAddressVersion but this is just for your information.
You can perform the sort in two places
Either in the EH_ONSEARCH method of the BupaSearch.do (B2C) / BupaSearchB2B.do. In that method the query is actually launched (FIRE_QUERY) and the results retrieved. You can sort the search results here.
Or, you can perform a sort in the IP_INBOUNDPLUG of the BupaSelectCustomer.do.
How to filter?
Results are stored in BOL collections, simply call the SORT method of the collection. (Pass the field you want to sort on in IV_ATTR_NAME and the order in IV_SORT_ORDER)
Some basic knowledge of the BOL model is required though.
Hope this helps!
Regards,
Joost
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
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.