<?php
$strTableName="Potential Customer List";
$_SESSION["OwnerID"] = $_SESSION["_".$strTableName."_OwnerID"];

$strOriginalTableName="customer_list";

$gstrOrderBy="ORDER BY `Customer Status`";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy="order by ".$gstrOrderBy;

$g_orderindexes=array();
$g_orderindexes[] = array(15, (1 ? "ASC" : "DESC"), "`Customer Status`");
$gsqlHead="Select idCL,  `Customer Name`,  Address,  City,  `State`,  Country,  `Postal Code`,  `Web address`,  Area,  Customer_Category,  `Breif About the Company`,  `Existing Setup`,  `Interaction Summary`,  `Commercial Summary`,  `Customer Status`,  `Assigned Executive`,  `Assigned Date`,  `Last Updated on`,  Region,  `Aligned Partner`";
$gsqlFrom="FROM customer_list";
$gsqlWhereExpr="(`Customer Status` = \"Active\" OR `Customer Status` =\"Shortlisted\")";
$gsqlTail="";

include(getabspath("include/Potential_Customer_List_settings.php"));

// alias for 'SQLQuery' object
$gQuery = &$queryData_Potential_Customer_List;
$eventObj = &$tableEvents["Potential Customer List"];

$reportCaseSensitiveGroupFields = false;

$gstrSQL = gSQLWhere("");


?>