<?php
$tdataList_Management=array();
	$tdataList_Management[".NumberOfChars"]=80; 
	$tdataList_Management[".ShortName"]="List_Management";
	$tdataList_Management[".OwnerID"]="Region";
	$tdataList_Management[".OriginalTable"]="customer_list";


	
//	field labels
$fieldLabelsList_Management = array();
if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsList_Management["English"]=array();
	$fieldToolTipsList_Management["English"]=array();
	$fieldLabelsList_Management["English"]["idCL"] = "Id CL";
	$fieldToolTipsList_Management["English"]["idCL"] = "";
	$fieldLabelsList_Management["English"]["Customer_Name"] = "Customer Name";
	$fieldToolTipsList_Management["English"]["Customer Name"] = "";
	$fieldLabelsList_Management["English"]["Address"] = "Address";
	$fieldToolTipsList_Management["English"]["Address"] = "";
	$fieldLabelsList_Management["English"]["City"] = "City";
	$fieldToolTipsList_Management["English"]["City"] = "";
	$fieldLabelsList_Management["English"]["State"] = "State";
	$fieldToolTipsList_Management["English"]["State"] = "";
	$fieldLabelsList_Management["English"]["Country"] = "Country";
	$fieldToolTipsList_Management["English"]["Country"] = "";
	$fieldLabelsList_Management["English"]["Postal_Code"] = "Postal Code";
	$fieldToolTipsList_Management["English"]["Postal Code"] = "";
	$fieldLabelsList_Management["English"]["Web_address"] = "Web Address";
	$fieldToolTipsList_Management["English"]["Web address"] = "";
	$fieldLabelsList_Management["English"]["Area"] = "Area";
	$fieldToolTipsList_Management["English"]["Area"] = "";
	$fieldLabelsList_Management["English"]["Customer_Category"] = "Customer Category";
	$fieldToolTipsList_Management["English"]["Customer_Category"] = "";
	$fieldLabelsList_Management["English"]["Breif_About_the_Company"] = "Breif About the Company";
	$fieldToolTipsList_Management["English"]["Breif About the Company"] = "";
	$fieldLabelsList_Management["English"]["Existing_Setup"] = "Existing Setup";
	$fieldToolTipsList_Management["English"]["Existing Setup"] = "";
	$fieldLabelsList_Management["English"]["Interaction_Summary"] = "Interaction Summary";
	$fieldToolTipsList_Management["English"]["Interaction Summary"] = "";
	$fieldLabelsList_Management["English"]["Commercial_Summary"] = "Commercial Summary";
	$fieldToolTipsList_Management["English"]["Commercial Summary"] = "";
	$fieldLabelsList_Management["English"]["Customer_Status"] = "Customer Status";
	$fieldToolTipsList_Management["English"]["Customer Status"] = "";
	$fieldLabelsList_Management["English"]["Region"] = "Region";
	$fieldToolTipsList_Management["English"]["Region"] = "";
	$fieldLabelsList_Management["English"]["Last_Updated_on"] = "Last Updated on";
	$fieldToolTipsList_Management["English"]["Last Updated on"] = "";
	$fieldLabelsList_Management["English"]["LU_Month"] = "LU-Month";
	$fieldToolTipsList_Management["English"]["LU-Month"] = "";
	$fieldLabelsList_Management["English"]["LU_Year"] = "LU-Year";
	$fieldToolTipsList_Management["English"]["LU-Year"] = "";
	$fieldLabelsList_Management["English"]["Created_on"] = "Created On";
	$fieldToolTipsList_Management["English"]["Created on"] = "";
	$fieldLabelsList_Management["English"]["Assigned_Executive"] = "Assigned Executive";
	$fieldToolTipsList_Management["English"]["Assigned Executive"] = "";
	$fieldLabelsList_Management["English"]["Assigned_Date"] = "Assigned Date";
	$fieldToolTipsList_Management["English"]["Assigned Date"] = "";
	$fieldLabelsList_Management["English"]["Aligned_Partner"] = "Aligned Partner";
	$fieldToolTipsList_Management["English"]["Aligned Partner"] = "";
	if (count($fieldToolTipsList_Management["English"])){
		$tdataList_Management[".isUseToolTips"]=true;
	}
}


	

	

$tdataList_Management[".shortTableName"] = "List_Management";
$tdataList_Management[".nSecOptions"] = 2;
$tdataList_Management[".recsPerRowList"] = 1;	
$tdataList_Management[".tableGroupBy"] = "0";
$tdataList_Management[".mainTableOwnerID"] = "Region";
$tdataList_Management[".moveNext"] = 1;




$tdataList_Management[".showAddInPopup"] = false;

$tdataList_Management[".showEditInPopup"] = false;

$tdataList_Management[".showViewInPopup"] = false;


$tdataList_Management[".fieldsForRegister"] = array();

$tdataList_Management[".listAjax"] = false;

	$tdataList_Management[".audit"] = false;

	$tdataList_Management[".locking"] = true;
	
$tdataList_Management[".listIcons"] = true;




$tdataList_Management[".showSimpleSearchOptions"] = false;

$tdataList_Management[".showSearchPanel"] = true;


$tdataList_Management[".isUseAjaxSuggest"] = true;

$tdataList_Management[".rowHighlite"] = true;


// button handlers file names

$tdataList_Management[".addPageEvents"] = false;

$tdataList_Management[".arrKeyFields"][] = "idCL";

// use datepicker for search panel
$tdataList_Management[".isUseCalendarForSearch"] = true;

// use timepicker for search panel
$tdataList_Management[".isUseTimeForSearch"] = false;

$tdataList_Management[".isUseiBox"] = false;




$tdataList_Management[".isUseInlineJs"] = $tdataList_Management[".isUseInlineAdd"] || $tdataList_Management[".isUseInlineEdit"];

$tdataList_Management[".allSearchFields"] = array();



$tdataList_Management[".googleLikeFields"][] = "idCL";
$tdataList_Management[".googleLikeFields"][] = "Customer Name";
$tdataList_Management[".googleLikeFields"][] = "Address";
$tdataList_Management[".googleLikeFields"][] = "City";
$tdataList_Management[".googleLikeFields"][] = "State";
$tdataList_Management[".googleLikeFields"][] = "Country";
$tdataList_Management[".googleLikeFields"][] = "Postal Code";
$tdataList_Management[".googleLikeFields"][] = "Web address";
$tdataList_Management[".googleLikeFields"][] = "Area";
$tdataList_Management[".googleLikeFields"][] = "Customer_Category";
$tdataList_Management[".googleLikeFields"][] = "Breif About the Company";
$tdataList_Management[".googleLikeFields"][] = "Existing Setup";
$tdataList_Management[".googleLikeFields"][] = "Interaction Summary";
$tdataList_Management[".googleLikeFields"][] = "Commercial Summary";
$tdataList_Management[".googleLikeFields"][] = "Customer Status";
$tdataList_Management[".googleLikeFields"][] = "Region";
$tdataList_Management[".googleLikeFields"][] = "Last Updated on";
$tdataList_Management[".googleLikeFields"][] = "LU-Month";
$tdataList_Management[".googleLikeFields"][] = "LU-Year";
$tdataList_Management[".googleLikeFields"][] = "Created on";
$tdataList_Management[".googleLikeFields"][] = "Assigned Executive";
$tdataList_Management[".googleLikeFields"][] = "Assigned Date";
$tdataList_Management[".googleLikeFields"][] = "Aligned Partner";

$tdataList_Management[".panelSearchFields"][] = "Customer Status";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Customer Status", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Customer Status";	
}


$tdataList_Management[".advSearchFields"][] = "idCL";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("idCL", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "idCL";	
}
$tdataList_Management[".advSearchFields"][] = "Customer Name";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Customer Name", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Customer Name";	
}
$tdataList_Management[".advSearchFields"][] = "Address";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Address", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Address";	
}
$tdataList_Management[".advSearchFields"][] = "City";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("City", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "City";	
}
$tdataList_Management[".advSearchFields"][] = "State";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("State", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "State";	
}
$tdataList_Management[".advSearchFields"][] = "Country";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Country", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Country";	
}
$tdataList_Management[".advSearchFields"][] = "Postal Code";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Postal Code", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Postal Code";	
}
$tdataList_Management[".advSearchFields"][] = "Web address";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Web address", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Web address";	
}
$tdataList_Management[".advSearchFields"][] = "Area";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Area", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Area";	
}
$tdataList_Management[".advSearchFields"][] = "Customer_Category";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Customer_Category", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Customer_Category";	
}
$tdataList_Management[".advSearchFields"][] = "Breif About the Company";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Breif About the Company", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Breif About the Company";	
}
$tdataList_Management[".advSearchFields"][] = "Existing Setup";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Existing Setup", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Existing Setup";	
}
$tdataList_Management[".advSearchFields"][] = "Interaction Summary";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Interaction Summary", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Interaction Summary";	
}
$tdataList_Management[".advSearchFields"][] = "Commercial Summary";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Commercial Summary", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Commercial Summary";	
}
$tdataList_Management[".advSearchFields"][] = "Customer Status";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Customer Status", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Customer Status";	
}
$tdataList_Management[".advSearchFields"][] = "Region";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Region", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Region";	
}
$tdataList_Management[".advSearchFields"][] = "Last Updated on";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Last Updated on", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Last Updated on";	
}
$tdataList_Management[".advSearchFields"][] = "LU-Month";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("LU-Month", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "LU-Month";	
}
$tdataList_Management[".advSearchFields"][] = "LU-Year";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("LU-Year", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "LU-Year";	
}
$tdataList_Management[".advSearchFields"][] = "Created on";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Created on", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Created on";	
}
$tdataList_Management[".advSearchFields"][] = "Assigned Executive";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Assigned Executive", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Assigned Executive";	
}
$tdataList_Management[".advSearchFields"][] = "Assigned Date";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Assigned Date", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Assigned Date";	
}
$tdataList_Management[".advSearchFields"][] = "Aligned Partner";
// do in this way, because combine functions array_unique and array_merge returns array with keys like 1,2, 4 etc
if (!in_array("Aligned Partner", $tdataList_Management[".allSearchFields"])) 
{
	$tdataList_Management[".allSearchFields"][] = "Aligned Partner";	
}

$tdataList_Management[".isTableType"] = "list";


	

$tdataList_Management[".isDisplayLoading"] = true;

$tdataList_Management[".isResizeColumns"] = false;

	$tdataList_Management[".subQueriesSupAccess"] = true;




$tdataList_Management[".pageSize"] = 20;

$gstrOrderBy = "ORDER BY idCL DESC";
if(strlen($gstrOrderBy) && strtolower(substr($gstrOrderBy,0,8))!="order by")
	$gstrOrderBy = "order by ".$gstrOrderBy;
$tdataList_Management[".strOrderBy"] = $gstrOrderBy;
	
$tdataList_Management[".orderindexes"] = array();
$tdataList_Management[".orderindexes"][] = array(1, (0 ? "ASC" : "DESC"), "idCL");

$tdataList_Management[".sqlHead"] = "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`,  Region,  `Last Updated on`,  MonthName(`Last Updated on`) AS `LU-Month`,  Year(`Last Updated on`) AS `LU-Year`,  `Created on`,  `Assigned Executive`,  `Assigned Date`,  `Aligned Partner`";
$tdataList_Management[".sqlFrom"] = "FROM customer_list";
$tdataList_Management[".sqlWhereExpr"] = "";
$tdataList_Management[".sqlTail"] = "";




//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdataList_Management[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdataList_Management[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tableKeys[] = "idCL";
	$tdataList_Management[".Keys"] = $tableKeys;

//	idCL
	$fdata = array();
	$fdata["strName"] = "idCL";
	$fdata["ownerTable"] = "customer_list";
		$fdata["Label"]="Id CL"; 
	
		
		
	$fdata["FieldType"]= 3;
	
		$fdata["AutoInc"]=true;
	
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "idCL";
	
		$fdata["FullName"]= "idCL";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 1;
				$fdata["EditParams"]="";
			
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["idCL"]=$fdata;
//	Customer Name
	$fdata = array();
	$fdata["strName"] = "Customer Name";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Customer_Name";
	
		$fdata["FullName"]= "`Customer Name`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 2;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=100";
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Customer Name"]=$fdata;
//	Address
	$fdata = array();
	$fdata["strName"] = "Address";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text area";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Address";
	
		$fdata["FullName"]= "Address";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 3;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=100";
		$fdata["nRows"] = 100;
			$fdata["EditParams"].= " cols=200";
		$fdata["nCols"] = 200;
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Address"]=$fdata;
//	City
	$fdata = array();
	$fdata["strName"] = "City";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "City";
	
		$fdata["FullName"]= "City";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 4;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["City"]=$fdata;
//	State
	$fdata = array();
	$fdata["strName"] = "State";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "State";
	
		$fdata["FullName"]= "`State`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 5;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["State"]=$fdata;
//	Country
	$fdata = array();
	$fdata["strName"] = "Country";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Country";
	
		$fdata["FullName"]= "Country";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 6;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Country"]=$fdata;
//	Postal Code
	$fdata = array();
	$fdata["strName"] = "Postal Code";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Postal_Code";
	
		$fdata["FullName"]= "`Postal Code`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 7;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=10";
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Postal Code"]=$fdata;
//	Web address
	$fdata = array();
	$fdata["strName"] = "Web address";
	$fdata["ownerTable"] = "customer_list";
		$fdata["Label"]="Web Address"; 
	
		
		$fdata["LinkPrefix"]="http://"; 
	
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "Hyperlink";
	
		
		
		
		
		
	$fdata["GoodName"]= "Web_address";
	
		$fdata["FullName"]= "`Web address`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 8;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=100";
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Web address"]=$fdata;
//	Area
	$fdata = array();
	$fdata["strName"] = "Area";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
		
		$fdata["LookupType"]=1;
	$fdata["pLookupType"] = 1;
	$fdata["freeInput"] = 0;	
	$fdata["autoCompleteFieldsOnEdit"] = 0;
	$fdata["autoCompleteFields"] = array();
										$fdata["LinkField"]="Area Name";
	$fdata["LinkFieldType"]=200;
	$fdata["DisplayField"]="Area Name";
				$fdata["LookupTable"]="area";
	$fdata["LookupOrderBy"]="";
										$fdata["UseCategory"]=true; 
	$fdata["CategoryControl"]="Region"; 
	$fdata["CategoryFilter"]="Region"; 
							$fdata["AllowToAdd"]=true; 
				
					
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Area";
	
		$fdata["FullName"]= "Area";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 9;
				
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Area"]=$fdata;
//	Customer_Category
	$fdata = array();
	$fdata["strName"] = "Customer_Category";
	$fdata["ownerTable"] = "customer_list";
		$fdata["Label"]="Customer Category"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
		
		$fdata["LookupType"]=1;
	$fdata["pLookupType"] = 1;
	$fdata["freeInput"] = 0;	
	$fdata["autoCompleteFieldsOnEdit"] = 0;
	$fdata["autoCompleteFields"] = array();
										$fdata["LinkField"]="Customer_Category";
	$fdata["LinkFieldType"]=200;
	$fdata["DisplayField"]="Customer_Category";
				$fdata["LookupTable"]="customer_category";
	$fdata["LookupOrderBy"]="Description";
																			$fdata["SimpleAdd"]=true;
	
					
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Customer_Category";
	
		$fdata["FullName"]= "Customer_Category";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 10;
				
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Customer_Category"]=$fdata;
//	Breif About the Company
	$fdata = array();
	$fdata["strName"] = "Breif About the Company";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text area";
	$fdata["ViewFormat"]= "HTML";
	
		
		
		
		
		
	$fdata["GoodName"]= "Breif_About_the_Company";
	
		$fdata["FullName"]= "`Breif About the Company`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 11;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=100";
		$fdata["nRows"] = 100;
			$fdata["EditParams"].= " cols=300";
		$fdata["nCols"] = 300;
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Breif About the Company"]=$fdata;
//	Existing Setup
	$fdata = array();
	$fdata["strName"] = "Existing Setup";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text area";
	$fdata["ViewFormat"]= "HTML";
	
		
		
		
		
		
	$fdata["GoodName"]= "Existing_Setup";
	
		$fdata["FullName"]= "`Existing Setup`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 12;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=100";
		$fdata["nRows"] = 100;
			$fdata["EditParams"].= " cols=300";
		$fdata["nCols"] = 300;
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Existing Setup"]=$fdata;
//	Interaction Summary
	$fdata = array();
	$fdata["strName"] = "Interaction Summary";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text area";
	$fdata["ViewFormat"]= "HTML";
	
		
		
		
		
		
	$fdata["GoodName"]= "Interaction_Summary";
	
		$fdata["FullName"]= "`Interaction Summary`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 13;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=100";
		$fdata["nRows"] = 100;
			$fdata["EditParams"].= " cols=300";
		$fdata["nCols"] = 300;
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Interaction Summary"]=$fdata;
//	Commercial Summary
	$fdata = array();
	$fdata["strName"] = "Commercial Summary";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text area";
	$fdata["ViewFormat"]= "HTML";
	
		
		
		
		
		
	$fdata["GoodName"]= "Commercial_Summary";
	
		$fdata["FullName"]= "`Commercial Summary`";
	
		
		
		
		
		
				$fdata["Index"]= 14;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=100";
		$fdata["nRows"] = 100;
			$fdata["EditParams"].= " cols=300";
		$fdata["nCols"] = 300;
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Commercial Summary"]=$fdata;
//	Customer Status
	$fdata = array();
	$fdata["strName"] = "Customer Status";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Customer_Status";
	
		$fdata["FullName"]= "`Customer Status`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 15;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=15";
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Customer Status"]=$fdata;
//	Region
	$fdata = array();
	$fdata["strName"] = "Region";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
		
		$fdata["LookupType"]=1;
	$fdata["pLookupType"] = 1;
	$fdata["freeInput"] = 0;	
	$fdata["autoCompleteFieldsOnEdit"] = 0;
	$fdata["autoCompleteFields"] = array();
										$fdata["LinkField"]="Region Name";
	$fdata["LinkFieldType"]=200;
	$fdata["DisplayField"]="Region Name";
				$fdata["LookupTable"]="region";
	$fdata["LookupOrderBy"]="";
																			$fdata["SimpleAdd"]=true;
	
				//	dependent dropdowns	
	$fdata["DependentLookups"]=array();
	$fdata["DependentLookups"][]="Area";
					
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Region";
	
		$fdata["FullName"]= "Region";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 16;
				
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Region"]=$fdata;
//	Last Updated on
	$fdata = array();
	$fdata["strName"] = "Last Updated on";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 135;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Date";
	$fdata["ViewFormat"]= "Short Date";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Last_Updated_on";
	
		$fdata["FullName"]= "`Last Updated on`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 17;
		$fdata["DateEditType"] = 11; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Last Updated on"]=$fdata;
