[freeside-commits] freeside/bin import-did-inventory,1.4,1.5
Erik Levinson
levinse at wavetail.420.am
Thu Jun 9 17:30:57 PDT 2011
Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv2971/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.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- import-did-inventory 8 Jun 2011 05:38:55 -0000 1.4
+++ import-did-inventory 10 Jun 2011 00:30:55 -0000 1.5
@@ -363,7 +363,7 @@
fatal("customer mismatch for vendor order #$vendor_order_id")
unless ( ($o->custnum && $cust{'custnum'}
&& ($o->custnum == $cust{'custnum'}
- || $vendor_order_id eq '293745')
+ || $vendor_order_id eq '293745' || $vendor_order_id eq '300001')
)
||
(!$o->custnum && !exists($cust{'custnum'}))
@@ -400,11 +400,10 @@
phonenum => $did,
});
- # XXX: THIS LINE CAUSES PERFORMANCE TO DEGRADE AND THE SCRIPT NEVER FINISHES! WHY!?
+ # XXX: THIS LINE CAUSES PERFORMANCE TO DEGRADE
# -unattaching the exports has no effect
# -after each successive call, the time taken to complete 100 rows becomes greater
# -commenting out this call results in a constant time taken to complete 100 rows
- # -after 10K rows we get a random error that makes no sense
my $error = $svc_phone->insert;
fatal("can't insert svc_phone: $error") if $error;
More information about the freeside-commits
mailing list