<div dir="ltr"><div>Hi, I am having the following error when i try and view invoices for customers with voip. <br><div class=""><br>Error executing "SELECT sum<span class="">(</span>billsec<span class="">)</span> as billsec_sum FROM cdr  WHERE  <span class="">(</span>  charged_party = '<span class="">8683000110</span>'         OR  src = '<span class="">8683000110</span>'         <span class="">)</span>  AND startdate >= <span class="">1</span> AND startdate < <span class="">1370504072</span> ORDER BY acctid ": ERROR:  column "cdr.acctid" must appear in the GROUP BY clause or be used in an aggregate function LINE <span class="">1</span>: ...D startdate >= <span class="">1</span> AND startdate < <span class="">1370504072</span> ORDER BY acctid </div>
<br></div>anyone come across it. The full error is here. <a href="http://pastebin.ca/2393559">http://pastebin.ca/2393559</a><br><div><div>-- <br>TC
</div></div></div>