projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b5b2c26
)
DID inventory/import / bulk DID orders - phase 2, RT12754
author
levinse
<levinse>
Tue, 14 Jun 2011 15:53:37 +0000
(15:53 +0000)
committer
levinse
<levinse>
Tue, 14 Jun 2011 15:53:37 +0000
(15:53 +0000)
bin/import-did-inventory
patch
|
blob
|
history
diff --git
a/bin/import-did-inventory
b/bin/import-did-inventory
index
6a1a817
..
10cc4d9
100644
(file)
--- a/
bin/import-did-inventory
+++ b/
bin/import-did-inventory
@@
-26,7
+26,7
@@
print "started time=".time."\n";
my $file = '/home/levinse/dids1.csv';
my $did_vendor_id = 1;
my $dry = 0;
my $file = '/home/levinse/dids1.csv';
my $did_vendor_id = 1;
my $dry = 0;
-my $internal_diddb_exportnum =
1
; # IMPORTANT: set this to the correct exportnum or everything will go in wrong into phone_avail
+my $internal_diddb_exportnum =
2
; # 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,
# optionally set this one (probably not)
my %custname2num = (); # MyCust => 12345,
@@
-67,6
+67,7
@@
my %msamap = (
'Miami' => 33100,
'Jackson' => 27140,
'St Cloud' => 41060,
'Miami' => 33100,
'Jackson' => 27140,
'St Cloud' => 41060,
+ 'Stratford' => 14860,
# more hax upon hax (the above are unique, no issues)
'Portland OR' => 38900,
# more hax upon hax (the above are unique, no issues)
'Portland OR' => 38900,