// we have to have a pointer to work out where we left off..
// this process can go by invdetail_id ASC..
- echo "running SELECT invfifo_fill_all(128, 2319) \n";
- $id = DB_DataObject::Factory('invfifo');
- $id->query("SELECT invfifo_fill_all(128, 2319)");
- $id = DB_DataObject::Factory('invfifo');
- $id->query("SELECT invfifo_fill_all(128, 2319)");
-
- require_once 'Pman/Core/Mailer.php';
-
- $r = new Pman_Core_Mailer(array(
- 'template'=> 'ProcessValues',
- 'page' => $this,
- 'contents' => array(
- 'person' => 'edward@roojs.com',
- 'message' => $this->errMsg
- )
- ));
-
- $sent = $r->send();
-
- die('done');
// clear up trailing voided coheads..
echo "Finding bad calcs\n";