Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SalesLogix Web Reporting - CR formula problems

Status
Not open for further replies.

dalaska

MIS
Nov 6, 2000
5
US
Hi All,

I'm working with SalesLogix.net 5.1 and using the integrated CR8 to do web reporting. I think there might be a version conflict or an incorrect driver or some other integration problem causing my SQL queries to be hackneyed. I tried doing a simple report with:

{ACCOUNT.ACCOUNTMANAGERID} like {?Mktg_Rep} and
{ACCOUNT.ACCOUNT} startswith {?Account_Name} and
({HISTORY.DESCRIPTION} = "Performance Review" or
{ACTIVITY.DESCRIPTION} = "Performance Review" or
{ATTACHMENT.DESCRIPTION} = "Performance Review")

and it couldn't even figure that out. If I response.write the query passed back from the web client, it doesn't include any of the last three lines (the OR conditions).

Here's another one that chops off lines in the final query:

{ACCOUNT.TYPE} = "Account" and
{ACCOUNT.ACCOUNTMANAGERID} like {?Mktg_Rep} and
{ACCOUNT.SECCODEID} in {?Seccodeids} AND
(If agency = "*" then True else {ASSOCIATION.TOID} like agency and {ACCOUNT_AGENT.TYPE} = "Agency") AND
(If {?Carrier} = "*" then True else {C_CARRIER.CARRIER} like {?Carrier}) AND
(If {?Product} = "*" then True else {CARRIER.CARRIER_TYPE} like {?Product}) AND
(If {?Month_Type} = "Contact" then
{ACCOUNT_EXT.CONTACT_MONTH} >= {?CM_Month_Start} and
{ACCOUNT_EXT.CONTACT_MONTH} <= {?CM_Month_End}
Else
{ACCOUNT_EXT.RENEWAL_MONTH} >= {?CM_Month_Start} and
{ACCOUNT_EXT.RENEWAL_MONTH} <= {?CM_Month_End})

These formulas work exactly as they're written when I preview them in the report designer. Put them into the web client and the parameters from 'If agency' down poop out. I can't help but think it's an integration problem, not a formula problem. Has anyone experienced something like this? Your help is greatly appreciated. Thanks.

Doug
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top