ComputerSystemsNetwork 8/9/2011 7:28:17 AM

Cancel Logic for a ClickBeforeOriginal event

I am writing this customization in c sharp using developers toolkit and ran into a deadend.  I hope somoen can pitch in and help me out.

I need to know how cancel logic (use to be in VBA) for an event in GP using Visual Studio Developers Toolkit for GP.

I called  PMTRXEntryWindow.SaveButton.ClickBeforeOriginal in my program.  Based on a specified criteria I need to either continue saving the voucher or not save it in GP.  Once the program is in method based on the event handler, how do one cancel the logic of the SaveButton event?  In VBA I remember you simply have CancelLogic which terminates the logic of an event.

Any suggestions?

 

 

Thanks 

 

 

 

Version: Unknown or N/A
Section: Visual Studio Tools for Dynamics GP


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3