Skip to main content

Notifications

Announcements

No record found.

Supply Chain Management forum
Suggested answer

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

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
    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 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,056 Super User 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

Helpful resources

Quick Links

First Dynamics 365 Community Call (CRM Edition)

Don't miss the first D365 Community Call on 7/10!

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 285,407 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,446 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans