on 06-26-2015 2:44 PM
Hi Expert ,
I am trying to catch event of "Period Discount Items- Selections Criteria" form .But not able to catch the event below is my code :
SAPbouiCOM.EventFilters oFilters;
SAPbouiCOM.EventFilter oFilter;
oFilters = new SAPbouiCOM.EventFilters();
oFilter = oFilters.Add(SAPbouiCOM.BoEventTypes.et_ALL_EVENTS);
oFilter.AddEx("1470000159");//Period Discount Items- Selections CriteriaSpecial Price
oFilter.AddEx("640");//Special Price
SBO.SBO_Application.SetFilter(oFilters);
SBO.SBO_Application.AppEvent += new SAPbouiCOM._IApplicationEvents_AppEventEventHandler(SBO_Application_AppEvent);
SBO.SBO_Application.FormDataEvent += new SAPbouiCOM._IApplicationEvents_FormDataEventEventHandler(SBO_Application_DataEvent);
In above code for Special price event is working fine .Please give me suggestion why "Period Discount Items- Selections CriteriaSpecial Price" event is not working.
Thanks
Surajit
Hi Surajit,
Feeling strange by reading your question. First, the Form.TypeEx for Special Price in my test DB (French localization) is 668 and not 640.
Second, since you're replacing the whole default global filter... The best bet to explain the fact that the addon is catching nothing regarding the "1470000159" FormTypeEx is... That this is not the correct value.
May you double check both of these?
Regards,
Eric
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.