D365 Finance & Operations and Dynamics AX Forum

Expand all | Collapse all

AX2012 - You cannot delete all allowed warehouses from user

  • 1.  AX2012 - You cannot delete all allowed warehouses from user

    SILVER CONTRIBUTOR
    Posted 11 days ago
    Good Afternoon,

    When creating a new warehouse the user accidentally checked Use Warehouse Management Processes. Now we are unable to uncheck the box and when we try to delete the warehouse we receive the message:
    You cannot delete all allowed warehouses from user.

    Since it is a new warehouse there aren't any transactions against it. I checked the InventDim table and no records exist that use the new warehouse inventlocationid.

    Any ideas for either:
    A. Unchecking Use Warehouse Management Processes
    B. Deleting the warehouse entirely

    Thank you,
    Barclay

    ------------------------------
    Barclay Hershey
    Financial Analyst
    Sugar Creek Packing Co
    Cincinnati OH
    ------------------------------
    The first step toward cloud success. - Migrate from AX to D365 with expert guidance from Microsoft. I'm Ready


  • 2.  RE: AX2012 - You cannot delete all allowed warehouses from user

    TOP CONTRIBUTOR
    Posted 8 days ago
    You can't change the checkmark, so you'll have to delete the warehouse and start over.

    I would check two things based only on the text of the error message:
    - You link allowed warehouses to a warehouse worker when you create the warehouse worker.  You'll have to check the default warehouse and other allowed warehouses to see if that warehouse you want to delete is listed.
    - You create a warehouse location with the same value as your warehouse worker ID in each warehouse that is warehouse managed when you create the worker.  Check your warehouse location table to identify and delete any user locations created in that warehouse.  Actually, check for any locations.

    ------------------------------
    Kevin McLean
    Strategic Solutions NW
    Beaverton OR
    ------------------------------

    The first step toward cloud success. - Migrate from AX to D365 with expert guidance from Microsoft. I'm Ready


  • 3.  RE: AX2012 - You cannot delete all allowed warehouses from user

    SILVER CONTRIBUTOR
    Posted 6 days ago
      |   view attached
    Good Morning Kevin,

    Thank you.  This is definitely helpful.  The warehouse has no workers assigned, but your recommendation to check locations found something.  From the warehouse setup form > Inquiries > Inventory Locations there is a record there.  I can delete the record but AX seems to always add a new record.  I unchecked "Generate check digits for location", deleted the record, and close the form. When I re-open the form it has a new record added.

    Thank you,
    Barclay


    ------------------------------
    Barclay Hershey
    Financial Analyst
    Sugar Creek Packing Co
    Cincinnati OH
    ------------------------------

    The first step toward cloud success. - Migrate from AX to D365 with expert guidance from Microsoft. I'm Ready


  • 4.  RE: AX2012 - You cannot delete all allowed warehouses from user

    TOP CONTRIBUTOR
    Posted 6 days ago
    That's not a location.  You'll notice the location field is underlined in red to indicate it is required.  It's just loading up the screen for you to add a location.  Lots of AX/D365 forms will do that when you open the form, if there are no records to display.  I don't think you have any locations set up in that warehouse, but you should go into the locations form (the one under warehouse management) and filter for your warehouse ID.  On the same form, filter for any records for any warehouse on which the location is blank.

    ------------------------------
    Kevin McLean
    Strategic Solutions NW
    Beaverton OR
    ------------------------------

    The first step toward cloud success. - Migrate from AX to D365 with expert guidance from Microsoft. I'm Ready


If you've found this thread useful, dive deeper into User Group community content by role