Hi Paul, I thought I was seeing your posts come through early
The point I was trying to make was that there are lots of places where the current stock balances are shown without using the historical balances inquiry for current balances - though of course it can be.
Are you seeing the issue with StockQuantityByDate.php happening on all items with zero quantity? I can't duplicate it here, though I am using a somewhat artificial data set. Can you see if there is anything non-standard about the items where it is happening?
Tim