web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How to reverse an AP Payment Journal using X++

(0) ShareShare
ReportReport
Posted on by

Hi EveryOne !

   I'm needing to reverse an AP Payment Journal, using X++.

Do you know if there is any sample code available, in AX 2012 R3 ?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Nishant2408 Profile Picture
    705 on at

    Accounts payable payment journals are vendor journals which basically cannot be reversed in standard AX, it can only be settled with other journal transactions. But if you want to have your own custom reversal process for AP payment journals, then you can use AXLedgerJournalTable and AXLedgerJournalTrans  classes to create a reverse transaction for the original Journal and use the standard posting code for newly created journal.

    You can use the below link for reference.

    https://community.dynamics.com/ax/b/axaptavsme/archive/2013/09/11/x-code-to-create-amp-post-general-journal

    Regards,

    Nishant Srivastava

  • Community Member Profile Picture
    on at

    Thanks Sukrut.

    Will read the post you suggested and use it as reference. Will ask further questions, if needed.

  • Community Member Profile Picture
    on at

    Hi Nishant, this is the way I reverse payment journal in AX.

    1. Select a vendor from All Vendors list page

    2. Select Invoice tab, and then click Closed Transaction Editing.

    3. I mark the desired payment, and then select the Reverse option.

    What a need to do, is to reverse a payment in a separated process.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Joris dG Profile Picture

Joris dG 5

#2
Alexey Lekanov Profile Picture

Alexey Lekanov 2

#2
Henrik Nordlöf Profile Picture

Henrik Nordlöf 2 User Group Leader

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans