Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

ItemKey/WarehouseKey does not exist in inventory.

Posted on by 585

Hi,

I am using GP 2013. I added my item in Inventory > Quantities / Sites and I still receive this error. Did I do this right?

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: ItemKey/WarehouseKey does not exist in inventory.

    Hi,

    Joseph Anderson, I am trying to create a SalesOrder using the web services and I am getting this error:

    A validation exception has occurred. Validation Errors: - This site is currently marked inactive.

    I am using the field you said in this post:

    salesOrderLine.WarehouseKey = new WarehouseKey { Id = "Warehouse 1" }; But continue giving me errors above.

    can you  please, send me an example of how you fixed that or tell me what other thing I Need to do.

    Thank U. In advanced

    Edwar 

  • Verified answer
    jmawebtech Profile Picture
    jmawebtech 585 on at
    RE: ItemKey/WarehouseKey does not exist in inventory.

    Hi,

    I managed to solve it. I needed to associate the ware house key id with the salesOrder line. I used web services:

               salesOrderLine.WarehouseKey = new WarehouseKey { Id = "NORTH" };

    I also had to use the CreateItemWareHouse method to associate the warehouse and the item.

  • Suggested answer
    sandipdjadhav Profile Picture
    sandipdjadhav 18,265 on at
    RE: ItemKey/WarehouseKey does not exist in inventory.

    Where you get this error? On eConnect integration?

    Can you re-check Item and sites on Item Quantities Maintenance window?

    Thanks

    Sandip

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans