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

Announcements

News and Announcements icon
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 56

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
    239,735 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
    56 on at

    Hi Martin,

    Kindly send me the code pls.for AX 2009

  • Martin Dráb Profile Picture
    239,735 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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 564 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 503 Super User 2026 Season 1

#3
Subra Profile Picture

Subra 421

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans