Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

“Negative Values” in Inventory Items

Posted on by Microsoft Employee

It has been 7 - 8  years now that we are encountering "negative values" in our inventory items as seen below. We had conducted several simulations with our partner-vendor but the thing is, this scenario kept on recurring. Hoping to find what could be the possible causes and solution to this long standing problem.

 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: “Negative Values” in Inventory Items

    Could you share the SQL code? I can open the link...

    I have the same problem

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: “Negative Values” in Inventory Items

    Exactly my thoughts, Frank.

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    Frank Hamelly | MVP... 4,029 Super User 2024 Season 2 on at
    RE: “Negative Values” in Inventory Items

    If you're GP vendor has indicated that you can't use Check Links because "since we have customized features/modules inside", I would be willing to bet the customizations are the root cause of negatives you are seeing.  I would ask your vendor to review the customizations to help isolate this behavior.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: “Negative Values” in Inventory Items

    Nope, we haven't. I'll try to check this out and will definitely let you know the result.

    Thank you so much!

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: “Negative Values” in Inventory Items

    Have you considered the SQL script above for recalculating allocations ?

    Your feedback is highly appreciated,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: “Negative Values” in Inventory Items

    Thank you for the note here.

    We usually run the ITEM RECONCILE hoping that the negative values of the Allocated, Available and on-hand will be fixed. However, there are instances that even if we did it more than once the value is not corrected.

    What I mentioned earlier re : Check Links and Reconcile is in the System utility that as we are advised, should not be used.

    Will do further investigation on the 3 possible causes you've mentioned here and hopefully from there be able to nail down the culprit.

  • Suggested answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: “Negative Values” in Inventory Items

    Hello there,

    I do believe that your issue is related to the "allocated quantity", as you can see the quantity available is 5 which implies that your inventory stock didn't go down . The quantity on hand is calculated according to the following criteria :

    On Hand  = Available - Allocated.

    In this essence, there is definitely a problem with your "allocation", correcting that will get your inventory stock back to the normal case.

    Now why would an allocation go in minus, there is no standard scenario in which Dynamics GP would have a negative allocated quantity if it works by design, there is support article from Microsoft which explains that the reasons for that is either related to posting corruption, third party integration or incorrect importing of data.

    The solution for that is definitely the reconciliation, I find no reasonable logic at all with preventing you from running this utility, it does check such problems and correct it accordingly.

    For the mean time, consider the following SQL statement which recalculate your inventory allocation (Manufacturing is not included in this script) Dynamics GP inventory allocations to SOP orders script

    Your feedback is highly appreciated,

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: “Negative Values” in Inventory Items

    I just recently learned about this myself and planning to ask them in details about this. But in passing, they said that since those were customized applications, when the utilities are run, those account or transactions will be deleted as the system will perceive that they are "orphan" accounts?

    Do you mean then, that creating something like "Check Links" is not advisable?  What are the tools we can use then for GP Database Maintenance? what are your suggestions?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: “Negative Values” in Inventory Items

    This one is intriguing: "we cannot run the Check Links and Reconcile utility tool of GP since we have customized features/modules inside".

    Can you get an idea from your vendor on the level of customizations? If there is any customization that requires you to not run Check Links and/or Reconciliation, then you got to be aware of the complete scope.

    Reinventing Check Links and Reconcile process is unnecessary if we have efficient and harmless customizations.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: “Negative Values” in Inventory Items

    According to our Vendor, we can not run the Check Links and Reconcile utility tool of GP since we have customized features/modules inside. Actually, we are thinking, if we can't use them, then we have to create something like that out of GP. But in order to do that we have to understand the complete process , table familiarization, etc?  

    As for "lost connection" this is one thing right now that we are also looking at closely.  

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans