Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Settle open transaction X++ code not working in Service class (IL)

Posted on by 445

I was trying to settle open transaction through X++ code.

CustTrans::SettleTransact()

The above line working without any issue on jobs or classes in X++ code. But this code not working in Service class only its marking the record. its not settling the record.

Please guide me to identify the issue and resolve it.

*This post is locked for comments

  • Verified answer
    Mohamed Asarafali Profile Picture
    Mohamed Asarafali 445 on at
    RE: Settle open transaction X++ code not working in Service class (IL)

    Thanks for showing interest. This issue has been resolved. I have created the Custom service for third party applications to consume. It was the mistake from the other side. which they call the method with wrong parameters.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,188 Super User 2024 Season 2 on at
    RE: Settle open transaction X++ code not working in Service class (IL)

    Hi Mohamed,

    Can you elaborate? What do you mean with 'Service class'? Have you checked if all code is running on the same tier? e.g. all on client or all on server?

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!

Community AMA December 12th

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

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,030 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans