Skip to Content
0
Former Member
Jul 05, 2006 at 09:34 AM

only an Event Filter for my Addon !?

53 Views

hi,

is it possible to set the event filter only for my addon and not for standard function or other addons ?

in my addon i'm usin a crystal report viewer. So i catch the Menu_CLICK-event 519 (preview) and 520 (print)

But when i use the event filter on a special form, the event Filter is set for the whole Business One.

For example, i set my filter on form 139. But if the user print on other forms (140, 133,...) the standard PLD should work !

What is going wrong?

oFilters = New SAPbouiCOM.EventFilters()
oFilter = oFilters.Add SAPbouiCOM.BoEventTypes.et_MENU_CLICK)
oFilter.AddEx("139") 'Formular 
moSBOApplication.SetFilter(oFilters)

regards

Markus