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 :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to change the sales order status open though X++ in AX 2009

(0) ShareShare
ReportReport
Posted on by 30

Hi all,

Sales order has been invoiced through manual process.

Is it possible to make it the sales order in Open order status again through X++?

I mean then user can do packingSlip, Invoice manually again if required?

Customer wants to do for one specific sales order. 

Please give me more shed on this 

Thanks!

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    Yes, it can be done. But before you can write any code, you must understand the process. And if it's just for a single order, writing code likely isn't worth it.

    You can re-open the order by posting a credit note (a negative invoice). For example, look at How to Correct a Posted Invoice.

  • @rp@n Profile Picture
    30 on at

    Hi Martin,

    Kindly send me the code pls.for AX 2009

  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    I can give you advice, but I'm not going to do all your work for you. I also don't have any AX 2009 environment anymore.

    First of all, are ou sure you need any code at all?

    Try the manual process. If you don't know how to do it manually, don't try to automate it. Learn the basics first and then build on top of them.

    Think about your requirements, especially whether you want to revert or lines or just selected ones.

    Then look on the internet for information about invoice posting. An extra keyword you might find useful is FormLetter.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 503 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 434 Super User 2025 Season 2

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 278 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans