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...
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!

  • 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
    85,918 Super User 2025 Season 1 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
    85,918 Super User 2025 Season 1 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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

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

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,655

#2
Mansi Soni Profile Picture

Mansi Soni 1,574

#3
YUN ZHU Profile Picture

YUN ZHU 1,453 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans