Skip to main content

Notifications

Announcements

No record found.

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

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
    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
    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
    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
    4,056 Moderator 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

Dynamics 365 Community Update – Sep 16th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard > Supply chain | Supply Chain Management, Commerce

Featured topics

Product updates

Dynamics 365 release plans