Chris,
The stock could have gone negative from
transfers
adjustments
sales invoices
neg receipt of stock vs PO
maybe rather than changing all these more interesting scripts adding
complexity, the cooler way might be to create a pdf of the negative stocks
and if there is anything to report ie the pdf is longer than say 40 then
email the report to the appropriate person. I am not sure how one goes about
scheduling such things in windows but wget and unix cron scheduling works
well see MailInventoryValuation.php
Phil
|