Skip to Content
0
Nov 26, 2009 at 03:58 PM

Server Event to populate dropdown in Adveance search

64 Views

Hi Everyone,

I have a Z search Compoent which is based on Advance Search Query Object.

In search criterai we wish to have search on User status. Now since they are not generic and depend on transaction types, the idea we had thought of first let user select the transaction type in search criteria and then select user status.

I need to populate user status depending on the transaction type selected. I have my code in place. Now the problem is, the dropdown values in user status dont get refreshed with new values when transaction type is changed.

Ideally we use GET_P and have fp_server_event in normal view scenarios. Thus whenever dropdown value changes, fp_server_event gets called.

However, on search view, i found that get_ , set_, get_p etc methods are not getting called at all...Its the GET_DQUERY_DEFINITION method gets called and hadnles everything.

I am not able to get ANY KIND OF EVENT when dropdown value is changed in search criteria.

Anybody have any idea of Is there any event that can be fired or is getting fired when one changes value in a dropdown in Search criteria ?

I tried puting Breakpoint in DO_HANDLE_EVENT, DO_HANDLE_DATA, GET_, GET_P, GET_V , DO_PREPARE_OUTPUT etc...but none of it gets fired on change of dropdown value...

Can anyone suggest me any solution ?

Thanks a lot for your time for reading my qurery .

Regards,

Suchita