Support A2Billing :

provided by Star2Billing S.L.

Support A2Billing :
It is currently Thu Mar 28, 2024 9:47 am
Hosted Voice Broadcast


All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Postgresql error in Export Call Plan with LCR
PostPosted: Mon Sep 23, 2013 9:23 am 
Offline

Joined: Mon Sep 23, 2013 9:03 am
Posts: 1
Hello,

I have located an error when installing from scratch A2Billing 2.0 using PostgreSQL.
When I try to export call plan with LCR in Rates menu, the SQL query fails with this message:

2013-09-20 17:43:22 CEST ERROR: colum «cc_callplan_lcr.destination» must appear in the GROUP BY clause or be used in an aggregate function

2013-09-20 17:43:22 CEST SENTENCIA: SELECT destination, dialprefix, buyrate, MIN(rateinitial) as rateinitial, startdate, stopdate, initblock, connectcharge, id_trunk , idtariffplan , id FROM cc_callplan_lcr WHERE tariffgroup_id= '3' GROUP BY dialprefix ORDER BY dialprefix ASC LIMIT 10 OFFSET 0

This query is generated in the file FG_var_def_ratecard.inc. I'm trying to adapt it to work well in POSTGRES, but do not know this database manager.

Please, someone could help me?

Thanks !!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 
Auto Dialer Software


All times are UTC


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group