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 NAV (Archived)

Deleting invoiced sales orders with open quantity

(0) ShareShare
ReportReport
Posted on by

Hello All,

I have a customer that orders several items daily.  If the order is completed and shipped the sales order header is deleted (achieved) but if there is an item that isn't filled we don't fill in the quantity shipped field and ship+invoice the order.

Where I am having problems is I would like to have the 'delete invoiced sales orders' report remove these outstanding sales headers (shipped=invoiced) but it is leaving them.  Is there a field that needs to be checked off so the report will still delete these orders?

The alternative is either deleting each line which we don't ship, which is time consuming when there are shortages on many orders, or deleting the sales order headers one by one after the fact which is also very time consuming.

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Suresh Kulla Profile Picture
    50,278 Super User 2026 Season 1 on at

    Does the order have a line with the outstanding quantity ? If so then you need to update the quantity to match quantity shipped and invoiced, or if that line is not shipped at all then you need to delete that line before ship + Invoice if you are not fulfilling it. 

  • Suggested answer
    Alex A Profile Picture
    3,105 Super User 2026 Season 1 on at

    Hello,

    You will need to reduce the Quantity ordered down to match the amount that was shipped and invoiced for that line. Alternatively, if the none of the Quantity ordered has been shipped then you must delete this line from the Sales Order. Then you will be able to delete the Sales Order or run the Delete Invoiced Sales Orders report.

  • Suggested answer
    RobertasR Profile Picture
    5,004 on at

    Hi Gary,

    think about it in this way - if I expect to ship items partially, after the first shipment (and invoice) my sales order would be shipped=invoiced. If system deletes it, then I would never fulfill the order, would I?

    That is the reason why back orders (orders with outstanding quantities) are not deleted.

    I would recommend tightening the sales order management. When you (or whoever manages orders) know that the rest of the sales order will not be fulfilled - the quantities have to be reduced to match what was shipped. Then the 'Delete SO' batch will pick those up and delete automatically.

    Hope that explains it.

    Robertas

  • Community Member Profile Picture
    on at

    I understand all your points but if we are deleting the lines then there is no real way to determine or run a report showing how much was short shipped (or skipped entirely).

    I recognize that I may still be thinking from the point of view of SAP which allows orders to be checked off as shipment complete even if not fully filled, but I have to believe that there is a way to get this sort of report showing short-ships and missed items without having to alter the sales order header.

  • Suggested answer
    Alex A Profile Picture
    3,105 Super User 2026 Season 1 on at

    Hello Gary,

    You don't alter the Sales Order, thereby reducing the Quantity ordered or deleting un-shipped lines, unless the customer has cancelled the remaining Items on that Sales Order.

    You wouldn't want to have the "'delete invoiced sales orders' report remove these outstanding sales headers (shipped=invoiced)" as you stated, because those Items should still need to ship if they are legitimate.

    So, if the Items are in fact still on customer order but not shipped/invoiced yet then you leave them on the Sales Order. Why would you want to delete those Sales Headers?

    You only want to delete Sales Headers once the Quantity Ordered has been completely fulfilled - whether that means shipping & invoicing in full or reducing the amount on the lines if the customer changes their intention.

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 NAV (Archived)

#1
TAHER_El_Mehdi Profile Picture

TAHER_El_Mehdi 2

#1
sliderxb Profile Picture

sliderxb 2

#1
broberts Profile Picture

broberts 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans