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

"reject script" equivalent in Visual Studio tools for GP using C#

Hi,

For one of the project, I have to check a condition while users posting the transaction in Payables Transaction Entry window. If the condition is fulfilled, then only the users should be able to post the transaction, otherwise i should warn the users saying the condition is not fulfilled.

 So i have to register event (focus trigger) trigger on Post button with "ClickBeforeOriginal" option.  In the event - i have written the code to check whether the condition is fulfilled or not.  If condition is not fulfilled i have to stop the Posting event from GP Payables Transaction Entry window. 

So to stop the Post event in Payables transaction entry - please some one provide the equivalent command in c# for "reject script" command in dexterity.

 

 

 

Version: Unknown or N/A
Section: Dexterity, 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