Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Item Stock Inquiry - Negative balance

Posted on by 1,080

Hi,

I've client having problem in the Item Stock Inquiry window, the transfer document number create a duplicate and the duplicate record have a negative balance.

During posting the batch using the inventory series posting window they encountered error "A save operation on table 'IV_TRX_HIST_HDR' has created a duplicate key". When they inquire the item in the Item Stock Inquiry window they find out that transfer document has a duplicate record and the duplicate record was negative balance. Please see below screenshot.

As of now I don't know how to fix the error. Please advice.

*This post is locked for comments

  • Yash.V Profile Picture
    Yash.V 210 on at
    RE: Item Stock Inquiry - Negative balance

    Hi Frank & Ronie,

    We are having the same issue now. And we could note that, the transactions are duplicated in below tables.

    IV10201, IV30300, IV30301 - Contains duplicates.

    IV10200, IV30200 - Proper with out duplicates.

    Do we need to check any other tables apart from these? And which tables should we delete the duplicates from? Please could you advise.

  • Frank Hamelly | MVP, MCP, CSA Profile Picture
    Frank Hamelly | MVP... 4,029 Super User 2024 Season 2 on at
    Re: Item Stock Inquiry - Negative balance

    Which table(s) did you make the original fix to?  You need to affect  the Transaction History tables (IV30200, IV30300, IV30301, and if using Multi Bin, IV30302) and the Item Quantity Master (IV00102).  Further, if you're using Lot or Serial numbers, then you'd have to affect the adjustments in IV00200 (Serial Number Master) or IV00300 (Lot Number Master) and IV30400 (Item Serial and Lot Number History).

    Hope this helps,

  • Ronie Profile Picture
    Ronie 1,080 on at
    Re: Item Stock Inquiry - Negative balance

    Hi,

    After I data fix the duplicate documents and looks all fine in the Item Stock Inquiry window. However when we rerun the reconcile for the item then check the item in the Item Stock Inquiry window the balance was recompute and almost of the balance amount are negative. What I did is revert back what I did in data fixing. My problem now is how/where can I delete the duplicate document, is there specific table where should I check?

  • Suggested answer
    Ronie Profile Picture
    Ronie 1,080 on at
    Re: Item Stock Inquiry - Negative balance

    Hi,

    Thanks for the suggestion to reconcile the item - after reconcile the allocated was fixed but the duplicate record didn't. I data fix the duplicate in the tables and everything is fine.

    Thanks

  • Suggested answer
    Frank Hamelly | MVP, MCP, CSA Profile Picture
    Frank Hamelly | MVP... 4,029 Super User 2024 Season 2 on at
    Re: Item Stock Inquiry - Negative balance

    Run Checklinks on the Inventory Transaction tables and then the Reconcile Utility on that item number.  If that doesn't fix it, you'll have to fix it directly in the tables.

    Hope this helps,

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