TRY CATCH CODE IN DYNAMICS AX ,D365 ,AX 2012 CODE
System.Exception ex;
try
{
FormletterService.Run()
}
catch(Exception::CLRError)
{
ex =
ClrInterop::getLastException();
if (ex
!= null)
{
ex = ex.get_InnerException();
if (ex != null)
{
throw error(ex.ToString());
}
}
}
Thanks,
Vikas Mehta.
Thanks for sharing. Nice blog
ReplyDeleteD365 finance and operations
D365 finance and operations online training