Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Reset HITB Showing On Hand when Stock Status shows 0 Items In Stock

Posted on by 22,782
I'm currently dealing with a customer who has used GP before v10 and the inclusion of the HITB but never ran the reset tool (their partner at the time didn't run it for some reason). We've removed all stock from the system so they have 0 quantity of anything, cleared the SEE tables and then run the HITB Reset Tool but this has left the HITB showing on hand values for most stock items (where the reality is no stock item has a quantity in the system). It has also posted some huge journals to the GL. I can correct these to put the values back as they should be but the On Hand on the HITB report are the big problem. If instead of running HITB Reset Tool I simply removed the values from SEE30303 would this give me on hand quantities and values of 0 on the HITB report?

*This post is locked for comments

  • Ian Grieve Profile Picture
    Ian Grieve 22,782 on at
    RE: Reset HITB Showing On Hand when Stock Status shows 0 Items In Stock

    The client I was dealing with was removing all stock and loading items with new numbers so in the end I settled for clearing out the SEE30303 table.

  • Suggested answer
    Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Reset HITB Showing On Hand when Stock Status shows 0 Items In Stock

    Hello Tim,

    I have been thoroughly examining the retrieved set of data you provided above, and here is my piece of findings.

    First of all, we can not judge on reasons behind the variance since the quantity is not matched between Purchase Receipt Layers (IV10200) and Historical Inventory Trial Balance (SEE30303). The differences are huge, and therefore, an internal inventory reconciliation is a must.

    Let's take the Item Number in Line (2) for instance, 

    Item Number HITB Quantity Available HITB Cost IV Qty Available

    IV Extended Cost

    Variance HITB Unit Cost IV Unit Cost
    X 2570 4678.7828 1720 3058.455 1620.328 1.82 1.78

    In Historical Inventory Trial Balance, you have 2570 while only 1720 are available in Purchase Receipt Layer. This means, you are only able to consume the quantity available in IV10200, and the question is; what are the other remaining quantities in SEE30303 ?

    I will provide you with a script to internally match the inventory tables and find out the differences. This script will match the quantities per item, per transaction, per location. I am expecting a huge data set retrieved. (Send me an e-mail and I will come back with the script)

    Let me get back to the point I want to make about (Cost Variances), In order to ensure that this is related to cost adjustment, you need to calculate the cost of the remaining cost layers in purchase receipt work [ IV10200 ]. The value must be compared to the one calculated from HITB. Assuming that there is (20) piece of item (A) in inventory (which is the same in IV10200 and SEE30303), You might find out the following:

    Item_Number   Quantity_Available    IV_10200_Extended_Cost      HIT_Extended_Cost

    A                          20                                 100                                              110  

    Now if you withdraw all the quantity available of Item (A), you will have the following record in your HITB (which is a remaining cost, that is stock in inventory because it doesn't have associated quantity)


    Item_Number   Quantity_Available    IV_10200_Extended_Cost      HIT_Extended_Cost

    A                          0                                   0                                                    10

    The remaining HITB value is caused by cost adjustment documents. Of course, this is part of reconciling inventory internally, which means, ensuring that all the IV resources have the same value.I consider that Purchase Receipt Work is correct, because it records the new unit cost for all the remaining quantity once a cost adjustment record is thrown in HITB. It keeps the old cost though in filed "Adjusted Cost - ADJUNITCOST "

    So far, Hope this helps

  • Tsparks Profile Picture
    Tsparks 55 on at
    RE: Reset HITB Showing On Hand when Stock Status shows 0 Items In Stock

    Hello Mahmoud,

    I don't know about Ian, but I ran the script you provided and my results for a specific Item Class are posted above. I'm still unsure as to what is causing the variance between the HITB_QTY and IV_QTY

    Tim

  • Tsparks Profile Picture
    Tsparks 55 on at
    RE: Reset HITB Showing On Hand when Stock Status shows 0 Items In Stock

  • Mahmoud Saadi Profile Picture
    Mahmoud Saadi 32,738 on at
    RE: Reset HITB Showing On Hand when Stock Status shows 0 Items In Stock

    Mr. Ian

    I might have a point in here regarding the on hand value in Historical Inventory Trial Balance Table (SEE30303), could you please run the following script

    SELECT

       ISNULL(X.[ITEMNMBR],Y.[ITEMNMBR]) [ITEMNMBR],

       X.HITB_Quantity_Available,

       X.HITB_Cost,

       Y.IV_Quantity_Available,

       Y.IV_EX_Cost,

        X.HITB_Cost - Y.IV_EX_Cost AS Cost_Variance

    FROM

    (

       SELECT  [ITEMNMBR],

                        SUM([TRXQTYInBase]) HITB_Quantity_Available,

                        SUM([EXTDCOST]) HITB_Cost

       FROM [SEE30303]

       GROUP BY [ITEMNMBR]

    )   AS X                    ------  Calculate the Extended_Cost per Item [SEE30303]

    FULL OUTER JOIN    

    (

       SELECT  [ITEMNMBR],

                         SUM([QTYRECVD]-[QTYSOLD]) IV_Quantity_Available,

                         SUM(([QTYRECVD]-[QTYSOLD])*[UNITCOST]) IV_EX_Cost

       FROM [IV10200]

       GROUP BY [ITEMNMBR]

    )   AS Y                    ------  Calculate the Extended_Cost per Item [IV10200]

    ON X.[ITEMNMBR] = Y.[ITEMNMBR]

    WHERE ABS( X.HITB_Cost - Y.IV_EX_Cost) > 1  OR

    X.HITB_Quantity_Available<> Y.IV_Quantity_Available

    your feedback is highly appreciated.

  • Tsparks Profile Picture
    Tsparks 55 on at
    RE: Reset HITB Showing On Hand when Stock Status shows 0 Items In Stock

    Hello Ian,

    I am running into a similar problem with a similar situation. I'm also currently dealing with a customer who has used GP before v10 and the inclusion of the HITB but never ran the reset tool.

    We're you able to resolve your issues with the "On-Hand" quantities on the HITB report? After running the reset tool, I have several sites that have huge negative beginning "On-Hand" quantities for certain items.

    Like you I can fix the ramifications in the GL and Stock Status, but how did you resolve the issue of getting the HITB report at the correct starting quantities?

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans