Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Capture Specified Error in Aif Services

Posted on by 55

Hi All,

I'm working with sales order inbound service and my requirement is to capture the meaningful error and inserted in to new custom table and I have did my research on that found SysExceptionTab is having all exceptions and I'm not much confident to use this table can you please share any solution on it.

Regards,

Veejay kumar

*This post is locked for comments

  • Suggested answer
    Vilmos Kintera Profile Picture
    Vilmos Kintera 46,149 on at
    RE: Capture Specified Error in Aif Services

    I would like to bring it to your attention that AIF message processing is opening a TTS transaction, and for special cases you might want to reset TTS level to 0 for proper error handling within your code, instead of customizing the AIF framework yourself to do that. Have a read about the following posts to get some ideas:

    [View:http://dotnet-posts.blogspot.com/2015/02/exposing-ax2012-business-logic-and-data_16.html:750:50]

    [View:https://erpcoder.wordpress.com/tag/dynamics-ax-2012-aif/:750:50]

  • Suggested answer
    Amir Nazim Profile Picture
    Amir Nazim 5,994 on at
    RE: Capture Specified Error in Aif Services

    If you need to handle this in your consumer. An example below can help you. This way you can read the exception trace completely.

    msdax.wordpress.com/.../how-to-get-meaningful-aif-messages-on-web-service-consumer

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,232 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,064 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans