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 :
Microsoft Dynamics GP (Archived)

How do I set all inventory allocations to zero?

(0) ShareShare
ReportReport
Posted on by 645

Hi,

 I'm on GP 9.0 and want to know how to set all allocations to zero.  I thought it was under "utilities" but I'm not sure.  Do you know of a SQL script that will do this?

 thanks.

*This post is locked for comments

I have the same question (0)
  • K Day Profile Picture
    7,365 on at
    Re: How do I set all inventory allocations to zero?

    Are you talking about the Qty Allocated field?  As I understand it, the qty allocated comes from Quantities on Sales orders, so to set the number to zero, you would want to not have any on sales order.  This also depends on your allocation method, depending on if you are allocating by line item or you do the allocation routine before you post the batch.  If you don't have a particulat item on order and it is still showing up as allocated, you might want to run check links.  This would be under Dynamics GP Button (version 10) -  Maintenence - Checklinks.  Then select Inventory and you might want to select all of the inventory ones.  I can't remember which one would be the allocation, but this fixed the problem that I am describing above when it happened to me.

  • Susan Pollard Profile Picture
    645 on at
    Re: Re: How do I set all inventory allocations to zero?

    Thanks for the info but I think I'm looking for a SQL script that would set all allocated items to zero.  Then I need to make a bunch of inventory adjustments and run the reconcile process to set all of the allocations back.  I also need to know if someone out there knows how this would work with serialized items. 

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    46,619 Super User 2025 Season 2 on at
    Re: Re: Re: How do I set all inventory allocations to zero?

    Susan,

    First of all, which modules are you using?  Allocations can come from Sales Orders, Service Orders, Projects in Project Accounting, Returns to Vendor in Returns Management, etc.

    Secondly, why do you need to set the allocations to zero?  Is it because the allocations are preventing you from making the inventory adjustments?

  • Susan Pollard Profile Picture
    645 on at
    Re: Re: Re: Re: How do I set all inventory allocations to zero?

    We are using manufacturing and SOP.  No project accounting or service orders. 

    After conducting a physical inventory we need to make multiple adjustments, we are doing this manually not using cycle counts.  

    Yes, the allocations are preventing me from adjusting qtys.  If I need to decrease the quantity in one site (to increase it in another) where allocations have reduced the availabe qty it causes complications.  I've heard that clearing the allocations prior to making the adjustments is a good way to take care of that.  Then the theory is that you reconcile inventory after the adjustments are made to re-allocate, but I don't know how that works with serialized items.

    Thanks for any suggestions you can give.  I do plan to try this out on the test company first.   

     

  • Constance Gilleland Profile Picture
    1,290 on at
    Re: Re: Re: Re: Re: How do I set all inventory allocations to zero?

    Hi. Did you get this to work?  I would think that you could just update the IV00102 table for all items and set the ATYALLOC value to 0, then enter the adjustment transactions, then run reconcile.  Just a thought.

  • Francois Pachonick Profile Picture
    5 on at
    Re: Re: Re: Re: Re: How do I set all inventory allocations to zero?
    Hi  I have a similar problem at a client running GP 9.0 regarding allocated stock. This often happen when there is line daetail for a invoice in the sop work table without a header line. Running reconcile will not fix the problem if you set the allocated QTY to 0 and the running reconcile. Running reconciler after adjusting allocated to 0 will change the quantities back. I use the following script to get all the sop lines without header information: select * from sop10200 a (nolock)left outer join sop10100 b (nolock)on a.sopnumbe = b.sopnumbeleft outer join sop30300 c (nolock)on a.sopnumbe = c.sopnumbewhere b.sopnumbe is null and c.sopnumbe is null Take the invoice / return numbers on the list and enter the numer in the SOP Transaction entry screen. The lines will be dislayed and the documents can be deleted. This will adjust the allocated sock. The following script can be run after deleting the document to determine which items still have allocated quantites: SELECT ITEMNMBR FROM IV00102WHERE ATYALLOC > 0 Insome cases it will be SOP docs save in a batch for which the allocated quantities will be valid. 

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 > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans