projects
/
Pman.Xtuple
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9494df
)
VoidSalesAndPurchaseOrders.php
author
Edward
<edward@roojs.com>
Wed, 26 Feb 2014 09:16:17 +0000
(17:16 +0800)
committer
Edward
<edward@roojs.com>
Wed, 26 Feb 2014 09:16:17 +0000
(17:16 +0800)
VoidSalesAndPurchaseOrders.php
patch
|
blob
|
history
diff --git
a/VoidSalesAndPurchaseOrders.php
b/VoidSalesAndPurchaseOrders.php
index
ddfefaa
..
c91f131
100644
(file)
--- a/
VoidSalesAndPurchaseOrders.php
+++ b/
VoidSalesAndPurchaseOrders.php
@@
-23,7
+23,6
@@
class Pman_Xtuple_VoidSalesAndPurchaseOrders extends Pman_Roo
$cohead->whereAdd("
cohead_status != 'X'
");
- $cohead->orderBy('cohead_id DESC');
$cohead->find();
while ($cohead->fetch()){
@@
-32,6
+31,11
@@
class Pman_Xtuple_VoidSalesAndPurchaseOrders extends Pman_Roo
$pohead = DB_DataObject::factory('pohead');
+ $pohead->find();
+
+ while ($pohead->fetch()){
+ print_r($pohead);exit;
+ }
$this->jerr('ROLL BACK');