Notifications
Announcements
No record found.
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
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
Thanks Sukrut.
Will read the post you suggested and use it as reference. Will ask further questions, if needed.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2