[freeside-commits] freeside/bin import-did-inventory, 1.1.2.9, 1.1.2.10

Erik Levinson levinse at wavetail.420.am
Tue Jun 14 13:20:22 PDT 2011


Update of /home/cvs/cvsroot/freeside/bin
In directory wavetail.420.am:/tmp/cvs-serv28726/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.9
retrieving revision 1.1.2.10
diff -u -w -d -r1.1.2.9 -r1.1.2.10
--- import-did-inventory	14 Jun 2011 20:14:30 -0000	1.1.2.9
+++ import-did-inventory	14 Jun 2011 20:20:20 -0000	1.1.2.10
@@ -23,10 +23,10 @@
 print "started time=".time."\n";
 
 #### SET THESE! #################################
-my $file = '/home/levinse/dids1.csv';
+my $file = '/home/levinse/dids4.csv';
 my $did_vendor_id = 1; 
 my $dry = 0; 
-my $internal_diddb_exportnum = 2; # IMPORTANT: set this to the correct exportnum or everything will go in wrong into phone_avail
+my $internal_diddb_exportnum = 1; # IMPORTANT: set this to the correct exportnum or everything will go in wrong into phone_avail
 
 # optionally set this one (probably not)
 my %custname2num = (); # MyCust => 12345,
@@ -90,7 +90,7 @@
 $latas{920} = 'CONNECTICUT';
 $latas{334} = 'AUBURN-HUNTINGTON IN';
 $latas{232} = 'NORTHEAST - PA';
-$latas{460} = 'SOUTHEAST FL GG-EA';
+$latas{460} = 'SOUTHEAST FL GR-EA';
 $latas{952} = 'TAMPA FLORIDA';
 $latas{524} = 'KANSAS CITY';
 
@@ -164,7 +164,8 @@
 
     ### LATA ###
 
-    fatal("no lata found for latanum $latanum") unless exists($latas{$latanum});
+    fatal("no lata found for latanum $latanum") unless exists($latas{$latanum}) 
+        || $latanum == 460;
 
     # unsurprisingly, our idea of a LATA name doesn't always match their idea 
     # of the same. Specifically, they randomly expand the state portion and



More information about the freeside-commits mailing list