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 :
Small and medium business | Business Central, N...
Suggested Answer

Cannot delete sales invoice

(2) ShareShare
ReportReport
Posted on by 4
Hello,
 
We are trying to delete a sales invoice and get the following error: /Qty. Shipped Not Invoiced must be equal to '0' in Sales Line: Document Type=Invoice, Document No.=, Line No.=10000. Current value is '1'./
 
When we try to get shipment lines and undo shipment we get the following: The Sales Line does not exist. Identification fields and values: Document Type='Order', Document No.=, Line No.='10000'.
 
The related sales order is in archive but we cannot bring it back since no unposted order exists.
 
Thank you 
I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at
  • Suggested answer
    Jun Wang Profile Picture
    8,200 Super User 2025 Season 2 on at
    it's not recommended to delete an invoice, unless no transaction/other document is associated with it. From the message, it is likely, there are shipped item associated with the invoice.
    You could go to item ledger entries to find if this is the case. If you can't find it on frontend, try to get a dev to look at the backend to be sure if a shipment exists.
     
    It will help if you could replicate the processes of the issue, and share it so other experts can share their thoughts.
     
    Jun Wang
  • Suggested answer
    YUN ZHU Profile Picture
    95,309 Super User 2025 Season 2 on at
    Hi, have you ever tried Restore in Sales Order Archive and then Undo?
     
    Hope this helps.
    Thanks
    ZHU
     

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 3,175

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,476 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,435 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans