ShoreTel Forums  

Go Back   ShoreTel Forums > ShoreTel Tech > ShoreTel Enhancement Requests

Reply
 
LinkBack Thread Tools Display Modes
Old 10-08-2008, 02:00 PM   #1
Junior Member
 
Join Date: Sep 2008
Location: Virginia Beach, VA
Posts: 14
Wink Import Account Codes

We would like to request a way to import Account Codes.

One of our customers is a law firm that wants to have all their client numbers entered for LD calls. We have to manually input 1753 client numbers into the system.

This would be a nice add on for the future.

Thanks.
bluepointe is offline   Reply With Quote
Old 10-09-2008, 11:03 AM   #2
Junior Member
 
Join Date: Oct 2008
Location: toledo
Posts: 1

what version is it? if its 7.5 you can import in MS access, use a excel spreadsheet, with the headers AccountCodeID

AccountCode

AccountCodeInput

AccountName

then import the spreadsheet into the database as a table, the account codes will be there.
phemiii is offline   Reply With Quote
Old 10-09-2008, 01:29 PM   #3
Junior Member
 
Join Date: Oct 2008
Location: Wadsworth, Ohio
Posts: 28

Later versions use MySQL to store the config, but it is stored in much the same format. You should be able to use the MySQL ODBC driver and some other program such as OpenOffice Base or maybe even a linked table in Access to do the import. Note this isn't supported by Shoretel, but I don;t see why it won't work.
Palitto Consulting is offline   Reply With Quote
Old 10-20-2008, 03:36 PM   #4
Junior Member
 
Join Date: Sep 2008
Location: Virginia Beach, VA
Posts: 14

Version 8.0 - We contacted TAC and they stated it was not possible.

We tried to back door this but when we attempted to import using MySQL Query Broswer the account codes appeared in the list but stated invalid when used.

Would be nice to have them add this as a feature as well as a PRINT feature.

Thanks.
bluepointe is offline   Reply With Quote
Old 10-20-2008, 03:38 PM   #5
Junior Member
 
Join Date: Oct 2008
Location: Wadsworth, Ohio
Posts: 28

Did you restart the account code service after import? The changes only are refreshed when the appropriate trigger is fired or about once a day.
Palitto Consulting is offline   Reply With Quote
Old 10-24-2008, 04:38 PM   #6
Junior Member
 
Join Date: Sep 2008
Location: Virginia Beach, VA
Posts: 14

We will test this on the demo system in a few days to see if that makes a difference. Glad I have a engineer who knows how to work with MySQL. :-)

Thanks for the information.
bluepointe is offline   Reply With Quote
Old 10-27-2008, 06:23 PM   #7
Member
 
Join Date: Jul 2006
Location: Pomona CA
Posts: 41

This is what we do for our customers and it works you do have to restart the account code service though.

Here are the steps

1. Export you account codes into a .CSV file and name it anything in this example i'll name it AccountCodes.csv format should be like below

1037,1037,Mike Jones
1040,1040,Nancy Smith

"Notice the account code is there twice, also make sure there is no commas in the name, and spaces are okay"

2. Run this script below to import from AccountCodes.csv which is located in the root of C:\

LOAD DATA LOCAL INFILE '/AccountCodes.csv'
INTO TABLE accountcodes
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\r\n'
(AccountCode, AccountCodeInput, AccountName);
__________________
Sergio Valles
svalles@intelesysone.com
# 909-972-0398 Direct
Certified ShoreTel Engineer
http://www.intelesysone.com
svalles is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:29 PM.


Powered by vBulletin® Version 3.7.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0