chovan 5/20/2016 4:27:20 PM

Write eConnect system exceptions to SQL

Hi all,

          I'm working on my first eConnect solution. I have my code in a try, catch, finally block. I currently write it to the screen/ console. My question is how do I write the error message if there is an error message to a SQL table?

catch (System.Exception sysexc)
 
             {
                         Console.WriteLine(sysexc.ToString());
             }

 

Best regards,

Steve

 

Version: GP 2013
Section: .NET Development, Dynamics GP, eConnect


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