inv_quantity_tree_pub Returning Wrong Qty On-Hand
For a specific item ("41370" - inventory_item_id 2135105) the user interface shows on-hand in subinventory "B1" of 11 total.
inv_quantity_tree_pub also returns 11 total.
Now perform a miscellaneous receipt into "B1" subinventory. The user interface correctly shows 12 total on-hand.
But inv_quantity_tree_pub is still showing 11 total. Details below.
The issue isn't limited to this item; it's just my example item. This is in a test instance; I have not checked production. R12.1.3.
I have made sure that cost manager and material transaction manager have both run. I'm stumped and any advice/answer appreciated.
EDIT: When I disconnected my DB connection and then re-connected, inv_quantity_tree_pub.query_quantities returned the correct value of 12. Why and how do I get the correct quantity without having to create a new session?