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

Notifications

Announcements

No record found.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans