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 i can Replace LedgerAccount and MainAccounts after at Order is Invoiced?

(0) ShareShare
ReportReport
Posted on by 578

8168.C_5F00_0.PNG

Apparently generated in this line

tp2.PNG

And are inserted in GeneralJournalAccountEntry, 

How can I edit or delete these lines immediately after Invoice?

Thanks in advance!

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Ludwig Reinhard Profile Picture
    Microsoft Employee on at

    Hi,

    Simply create a correction transaction with opposite signs to get this corrected.

    Editing or deleting already posted transactions is not allowed according to any GAAP that I know and doing that will cause you a lot of problems if found out.

    Best regards,

    Ludwig

  • ismaelivan Profile Picture
    578 on at

    Hello, thanks for your help, what I really want is to edit the account from the invoice line.

    cap001.PNG

    that's why I need to know how to edit, Is it Possible?

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    You can't and shouldn't do that. What's posted is posted, and you can't change that. And, any auditors or people who are responsible for accounting in your company would definetely not like that.

    It's like taking the receipts from your cash register and "fixing" them with ink remover and pencil.

  • ismaelivan Profile Picture
    578 on at

    Hi Nikolaos, i read this post that maybe I can be useful, but I want to do it by code  blogs.msdn.microsoft.com/.../modify-and-edit-main-accounts-in-microsoft-dynamics-ax-2012

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    That article is about changing the id/number of a main account in the chart of accounts. That change will be reflected on all transactions that were posted to this account. A quite similar feature of changing the id/key of a master data record is available also elsewhere in the system.

    The scenario is totally different than changing the accounting of a single posted transaction.

  • ismaelivan Profile Picture
    578 on at

    it's right, I need it to a single posted transaction when generating the invoice, mmmm precisely the accounting department is requesting it.

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Just tell the accounting department to post a corrective transaction. It takes 5 minutes. That's how you are supposed to do it.

  • ismaelivan Profile Picture
    578 on at

    And it is not possible to select a different account from the lines to invoice ?, not edit, if not select another account.

  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    No. You can't change the accounts of a posted invoice.

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans