Page 1 of 1
Succefull Calls to list!
Posted:
Mon Feb 09, 2015 8:00 am
by GDelkos
Hi there
i would like to know if there is a way to access the succefull calls for the current day(sales) from mysql!
thank you in advance!
Re: Succefull Calls to list!
Posted:
Mon Feb 09, 2015 8:24 am
by DomeDan
Yes
- Code: Select all
SELECT * FROM vicidial_list WHERE status = 'SALE' and DATE(last_local_call_time) = CURDATE()
But I would recommend you use the vicidial reports like "Export Calls Report" and "Export Leads Report"
Re: Succefull Calls to list!
Posted:
Mon Feb 09, 2015 10:11 am
by GDelkos
i am trying to make a small program based on csharp so i can have everydays reports on the go!
thanks for the point!
Re: Succefull Calls to list!
Posted:
Wed Feb 11, 2015 5:16 am
by GDelkos
yes that would return the lead number and some other stats but it wont return the agent that made the sale!
is there anyway to get the agent name that did the sale?
thank you in advance!
Re: Succefull Calls to list!
Posted:
Wed Feb 11, 2015 5:20 am
by DomeDan
thats in the vicidial_log table, you should look around in the database there is lots of useful tables there
Re: Succefull Calls to list!
Posted:
Wed Feb 11, 2015 5:29 am
by GDelkos
"SELECT * FROM vicidial_log WHERE status = 'SALE' and DATE( call_date) = CURDATE()";
i am trying to get something like that dosent seem to work though!
any help would be much loved!
thank you so much for your help!
Re: Succefull Calls to list!
Posted:
Wed Feb 11, 2015 5:45 am
by DomeDan
if there was a SALE today then you would probably see it with that query.
use phpmyadmin to explore the database and debug when you are writing your reporting-programs