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

Can not delete a Sales Order partially shipped

(0) ShareShare
ReportReport
Posted on by 103

I did a Sales Order with 4 lines, line 1 and 2 were shipped and invoiced.

Because other 2 lines won´t have quantity on time for shipping I need to delete this Order because I won't fulfill it anymore later.

So I need to delete this Order because I don't want to see it as a pending, because is not, but when I try to delete it, I get this message:

""The Sales Line cannot be deleted when a related Warehouse Shipment Line exists."

I don't have a pending Warehouse shipment either a warehouse pick pending...

 I'm working with an advanced warehouse setup for this orders.

Hope you can help me.

TIA!

I have the same question (0)
  • MarisolC Profile Picture
    103 on at
    RE: Can not delete a Sales Order partially shipped

    Big thanks!!! I was able to solve this! You saved my day!!! :D

  • Verified answer
    YUN ZHU Profile Picture
    92,206 Super User 2025 Season 2 on at
    RE: Can not delete a Sales Order partially shipped

    If you know how to customize, you can create a patch, such as a button in this page, and delete this line after you click it.
    If not, you can only find a way to use Configuration Package.

    Create a new Warehouse Shipment, then use Configuration Package to import Warehouse Shipment Line for the new created Warehouse Shipment. Please select Delete Table Records Before Processing.

    pastedimage1639700524075v1.png

  • MarisolC Profile Picture
    103 on at
    RE: Can not delete a Sales Order partially shipped

    Indeed a warehouse line is pending,

    pastedimage1639698329200v1.png

    But that warehouse shipment was deleted before... as we knew we wont be processing pending lines...

    Is there something I can do?

  • Suggested answer
    YUN ZHU Profile Picture
    92,206 Super User 2025 Season 2 on at
    RE: Can not delete a Sales Order partially shipped

    Hi, If you have not customized, you can directly delete the outstanding orders in the standard feature.
    For example:

    [View:/cfs-file/__key/communityserver-discussions-components-files/758/Test.mp4:933:700]

    So, I still think it is related to the Warehouse Shipment line. You can choose Warehouse Shipment Line to check it (You need to add Warehouse Employee first), or use directly URL to acces Warehouse Shipment Line table.

    businesscentral.dynamics.com/d8f36038-1f93-4543-affc-5dc92b6ee871/Sandbox02/?table=7321 (change the red part to your environment info)

    pastedimage1639697658883v1.png

    Hope this will help.

    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…

Abhilash Warrier – Community Spotlight

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

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 4,197

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 3,673

#3
Sumit Singh Profile Picture

Sumit Singh 2,907

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans