X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=bin%2Ftaqua-accountcode-rewrite;h=e6d579013419058782877107ea3f47b98098b3bd;hb=35e48065dcbf51d721043b27ce54307e5a3bdae7;hp=386fc9dd3ed9034662d06d598b3bc894218bb895;hpb=85ff12a43b72ca58a647b91504c8a9adec6ef0a2;p=freeside.git diff --git a/bin/taqua-accountcode-rewrite b/bin/taqua-accountcode-rewrite index 386fc9dd3..e6d579013 100755 --- a/bin/taqua-accountcode-rewrite +++ b/bin/taqua-accountcode-rewrite @@ -116,7 +116,7 @@ while (my $cdr = $cursor->fetch) { # source number, and start and end dates $detail = qsearchs('cust_bill_pkg_detail', { 'amount' => $primary->rated_price, - 'classnum' => $cdr->rated_classnum, + 'classnum' => $primary->rated_classnum, 'duration' => $primary->rated_seconds, 'startdate' => $primary->startdate, 'format' => 'C',