cancel
Showing results for 
Search instead for 
Did you mean: 

[OVS] No popup when single entry

guillaume-hrc
Active Contributor
0 Kudos

Hi,

When the search returns a single entry, is this possible to "cancel" the OVS popup display and react as if this entry has been selected?

Thanks in advance for your help.

Best regards,

Guillaume

Accepted Solutions (1)

Accepted Solutions (1)

former_member184578
Active Contributor
0 Kudos

Hi,

In Event Handler Method of OVS , first fetch the record from data base based on selection criteria. If the no of records is 1 use set_attribute method and set the fetched record. If not then use co_phase=>1 for popup .

do this in the first line of OVS event handler.

"fetch the data based on selection criteria.

if count = 1.

set value using set_attribute method.

else.

normal OVS code.. phase 0, 1 2 3.

endif.

hope this helps u.,

Thanks & Regards,

Kiran

Answers (0)