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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Partially Invoiced Sale Order

(0) ShareShare
ReportReport
Posted on by

Dear All

I want to close all partial invoice sale order and the status of these order is open order.

Regards

*This post is locked for comments

I have the same question (0)
  • Verified answer
    André Arnaud de Calavon Profile Picture
    299,069 Super User 2025 Season 2 on at
    RE: Partially Invoiced Sale Order

    Hi Adny2k,

    I think you delivered partially and invoiced only the delivered goods. Then indeed you can have older open orders. You can during posting of the packing slip or invoice specify whether the remaining quantity should be closed or not. This is a possible way to close the orders already. As you don't have to deliver and invoice any goods, you can manually use the deliver remainder function on the sales order lines.

    It could be automated, but then you have to write some logic within a script (AOT: Job)

  • Community Member Profile Picture
    on at
    RE: Partially Invoiced Sale Order

    Thanks for Answer . Can u guide or any other AOT script for closing. actually there thousands of order open.

    Regards

  • André Arnaud de Calavon Profile Picture
    299,069 Super User 2025 Season 2 on at
    RE: Partially Invoiced Sale Order

    Hi,

    Unfortunately I cannot help you right now. When I had this script myself available I would have shared it. It needs to be created with knowledge of the datamodel and x++ programming language. If you don't have the skills you can find someone to do it for you.

    The SalesLine contains the fields RemainSalesPhysical and RemainInventPhysical. Also related to the sales line a record exists in the InventTrans. This record should be set to zero or deleted.

    You can look on the form SalesUpdateRemainder for some ideas how to call the logic.

    Then you also have to think about on which conditions an sales order can be considered as really closed and thus update the deliver remainder.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

#2
Guy Terry Profile Picture

Guy Terry 2 Moderator

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans