inventsumdatedim class

Hi ,

I wrote some code to get inventory QOH for a series of dates in the past using inventsumdatedim class. The code I used was

inventSumDateDim = inventsumdatedim::newparameters(start,itemid,inventdimcriteria,inventdimparm)

QOH = inventsumdatedim.postedqty() + inventsumdatedim.receivedqty() - inventsumdatedim.deductedqty();

When I checked the QOH value for any date by working through inventory transactions for that item, the QOH from this class was correct.

But, I cannot understand how this class works. Will appreciate any help with the basics of how this class works out inventory quantity for a specific date.

Thanks

Uma