Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

Can not delete a Sales Order partially shipped

Posted on by 338

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
    MarisolC 338 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
    YUN ZHU 73,696 Super User 2024 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
    MarisolC 338 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
    YUN ZHU 73,696 Super User 2024 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans