[Vtigercrm-commits] [vtiger development] #4760: create a new Report with Standard Filter[Current FY] its shows error.
vtiger development
vtiger-tickets at trac.vtiger.com
Tue Jan 1 23:42:04 EST 2008
#4760: create a new Report with Standard Filter[Current FY] its shows error.
------------------------+---------------------------------------------------
Reporter: dina | Owner: sandeep
Type: defect | Status: new
Priority: major | Milestone: 5.0.4
Component: vtigercrm | Version: 5.0.4
Resolution: | Keywords:
------------------------+---------------------------------------------------
Comment (by liza):
In Reports while relate quotes to Potential getting following failed
query.
ADODB error Query Failed:select vtiger_quotes.subject AS "Quotes_Subject",
vtiger_potentialRel.potentialname AS "Quotes_Potential_Name",
vtiger_quotes.quotestage AS "Quotes_Quote_Stage", vtiger_quotes.carrier AS
"Quotes_Carrier", vtiger_quotes.subtotal AS "Quotes_Sub_Total",
vtiger_quotes.shipping AS "Quotes_Shipping", vtiger_usersRel1.user_name as
'Quotes_Inventory_Manager', vtiger_quotes.taxtype AS "Quotes_Tax_Type",
vtiger_quotes.discount_percent AS "Quotes_Discount_Percent",
vtiger_quotes.discount_amount AS "Quotes_Discount_Amount",
vtiger_quotes.total AS "Quotes_Total", vtiger_quotes.s_h_amount AS
"Quotes_S&H_Amount", vtiger_accountQuotes.accountname AS
"Quotes_Account_Name", case when (vtiger_usersQuotes.user_name not like
'') then vtiger_usersQuotes.user_name else vtiger_groupsQuotes.groupname
end as Quotes_Assigned_To, vtiger_crmentity.createdtime AS
'Quotes_Created_Time', vtiger_crmentity.modifiedtime AS
'Quotes_Modified_Time', vtiger_quotes.adjustment AS "Quotes_Adjustment",
vtiger_quotesbillads.bill_street AS "Quotes_Billing_Address",
vtiger_quotesshipads.ship_street AS "Quotes_Shipping_Address",
vtiger_quotesbillads.bill_pobox AS "Quotes_Billing_Po_Box",
vtiger_quotesshipads.ship_pobox AS "Quotes_Shipping_Po_Box",
vtiger_quotesbillads.bill_city AS "Quotes_Billing_City",
vtiger_quotesshipads.ship_city AS "Quotes_Shipping_City",
vtiger_quotesbillads.bill_state AS "Quotes_Billing_State",
vtiger_quotesshipads.ship_state AS "Quotes_Shipping_State",
vtiger_quotesbillads.bill_code AS "Quotes_Billing_Code",
vtiger_quotesshipads.ship_code AS "Quotes_Shipping_Code",
vtiger_quotesbillads.bill_country AS "Quotes_Billing_Country",
vtiger_quotesshipads.ship_country AS "Quotes_Shipping_Country",
vtiger_potential.potentialname AS "Potentials_Potential_Name",
vtiger_accountPotentials.accountname AS "Potentials_Account_Name",
vtiger_potential.closingdate AS "Potentials_Expected_Close_Date",
vtiger_potential.potentialtype AS "Potentials_Type",
vtiger_potential.sales_stage AS "Potentials_Sales_Stage", case when
(vtiger_usersPotentials.user_name not like '') then
vtiger_usersPotentials.user_name else vtiger_groupsPotentials.groupname
end as Potentials_Assigned_To, vtiger_potential.probability AS
"Potentials_Probability", vtiger_campaign.campaignname AS
"Potentials_Campaign_Source", vtiger_crmentityPotentials.modifiedtime AS
"Potentials_Modified_Time", vtiger_crmentityPotentials.description AS
"Potentials_Description" from vtiger_quotes inner join vtiger_crmentity on
vtiger_crmentity.crmid=vtiger_quotes.quoteid inner join
vtiger_quotesbillads on
vtiger_quotes.quoteid=vtiger_quotesbillads.quotebilladdressid inner join
vtiger_quotesshipads on
vtiger_quotes.quoteid=vtiger_quotesshipads.quoteshipaddressid left join
vtiger_quotescf on vtiger_quotes.quoteid = vtiger_quotescf.quoteid left
join vtiger_quotegrouprelation on vtiger_quotes.quoteid =
vtiger_quotegrouprelation.quoteid left join vtiger_groups as
vtiger_groupsQuotes on vtiger_groupsQuotes.groupname =
vtiger_quotegrouprelation.groupname left join vtiger_users as
vtiger_usersQuotes on vtiger_usersQuotes.id = vtiger_crmentity.smownerid
left join vtiger_groups on vtiger_groups.groupname =
vtiger_quotegrouprelation.groupname left join vtiger_users on
vtiger_users.id = vtiger_crmentity.smownerid left join vtiger_users as
vtiger_usersRel1 on vtiger_usersRel1.id = vtiger_quotes.inventorymanager
left join vtiger_potential as vtiger_potentialRel on
vtiger_potentialRel.potentialid = vtiger_quotes.potentialid left join
vtiger_contactdetails as vtiger_contactdetailsQuotes on
vtiger_contactdetailsQuotes.contactid = vtiger_quotes.contactid left join
vtiger_account as vtiger_accountQuotes on vtiger_accountQuotes.accountid =
vtiger_quotes.accountid left join vtiger_potential as vtiger_potentialtmp
on vtiger_potentialtmp.potentialid = vtiger_quotes.potentialid left join
vtiger_crmentity as vtiger_crmentityPotentials on
vtiger_crmentityPotentials.crmid=vtiger_potentialtmp.potentialid and
vtiger_crmentityPotentials.deleted=0 left join vtiger_potential on
vtiger_potential.potentialid = vtiger_crmentityPotentials.crmid left join
vtiger_account as vtiger_accountPotentials on vtiger_potential.accountid =
vtiger_accountPotentials.accountid left join vtiger_potentialscf on
vtiger_potentialscf.potentialid = vtiger_potential.potentialid left join
vtiger_potentialgrouprelation on vtiger_potential.potentialid =
vtiger_potentialgrouprelation.potentialid left join vtiger_groups as
vtiger_groupsPotentials on vtiger_groupsPotentials.groupname =
vtiger_potentialgrouprelation.groupname left join vtiger_users as
vtiger_usersPotentials on vtiger_usersPotentials.id =
vtiger_crmentityPotentials.smownerid where vtiger_crmentity.deleted=0
::->Unknown column 'vtiger_campaign.campaignname' in 'field list'
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/4760#comment:2>
vtiger development <http://trac.vtiger.com/>
vtigerCRM
More information about the vtigercrm-commits
mailing list