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 :
Supply chain | Supply Chain Management, Commerce
Suggested answer

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

(0) ShareShare
ReportReport
Posted on by 4

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

I have the same question (0)
  • Suggested answer
    Danny Bilodeau Profile Picture
    4,720 Super User 2025 Season 2 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

  • davut Profile Picture
    4 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

  • Arnaud Sodji Profile Picture
    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

  • Arnaud Sodji Profile Picture
    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.

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 > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 838

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 247 Super User 2025 Season 2

#3
Sagar Suman Profile Picture

Sagar Suman 235 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans