Sign Up Now!Log In
sendow 11/24/2014 11:10:43 PM

Use VS Tools to click past GP print dialog?

I am developing a VST AddIn that voids a payment on the Void Historical Payables Transactions window.  The process works fine, and I'm able to get past a few modal dialogs on the window using BeforeModalDialog.

But after the payment is voided, several posting report dialogs are displayed that do not trigger the BeforeModalDialog event.

I can temporarily disable the two posting reports related to Purchasing - Void Historical Trx via SQL, but there is also the potential for the Apply To Posting Journal and General Posting Journal to print.  I'd rather not disable those via SQL, since those are not specific to the Void process.

Is there any way for VS Tools to detect the posting report dialogs and natively click the Cancel button?

If not VS Tools, how about Continuum?


Version: GP 2013
Section: .NET Development, Dynamics GP, Visual Studio Tools for Dynamics GP