VoidSalesAndPurchaseOrders.php
authorEdward <edward@roojs.com>
Wed, 26 Feb 2014 09:16:36 +0000 (17:16 +0800)
committerEdward <edward@roojs.com>
Wed, 26 Feb 2014 09:16:36 +0000 (17:16 +0800)
VoidSalesAndPurchaseOrders.php

index c91f131..e448027 100644 (file)
@@ -19,15 +19,15 @@ class Pman_Xtuple_VoidSalesAndPurchaseOrders extends Pman_Roo
         
         PEAR::setErrorHandling(PEAR_ERROR_CALLBACK, array($this, 'onPearError'));
         
-        $cohead = DB_DataObject::factory('cohead');
-        $cohead->whereAdd("
-            cohead_status != 'X'
-        ");
-        $cohead->find();
-        
-        while ($cohead->fetch()){
-            $cohead->clear($this);
-        }
+//        $cohead = DB_DataObject::factory('cohead');
+//        $cohead->whereAdd("
+//            cohead_status != 'X'
+//        ");
+//        $cohead->find();
+//        
+//        while ($cohead->fetch()){
+//            $cohead->clear($this);
+//        }
         
         
         $pohead = DB_DataObject::factory('pohead');