Export calls vs export leads

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Export calls vs export leads

Postby dspaan » Wed Apr 11, 2012 7:08 am

I'm getting weird results when exporting sales today.

Result of export leads report:

12 sales:

lead_id
45330
45855
86486
147594
147900
148150
148342
148510
148829
150282
150905
151094


Result of export calls report over the same time period:

15 sales

lead_id
45330
45855
86486
146293
147594
147897
147900
148150
148342
148510
148829
149587
150282
150905
151094


Now i don't see double lead id's here. So why am i getting two sales less with the export leads report?
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Postby spacejanitor » Wed Apr 11, 2012 9:47 am

Are you sure you selected the exact same export options at each screen?

Same statuses, user groups, campaigns?
spacejanitor
 
Posts: 178
Joined: Tue Feb 08, 2011 3:31 pm

Postby Trying » Thu Apr 12, 2012 2:30 pm

Is the LATEST STATUS of all those leads in the Calls Report SALE? Remember in the calls report if somebody changed the status from sale to something else during the time of the report it will still show that record where the status was still SALE. The Leads Report simply gives you the leads where the LATEST STATUS is sale for the period that you are running it for.
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa

Postby spacejanitor » Thu Apr 12, 2012 2:41 pm

Good point, Trying... that is also one of the differences between the Lead Report vs Calls Report
spacejanitor
 
Posts: 178
Joined: Tue Feb 08, 2011 3:31 pm

Postby dspaan » Fri Apr 13, 2012 8:06 am

Thanks for the feedback guys :)

I figured out what happened. This was indeed regarding export of SALE leads. I always use the export leads report for that for the reason that you mentioned Trying.

However we recently started using an SQL trigger that changes leads who have reached the callcount limit to status code MAX. It turns out that the 3 missing sales from the export leads report were made at the last allowed call attempt. So after they were flagged as SALE the script had changed them to status MAX.
Regards, Dennis

Vicibox 9.0.1
Version: 2.14b0.5
SVN Version: 3199
DB Schema Version: 1588
Build: 200310-1801
dspaan
 
Posts: 1377
Joined: Fri Aug 21, 2009 1:40 pm
Location: The Netherlands

Postby Trying » Fri Apr 13, 2012 8:21 am

Excellent! Thank you for reporting back!
Vicibox Redux 3.1.14 64 bit
Asterisk: 1.4.39.2-vici | VERSION: 2.8-433a | BUILD: 140411-1434
Sangoma A102D/E1
Servers: 1 x Database; 1 x Web; 6 x Telephony; 2 x Archive
Outbound and blended ratio 3:1 with full voice recording
No additional software
Trying
 
Posts: 865
Joined: Sun Sep 09, 2007 8:41 am
Location: South Africa


Return to Support

Who is online

Users browsing this forum: No registered users and 124 guests