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

Can't able to delete the Warehouse

(1) ShareShare
ReportReport
Posted on by 6
Hi Team,

I'm facing the following error while trying to delete the warehouse in D365. There is no open transactions under this warehouse and no dependencies are linked. Also i have tried to clean up unused inventory dimensions from inventory management. still facing the same issue.

  • Nigel J Cox Profile Picture
    40 on at
    Can't able to delete the Warehouse
    Also remove any reference to an In-Transit warehouse on the setup for your warehouse . . .
  • Anton Venter Profile Picture
    20,059 Super User 2025 Season 1 on at
    Can't able to delete the Warehouse
    The error messages means there are records in the inventory dimensions table (InventDim) which prevent the deletion of the warehouse.
  • Suggested answer
    Jerrod Profile Picture
    4 on at
    Can't able to delete the Warehouse
    Hello,
     
    Please log a ticket with Microsoft or your approved support vendor to look at the warehouse through SQL. Sometimes items are stored on backend tables and do not appear on the UI level. If that is the case, a script will need to be written to delete the item(s) from the backend table and you'll be able to then delete the warehouse. 
     
    Warm regards,
    Jerrod
  • Suggested answer
    Laurens vd Tang Profile Picture
    3,014 Super User 2025 Season 1 on at
    Can't able to delete the Warehouse
    Good day,
     
    Can you check if there isn't any inventory location and aisle anymore?
     
     
    Best regards,
     
    Laurens van der Tang
  • Hana Xue Profile Picture
    Microsoft Employee on at
    Can't able to delete the Warehouse
    Hi,
    Hopefully if the method in this old thread will inspire you. Warehouses cannot be deleted while dependent Warehouses exist. Delete dependent Warehouses and try again. (dynamics.com) And it seems that the process of completely removing all dependencies is not that easy, what about renaming the warehouse?
    Best Regards,
    Hana
  • RK-15050737-0 Profile Picture
    6 on at
    Can't able to delete the Warehouse
    Hi Hana,

    Thanks for your response, I tried this way but it's not working. Any other suggestions from your end?
     
    Regards,
    Rithika
  • Hana Xue Profile Picture
    Microsoft Employee on at
    Can't able to delete the Warehouse
    Hi,
    If you want to delete a warehouse, you must delete the dependencies (including inventory, location, inventory dimensions, etc.) before deleting. You can also consider renaming the warehouse and marking do not use.
    For the error message mentioned, you can view this blog to check whether it was deleted correctly.
    https://d365ffo.com/2023/12/06/ax-d365fo-cleanup-unused-inventory-dimensions-inventdim/
    Best Regards,
    Hana

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

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
Laurens vd Tang Profile Picture

Laurens vd Tang 171 Super User 2025 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 140 Super User 2025 Season 1

#3
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 127 Super User 2025 Season 1

Featured topics

Product updates

Dynamics 365 release plans