Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

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

(0) ShareShare
ReportReport
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,391 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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans