[freeside-commits] freeside/bin import-did-inventory, 1.1.2.6, 1.1.2.7

Erik Levinson levinse at wavetail.420.am
Mon Jun 13 11:26:45 PDT 2011


Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv4242/bin

Modified Files:
      Tag: FREESIDE_2_1_BRANCH
	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.1.2.6
retrieving revision 1.1.2.7
diff -u -w -d -r1.1.2.6 -r1.1.2.7
--- import-did-inventory	10 Jun 2011 00:30:56 -0000	1.1.2.6
+++ import-did-inventory	13 Jun 2011 18:26:43 -0000	1.1.2.7
@@ -360,14 +360,14 @@
                         || $o->vendor_order_id == 293011) # yet another bad data hack
                     && $o->confirmed == $confirmed
                     && $o->received == $received);
-        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 '300001')
-                        )
-                        ||
-                        (!$o->custnum && !exists($cust{'custnum'}))
-                   );
+#        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 '300001')
+#                     )
+#                    ||
+#                   (!$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