//	LU-Month
	$fdata = array();
	$fdata["strName"] = "LU-Month";
	$fdata["ownerTable"] = "";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "LU_Month";
	
		$fdata["FullName"]= "MonthName(`Last Updated on`)";
	
		
		
		
		
		
				$fdata["Index"]= 18;
				$fdata["EditParams"]="";
			
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["LU-Month"]=$fdata;
//	LU-Year
	$fdata = array();
	$fdata["strName"] = "LU-Year";
	$fdata["ownerTable"] = "";
		
		
		
	$fdata["FieldType"]= 3;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "LU_Year";
	
		$fdata["FullName"]= "Year(`Last Updated on`)";
	
		
		
		
		
		
				$fdata["Index"]= 19;
				$fdata["EditParams"]="";
			
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["LU-Year"]=$fdata;
//	Created on
	$fdata = array();
	$fdata["strName"] = "Created on";
	$fdata["ownerTable"] = "customer_list";
		$fdata["Label"]="Created On"; 
	
		
		
	$fdata["FieldType"]= 135;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Date";
	$fdata["ViewFormat"]= "Short Date";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Created_on";
	
		$fdata["FullName"]= "`Created on`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 20;
		$fdata["DateEditType"] = 11; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Created on"]=$fdata;
//	Assigned Executive
	$fdata = array();
	$fdata["strName"] = "Assigned Executive";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Assigned_Executive";
	
		$fdata["FullName"]= "`Assigned Executive`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 21;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=100";
		
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Assigned Executive"]=$fdata;
//	Assigned Date
	$fdata = array();
	$fdata["strName"] = "Assigned Date";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 135;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Date";
	$fdata["ViewFormat"]= "Short Date";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Assigned_Date";
	
		$fdata["FullName"]= "`Assigned Date`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 22;
		$fdata["DateEditType"] = 13; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Assigned Date"]=$fdata;
//	Aligned Partner
	$fdata = array();
	$fdata["strName"] = "Aligned Partner";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Aligned_Partner";
	
		$fdata["FullName"]= "`Aligned Partner`";
	
		
		
		
		
		
				$fdata["Index"]= 23;
				$fdata["EditParams"]="";
			
		
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				
		
				
		
		
		
			$tdataList_Management["Aligned Partner"]=$fdata;

	
$tables_data["List Management"]=&$tdataList_Management;
$field_labels["List_Management"] = &$fieldLabelsList_Management;
$fieldToolTips["List Management"] = &$fieldToolTipsList_Management;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["List Management"] = array();
$dIndex = 1-1;
			$strOriginalDetailsTable="cust_list_contact_person";
	$detailsTablesData["List Management"][$dIndex] = array(
		  "dDataSourceTable"=>"Contact Details"
		, "dOriginalTable"=>$strOriginalDetailsTable
		, "dShortTable"=>"Contact_Details"
		, "masterKeys"=>array()
		, "detailKeys"=>array()
		, "dispChildCount"=> "1"
		, "hideChild"=>"0"
		, "sqlHead"=>"SELECT idCLCP,  Name,  `Job Title`,  `Phone- Direct`,  `Phone Extn`,  Mobile,  `E-Mail`,  Notes,  `Company Name`"	
		, "sqlFrom"=>"FROM cust_list_contact_person"	
		, "sqlWhere"=>""
		, "sqlTail"=>""
		, "groupBy"=>"0"
		, "previewOnList" => 0
		, "previewOnAdd" => 0
		, "previewOnEdit" => 0
		, "previewOnView" => 1
	);	
		$detailsTablesData["List Management"][$dIndex]["masterKeys"][]="Customer Name";
		$detailsTablesData["List Management"][$dIndex]["detailKeys"][]="Company Name";


	
// tables which are master tables for current table (detail)
$masterTablesData["List Management"] = array();

// -----------------end  prepare master-details data arrays ------------------------------//

require_once(getabspath("classes/sql.php"));










$proto879=array();
$proto879["m_strHead"] = "Select";
$proto879["m_strFieldList"] = "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`,  Region,  `Last Updated on`,  MonthName(`Last Updated on`) AS `LU-Month`,  Year(`Last Updated on`) AS `LU-Year`,  `Created on`,  `Assigned Executive`,  `Assigned Date`,  `Aligned Partner`";
$proto879["m_strFrom"] = "FROM customer_list";
$proto879["m_strWhere"] = "";
$proto879["m_strOrderBy"] = "ORDER BY idCL DESC";
$proto879["m_strTail"] = "";
$proto880=array();
$proto880["m_sql"] = "";
$proto880["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto880["m_column"]=$obj;
$proto880["m_contained"] = array();
$proto880["m_strCase"] = "";
$proto880["m_havingmode"] = "0";
$proto880["m_inBrackets"] = "0";
$proto880["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto880);

$proto879["m_where"] = $obj;
$proto882=array();
$proto882["m_sql"] = "";
$proto882["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto882["m_column"]=$obj;
$proto882["m_contained"] = array();
$proto882["m_strCase"] = "";
$proto882["m_havingmode"] = "0";
$proto882["m_inBrackets"] = "0";
$proto882["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto882);

$proto879["m_having"] = $obj;
$proto879["m_fieldlist"] = array();
						$proto884=array();
			$obj = new SQLField(array(
	"m_strName" => "idCL",
	"m_strTable" => "customer_list"
));

$proto884["m_expr"]=$obj;
$proto884["m_alias"] = "";
$obj = new SQLFieldListItem($proto884);

$proto879["m_fieldlist"][]=$obj;
						$proto886=array();
			$obj = new SQLField(array(
	"m_strName" => "Customer Name",
	"m_strTable" => "customer_list"
));

$proto886["m_expr"]=$obj;
$proto886["m_alias"] = "";
$obj = new SQLFieldListItem($proto886);

$proto879["m_fieldlist"][]=$obj;
						$proto888=array();
			$obj = new SQLField(array(
	"m_strName" => "Address",
	"m_strTable" => "customer_list"
));

$proto888["m_expr"]=$obj;
$proto888["m_alias"] = "";
$obj = new SQLFieldListItem($proto888);

$proto879["m_fieldlist"][]=$obj;
						$proto890=array();
			$obj = new SQLField(array(
	"m_strName" => "City",
	"m_strTable" => "customer_list"
));

$proto890["m_expr"]=$obj;
$proto890["m_alias"] = "";
$obj = new SQLFieldListItem($proto890);

$proto879["m_fieldlist"][]=$obj;
						$proto892=array();
			$obj = new SQLField(array(
	"m_strName" => "State",
	"m_strTable" => "customer_list"
));

$proto892["m_expr"]=$obj;
$proto892["m_alias"] = "";
$obj = new SQLFieldListItem($proto892);

$proto879["m_fieldlist"][]=$obj;
						$proto894=array();
			$obj = new SQLField(array(
	"m_strName" => "Country",
	"m_strTable" => "customer_list"
));

$proto894["m_expr"]=$obj;
$proto894["m_alias"] = "";
$obj = new SQLFieldListItem($proto894);

$proto879["m_fieldlist"][]=$obj;
						$proto896=array();
			$obj = new SQLField(array(
	"m_strName" => "Postal Code",
	"m_strTable" => "customer_list"
));

$proto896["m_expr"]=$obj;
$proto896["m_alias"] = "";
$obj = new SQLFieldListItem($proto896);

$proto879["m_fieldlist"][]=$obj;
						$proto898=array();
			$obj = new SQLField(array(
	"m_strName" => "Web address",
	"m_strTable" => "customer_list"
));

$proto898["m_expr"]=$obj;
$proto898["m_alias"] = "";
$obj = new SQLFieldListItem($proto898);

$proto879["m_fieldlist"][]=$obj;
						$proto900=array();
			$obj = new SQLField(array(
	"m_strName" => "Area",
	"m_strTable" => "customer_list"
));

$proto900["m_expr"]=$obj;
$proto900["m_alias"] = "";
$obj = new SQLFieldListItem($proto900);

$proto879["m_fieldlist"][]=$obj;
						$proto902=array();
			$obj = new SQLField(array(
	"m_strName" => "Customer_Category",
	"m_strTable" => "customer_list"
));

$proto902["m_expr"]=$obj;
$proto902["m_alias"] = "";
$obj = new SQLFieldListItem($proto902);

$proto879["m_fieldlist"][]=$obj;
						$proto904=array();
			$obj = new SQLField(array(
	"m_strName" => "Breif About the Company",
	"m_strTable" => "customer_list"
));

$proto904["m_expr"]=$obj;
$proto904["m_alias"] = "";
$obj = new SQLFieldListItem($proto904);

$proto879["m_fieldlist"][]=$obj;
						$proto906=array();
			$obj = new SQLField(array(
	"m_strName" => "Existing Setup",
	"m_strTable" => "customer_list"
));

$proto906["m_expr"]=$obj;
$proto906["m_alias"] = "";
$obj = new SQLFieldListItem($proto906);

$proto879["m_fieldlist"][]=$obj;
						$proto908=array();
			$obj = new SQLField(array(
	"m_strName" => "Interaction Summary",
	"m_strTable" => "customer_list"
));

$proto908["m_expr"]=$obj;
$proto908["m_alias"] = "";
$obj = new SQLFieldListItem($proto908);

$proto879["m_fieldlist"][]=$obj;
						$proto910=array();
			$obj = new SQLField(array(
	"m_strName" => "Commercial Summary",
	"m_strTable" => "customer_list"
));

$proto910["m_expr"]=$obj;
$proto910["m_alias"] = "";
$obj = new SQLFieldListItem($proto910);

$proto879["m_fieldlist"][]=$obj;
						$proto912=array();
			$obj = new SQLField(array(
	"m_strName" => "Customer Status",
	"m_strTable" => "customer_list"
));

$proto912["m_expr"]=$obj;
$proto912["m_alias"] = "";
$obj = new SQLFieldListItem($proto912);

$proto879["m_fieldlist"][]=$obj;
						$proto914=array();
			$obj = new SQLField(array(
	"m_strName" => "Region",
	"m_strTable" => "customer_list"
));

$proto914["m_expr"]=$obj;
$proto914["m_alias"] = "";
$obj = new SQLFieldListItem($proto914);

$proto879["m_fieldlist"][]=$obj;
						$proto916=array();
			$obj = new SQLField(array(
	"m_strName" => "Last Updated on",
	"m_strTable" => "customer_list"
));

$proto916["m_expr"]=$obj;
$proto916["m_alias"] = "";
$obj = new SQLFieldListItem($proto916);

$proto879["m_fieldlist"][]=$obj;
						$proto918=array();
			$proto919=array();
$proto919["m_functiontype"] = "SQLF_CUSTOM";
$proto919["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "`Last Updated on`"
));

$proto919["m_arguments"][]=$obj;
$proto919["m_strFunctionName"] = "MonthName";
$obj = new SQLFunctionCall($proto919);

$proto918["m_expr"]=$obj;
$proto918["m_alias"] = "LU-Month";
$obj = new SQLFieldListItem($proto918);

$proto879["m_fieldlist"][]=$obj;
						$proto921=array();
			$proto922=array();
$proto922["m_functiontype"] = "SQLF_CUSTOM";
$proto922["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "`Last Updated on`"
));

$proto922["m_arguments"][]=$obj;
$proto922["m_strFunctionName"] = "Year";
$obj = new SQLFunctionCall($proto922);

$proto921["m_expr"]=$obj;
$proto921["m_alias"] = "LU-Year";
$obj = new SQLFieldListItem($proto921);

$proto879["m_fieldlist"][]=$obj;
						$proto924=array();
			$obj = new SQLField(array(
	"m_strName" => "Created on",
	"m_strTable" => "customer_list"
));

$proto924["m_expr"]=$obj;
$proto924["m_alias"] = "";
$obj = new SQLFieldListItem($proto924);

$proto879["m_fieldlist"][]=$obj;
						$proto926=array();
			$obj = new SQLField(array(
	"m_strName" => "Assigned Executive",
	"m_strTable" => "customer_list"
));

$proto926["m_expr"]=$obj;
$proto926["m_alias"] = "";
$obj = new SQLFieldListItem($proto926);

$proto879["m_fieldlist"][]=$obj;
						$proto928=array();
			$obj = new SQLField(array(
	"m_strName" => "Assigned Date",
	"m_strTable" => "customer_list"
));

$proto928["m_expr"]=$obj;
$proto928["m_alias"] = "";
$obj = new SQLFieldListItem($proto928);

$proto879["m_fieldlist"][]=$obj;
						$proto930=array();
			$obj = new SQLField(array(
	"m_strName" => "Aligned Partner",
	"m_strTable" => "customer_list"
));

$proto930["m_expr"]=$obj;
$proto930["m_alias"] = "";
$obj = new SQLFieldListItem($proto930);

$proto879["m_fieldlist"][]=$obj;
$proto879["m_fromlist"] = array();
												$proto932=array();
$proto932["m_link"] = "SQLL_MAIN";
			$proto933=array();
$proto933["m_strName"] = "customer_list";
$proto933["m_columns"] = array();
$proto933["m_columns"][] = "idCL";
$proto933["m_columns"][] = "Created on";
$proto933["m_columns"][] = "Region";
$proto933["m_columns"][] = "Customer Name";
$proto933["m_columns"][] = "Address";
$proto933["m_columns"][] = "City";
$proto933["m_columns"][] = "State";
$proto933["m_columns"][] = "Country";
$proto933["m_columns"][] = "Postal Code";
$proto933["m_columns"][] = "Web address";
$proto933["m_columns"][] = "Area";
$proto933["m_columns"][] = "Customer_Category";
$proto933["m_columns"][] = "Breif About the Company";
$proto933["m_columns"][] = "Existing Setup";
$proto933["m_columns"][] = "Interaction Summary";
$proto933["m_columns"][] = "Commercial Summary";
$proto933["m_columns"][] = "Customer Status";
$proto933["m_columns"][] = "Assigned Executive";
$proto933["m_columns"][] = "Assigned Date";
$proto933["m_columns"][] = "Last Updated on";
$proto933["m_columns"][] = "Aligned Partner";
$obj = new SQLTable($proto933);

$proto932["m_table"] = $obj;
$proto932["m_alias"] = "";
$proto934=array();
$proto934["m_sql"] = "";
$proto934["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto934["m_column"]=$obj;
$proto934["m_contained"] = array();
$proto934["m_strCase"] = "";
$proto934["m_havingmode"] = "0";
$proto934["m_inBrackets"] = "0";
$proto934["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto934);

$proto932["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto932);

$proto879["m_fromlist"][]=$obj;
$proto879["m_groupby"] = array();
$proto879["m_orderby"] = array();
												$proto936=array();
						$obj = new SQLField(array(
	"m_strName" => "idCL",
	"m_strTable" => "customer_list"
));

$proto936["m_column"]=$obj;
$proto936["m_bAsc"] = 0;
$proto936["m_nColumn"] = 0;
$obj = new SQLOrderByItem($proto936);

$proto879["m_orderby"][]=$obj;					
$obj = new SQLQuery($proto879);

$queryData_List_Management = $obj;
$tdataList_Management[".sqlquery"] = $queryData_List_Management;

include(getabspath("include/List_Management_events.php"));
$tableEvents["List Management"] = new eventclass_List_Management;

?>
