[Vtigercrm-commits] [vtiger development] #6178: Query is getting failed in detailed view of report while editing report
vtiger development
vtiger-tickets at trac.vtiger.com
Mon Jul 20 04:05:45 EDT 2009
#6178: Query is getting failed in detailed view of report while editing report
-----------------------+----------------------------------------------------
Reporter: rashmi | Owner: developer
Type: defect | Status: new
Priority: critical | Milestone: 5.1.0
Component: vtigercrm | Version: 5.1.0-rc
Keywords: |
-----------------------+----------------------------------------------------
1. In Reports modules, while editing report if we disable secondary
modules then calculation fields are displaying for the disabled modules.
(If calculation fields has been
selected while creating reports.)
Query is getting failed in detailed view of that report at first save.
Query Failed:select sum(vtiger_potential.amount) 'Potentials_Amount_SUM',
(sum(vtiger_potential.amount)/count(*)) 'Potentials_Amount_AVG',
min(vtiger_potential.amount)
'Potentials_Amount_MIN', max(vtiger_potential.amount)
'Potentials_Amount_MAX' from vtiger_contactdetails inner join
vtiger_crmentity on vtiger_crmentity.crmid =
vtiger_contactdetails.contactid inner join vtiger_contactaddress on
vtiger_contactdetails.contactid = vtiger_contactaddress.contactaddressid
inner join vtiger_customerdetails
on vtiger_customerdetails.customerid = vtiger_contactdetails.contactid
inner join vtiger_contactsubdetails on vtiger_contactdetails.contactid =
vtiger_contactsubdetails.contactsubscriptionid inner join
vtiger_contactscf on vtiger_contactdetails.contactid =
vtiger_contactscf.contactid left join vtiger_groups
vtiger_groupsContacts on vtiger_groupsContacts.groupid =
vtiger_crmentity.smownerid left join vtiger_contactdetails as
vtiger_contactdetailsContacts on
vtiger_contactdetailsContacts.contactid = vtiger_contactdetails.reportsto
left join vtiger_account as vtiger_accountContacts on
vtiger_accountContacts.accountid =
vtiger_contactdetails.accountid left join vtiger_users as
vtiger_usersContacts on vtiger_usersContacts.id =
vtiger_crmentity.smownerid left join vtiger_users on vtiger_users.id
= vtiger_crmentity.smownerid left join vtiger_groups on
vtiger_groups.groupid = vtiger_crmentity.smownerid where
vtiger_crmentity.deleted=0 and
(vtiger_accountContacts.accountname IS NULL OR
vtiger_accountContacts.accountname = '')::ADODB error Query Failed:select
sum(vtiger_potential.amount)
'Potentials_Amount_SUM', (sum(vtiger_potential.amount)/count(*))
'Potentials_Amount_AVG', min(vtiger_potential.amount)
'Potentials_Amount_MIN',
max(vtiger_potential.amount) 'Potentials_Amount_MAX' from
vtiger_contactdetails inner join vtiger_crmentity on
vtiger_crmentity.crmid = vtiger_contactdetails.contactid inner
join vtiger_contactaddress on vtiger_contactdetails.contactid =
vtiger_contactaddress.contactaddressid inner join vtiger_customerdetails
on
vtiger_customerdetails.customerid = vtiger_contactdetails.contactid inner
join vtiger_contactsubdetails on vtiger_contactdetails.contactid =
vtiger_contactsubdetails.contactsubscriptionid inner join
vtiger_contactscf on vtiger_contactdetails.contactid =
vtiger_contactscf.contactid left join vtiger_groups
vtiger_groupsContacts on vtiger_groupsContacts.groupid =
vtiger_crmentity.smownerid left join vtiger_contactdetails as
vtiger_contactdetailsContacts on
vtiger_contactdetailsContacts.contactid = vtiger_contactdetails.reportsto
left join vtiger_account as vtiger_accountContacts on
vtiger_accountContacts.accountid =
vtiger_contactdetails.accountid left join vtiger_users as
vtiger_usersContacts on vtiger_usersContacts.id =
vtiger_crmentity.smownerid left join vtiger_users on vtiger_users.id
= vtiger_crmentity.smownerid left join vtiger_groups on
vtiger_groups.groupid = vtiger_crmentity.smownerid where
vtiger_crmentity.deleted=0 and
(vtiger_accountContacts.accountname IS NULL OR
vtiger_accountContacts.accountname = '')::->Unknown column
'vtiger_potential.amount' in 'field list'
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/6178>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list