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

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.

I have the same question (0)
  • 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
  • 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,
    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
  • Suggested answer
    Laurens vd Tang Profile Picture
    3,633 Super User 2025 Season 2 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
  • 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
  • Anton Venter Profile Picture
    20,301 Super User 2025 Season 2 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.
  • 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 . . .

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