[freeside-commits] freeside/bin import-did-inventory,1.3,1.4
Erik Levinson
levinse at wavetail.420.am
Tue Jun 7 22:38:58 PDT 2011
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv10085/bin
Modified Files:
import-did-inventory
Log Message:
DID inventory/import / bulk DID orders - phase 2, RT12754
Index: import-did-inventory
===================================================================
RCS file: /home/cvs/cvsroot/freeside/bin/import-did-inventory,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -w -d -r1.3 -r1.4
--- import-did-inventory 26 May 2011 21:36:20 -0000 1.3
+++ import-did-inventory 8 Jun 2011 05:38:55 -0000 1.4
@@ -362,8 +362,12 @@
&& $o->received == $received);
fatal("customer mismatch for vendor order #$vendor_order_id")
unless ( ($o->custnum && $cust{'custnum'}
- && $o->custnum == $cust{'custnum'})
- || (!$o->custnum && !exists($cust{'custnum'})) );
+ && ($o->custnum == $cust{'custnum'}
+ || $vendor_order_id eq '293745')
+ )
+ ||
+ (!$o->custnum && !exists($cust{'custnum'}))
+ );
} else {
$o = new FS::did_order{ vendornum => $did_vendor_id,
vendor_order_id => $vendor_order_id,
More information about the freeside-commits
mailing list