Skip to main content

Notifications

Announcements

No record found.

Supply chain | Supply Chain Management, Commerce
Suggested answer

Warehouses cannot be deleted while dependent Warehouses exist. Delete dependent Warehouses and try again.

Posted on by 2

Hello Friends

I used Data management functionality on D365 F&O to import warehouses.

After import data I want to delete one of record which type is Goods in transit warehouse. 

But system does not allow me to delete.

which tables should I control?

2022.05.14_5F00_18h54m24s_5F00_019_5F00_.png

  • Arnaud Sodji Profile Picture
    Arnaud Sodji 20 on at
    RE: Warehouses cannot be deleted while dependent Warehouses exist. Delete dependent Warehouses and try again.

    Here is the rootcause:

    MS have sys code extending the staging table and restricting deletion of a record in InventLocation if record in staging has reference in the GIT and UND fields.

  • Arnaud Sodji Profile Picture
    Arnaud Sodji 20 on at
    RE: Warehouses cannot be deleted while dependent Warehouses exist. Delete dependent Warehouses and try again.

    Hello Davut,

    I faced the same issue.

    We managed to solve it following those step:

    1- Delete the record in data management Staging table which include the Goods in transit warehouse

    2- Delete the record in warehouse table

    Best Regards,

    Arnaud

  • davut Profile Picture
    davut 2 on at
    RE: Warehouses cannot be deleted while dependent Warehouses exist. Delete dependent Warehouses and try again.

    Hello Danny

    Of course I check. There is no related warehouse.

    FYI

  • Suggested answer
    Danny Bilodeau Profile Picture
    Danny Bilodeau 4,058 Super User 2024 Season 1 on at
    RE: Warehouses cannot be deleted while dependent Warehouses exist. Delete dependent Warehouses and try again.

    Helo Davut,

    Likely the warehouse is used as Good in Transtit Warehouse on some other Warehouse Master Record.   You wont be able to delte it until all reference to it are removed (on warehouse masters and any other setup).  Look at this field on other warehouses:

    pastedimage1652545158053v1.png

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,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans