I've recently been working on a project that requires duplicating the historical stock status report. I've found the stored procedure that I assume it uses for the report, dbo.seeivPrintHistStockStatus, but when comparing the results between the stored procedure and the itemized print-out of the report, there are items that aren't being counted. The weird thing is that there doesn't seem to be any correlation between the items being skipped; it's rather random. The same conditions are being passed into the stored procedure as in the report, and zero quantity items are also included. Would there be any reason that gp would skip items when doing this report?
*This post is locked for comments