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


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


	
	$tdataInactive_customer_list[".NCSearch"]=true;

	

$tdataInactive_customer_list[".shortTableName"] = "Inactive_customer_list";
$tdataInactive_customer_list[".nSecOptions"] = 1;
$tdataInactive_customer_list[".recsPerRowList"] = 1;	
$tdataInactive_customer_list[".tableGroupBy"] = "0";
$tdataInactive_customer_list[".mainTableOwnerID"] = "Region";
$tdataInactive_customer_list[".moveNext"] = 1;




$tdataInactive_customer_list[".showAddInPopup"] = false;

$tdataInactive_customer_list[".showEditInPopup"] = false;

$tdataInactive_customer_list[".showViewInPopup"] = false;


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

$tdataInactive_customer_list[".listAjax"] = false;

	$tdataInactive_customer_list[".audit"] = false;

	$tdataInactive_customer_list[".locking"] = true;
	
$tdataInactive_customer_list[".listIcons"] = true;
$tdataInactive_customer_list[".inlineEdit"] = true;
$tdataInactive_customer_list[".view"] = true;




$tdataInactive_customer_list[".showSimpleSearchOptions"] = false;

$tdataInactive_customer_list[".showSearchPanel"] = true;


$tdataInactive_customer_list[".isUseAjaxSuggest"] = true;

$tdataInactive_customer_list[".rowHighlite"] = true;


// button handlers file names

$tdataInactive_customer_list[".addPageEvents"] = false;

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

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

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

$tdataInactive_customer_list[".isUseiBox"] = false;




$tdataInactive_customer_list[".isUseInlineEdit"] = true;
$tdataInactive_customer_list[".isUseInlineJs"] = $tdataInactive_customer_list[".isUseInlineAdd"] || $tdataInactive_customer_list[".isUseInlineEdit"];

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

$tdataInactive_customer_list[".globSearchFields"][] = "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", $tdataInactive_customer_list[".allSearchFields"]))
{
	$tdataInactive_customer_list[".allSearchFields"][] = "idCL";	
}
$tdataInactive_customer_list[".globSearchFields"][] = "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", $tdataInactive_customer_list[".allSearchFields"]))
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Customer Name";	
}
$tdataInactive_customer_list[".globSearchFields"][] = "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", $tdataInactive_customer_list[".allSearchFields"]))
{
	$tdataInactive_customer_list[".allSearchFields"][] = "City";	
}
$tdataInactive_customer_list[".globSearchFields"][] = "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", $tdataInactive_customer_list[".allSearchFields"]))
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Area";	
}
$tdataInactive_customer_list[".globSearchFields"][] = "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", $tdataInactive_customer_list[".allSearchFields"]))
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Customer_Category";	
}
$tdataInactive_customer_list[".globSearchFields"][] = "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", $tdataInactive_customer_list[".allSearchFields"]))
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Customer Status";	
}
$tdataInactive_customer_list[".globSearchFields"][] = "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", $tdataInactive_customer_list[".allSearchFields"]))
{
	$tdataInactive_customer_list[".allSearchFields"][] = "LU-Month";	
}
$tdataInactive_customer_list[".globSearchFields"][] = "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", $tdataInactive_customer_list[".allSearchFields"]))
{
	$tdataInactive_customer_list[".allSearchFields"][] = "LU-Year";	
}
$tdataInactive_customer_list[".globSearchFields"][] = "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", $tdataInactive_customer_list[".allSearchFields"]))
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Assigned Executive";	
}


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



$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "idCL";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Customer Name";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Address";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "City";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "State";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Country";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Postal Code";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Web address";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Area";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Customer_Category";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Breif About the Company";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Existing Setup";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Interaction Summary";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Commercial Summary";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Customer Status";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Region";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Last Updated on";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "LU-Month";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "LU-Year";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Created on";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Assigned Executive";	
}
$tdataInactive_customer_list[".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", $tdataInactive_customer_list[".allSearchFields"])) 
{
	$tdataInactive_customer_list[".allSearchFields"][] = "Assigned Date";	
}

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


	

$tdataInactive_customer_list[".isDisplayLoading"] = true;

$tdataInactive_customer_list[".isResizeColumns"] = false;

	$tdataInactive_customer_list[".subQueriesSupAccess"] = true;




$tdataInactive_customer_list[".pageSize"] = 20;

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

$tdataInactive_customer_list[".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`";
$tdataInactive_customer_list[".sqlFrom"] = "FROM customer_list";
$tdataInactive_customer_list[".sqlWhereExpr"] = "(`Customer Status` = 'Inactive')";
$tdataInactive_customer_list[".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;
$tdataInactive_customer_list[".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;
$tdataInactive_customer_list[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tableKeys[] = "idCL";
	$tdataInactive_customer_list[".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"]="";
			
		$fdata["bListPage"]=true; 
	
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		
		
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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["Index"]= 2;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=100";
		
		$fdata["bListPage"]=true; 
	
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["Customer Name"]=$fdata;
//	Address
	$fdata = array();
	$fdata["strName"] = "Address";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Address";
	
		$fdata["FullName"]= "Address";
	
		
		
		
		
		
				$fdata["Index"]= 3;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=100";
		
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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["Index"]= 4;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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["Index"]= 5;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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["Index"]= 6;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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["Index"]= 7;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=10";
		
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["Postal Code"]=$fdata;
//	Web address
	$fdata = array();
	$fdata["strName"] = "Web address";
	$fdata["ownerTable"] = "customer_list";
		$fdata["Label"]="Web Address"; 
	
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Web_address";
	
		$fdata["FullName"]= "`Web address`";
	
		
		
		
		
		
				$fdata["Index"]= 8;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=100";
		
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["Web address"]=$fdata;
//	Area
	$fdata = array();
	$fdata["strName"] = "Area";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Area";
	
		$fdata["FullName"]= "Area";
	
		
		
		
		
		
				$fdata["Index"]= 9;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Customer_Category";
	
		$fdata["FullName"]= "Customer_Category";
	
		
		
		
		
		
				$fdata["Index"]= 10;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		$fdata["bListPage"]=true; 
	
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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 field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Breif_About_the_Company";
	
		$fdata["FullName"]= "`Breif About the Company`";
	
		
		
		
		
		
				$fdata["Index"]= 11;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=1000";
		
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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 field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Existing_Setup";
	
		$fdata["FullName"]= "`Existing Setup`";
	
		
		
		
		
		
				$fdata["Index"]= 12;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=1000";
		
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["Existing Setup"]=$fdata;
//	Interaction Summary
	$fdata = array();
	$fdata["strName"] = "Interaction Summary";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Interaction_Summary";
	
		$fdata["FullName"]= "`Interaction Summary`";
	
		
		
		
		
		
				$fdata["Index"]= 13;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=500";
		
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["Interaction Summary"]=$fdata;
//	Commercial Summary
	$fdata = array();
	$fdata["strName"] = "Commercial Summary";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Commercial_Summary";
	
		$fdata["FullName"]= "`Commercial Summary`";
	
		
		
		
		
		
				$fdata["Index"]= 14;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=500";
		
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["Commercial Summary"]=$fdata;
//	Customer Status
	$fdata = array();
	$fdata["strName"] = "Customer Status";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Radio button";
	$fdata["ViewFormat"]= "";
	
		
		$fdata["LookupType"]=0;
	$fdata["pLookupType"] = 0;
	$fdata["freeInput"] = 0;	
	$fdata["autoCompleteFieldsOnEdit"] = 0;
	$fdata["autoCompleteFields"] = array();
			$fdata["LCType"]= 3;
							$fdata["LookupValues"]=array();
	$fdata["LookupValues"][]="Pending";
	$fdata["LookupValues"][]="Inactive";
			$fdata["Multiselect"]=true; 
	$fdata["SelectSize"] = 1;
	
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Customer_Status";
	
		$fdata["FullName"]= "`Customer Status`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 15;
				
		$fdata["bListPage"]=true; 
	
		
		
		
		$fdata["bInlineEdit"]=true; 
	
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["Customer Status"]=$fdata;
//	Region
	$fdata = array();
	$fdata["strName"] = "Region";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Text field";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Region";
	
		$fdata["FullName"]= "Region";
	
		
		
		
		
		
				$fdata["Index"]= 16;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=50";
		
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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"] = 13; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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"]="";
			
		$fdata["bListPage"]=true; 
	
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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"]="";
			
		$fdata["bListPage"]=true; 
	
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		
		
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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"] = 13; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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["Index"]= 21;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=100";
		
		$fdata["bListPage"]=true; 
	
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["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; 
			
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataInactive_customer_list["Assigned Date"]=$fdata;

	
$tables_data["Inactive customer_list"]=&$tdataInactive_customer_list;
$field_labels["Inactive_customer_list"] = &$fieldLabelsInactive_customer_list;
$fieldToolTips["Inactive customer_list"] = &$fieldToolTipsInactive_customer_list;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["Inactive customer_list"] = array();
$dIndex = 1-1;
			$strOriginalDetailsTable="cust_list_contact_person";
	$detailsTablesData["Inactive customer_list"][$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["Inactive customer_list"][$dIndex]["masterKeys"][]="Customer Name";
		$detailsTablesData["Inactive customer_list"][$dIndex]["detailKeys"][]="Company Name";

$dIndex = 2-1;
			$strOriginalDetailsTable="calls";
	$detailsTablesData["Inactive customer_list"][$dIndex] = array(
		  "dDataSourceTable"=>"calls"
		, "dOriginalTable"=>$strOriginalDetailsTable
		, "dShortTable"=>"calls"
		, "masterKeys"=>array()
		, "detailKeys"=>array()
		, "dispChildCount"=> "1"
		, "hideChild"=>"0"
		, "sqlHead"=>"SELECT idCalls,  `Date`,  `Call Details`,  `Executive Name`,  `Customer Name`"	
		, "sqlFrom"=>"FROM calls"	
		, "sqlWhere"=>""
		, "sqlTail"=>""
		, "groupBy"=>"0"
		, "previewOnList" => 0
		, "previewOnAdd" => 0
		, "previewOnEdit" => 0
		, "previewOnView" => 1
	);	
		$detailsTablesData["Inactive customer_list"][$dIndex]["masterKeys"][]="Customer Name";
		$detailsTablesData["Inactive customer_list"][$dIndex]["detailKeys"][]="Customer Name";


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

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

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










$proto715=array();
$proto715["m_strHead"] = "Select";
$proto715["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`";
$proto715["m_strFrom"] = "FROM customer_list";
$proto715["m_strWhere"] = "(`Customer Status` = 'Inactive')";
$proto715["m_strOrderBy"] = "ORDER BY idCL DESC";
$proto715["m_strTail"] = "";
$proto716=array();
$proto716["m_sql"] = "`Customer Status` = 'Inactive'";
$proto716["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Customer Status",
	"m_strTable" => "customer_list"
));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$proto715["m_fieldlist"][]=$obj;
						$proto754=array();
			$proto755=array();
$proto755["m_functiontype"] = "SQLF_CUSTOM";
$proto755["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "`Last Updated on`"
));

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

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

$proto715["m_fieldlist"][]=$obj;
						$proto757=array();
			$proto758=array();
$proto758["m_functiontype"] = "SQLF_CUSTOM";
$proto758["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "`Last Updated on`"
));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$queryData_Inactive_customer_list = $obj;
$tdataInactive_customer_list[".sqlquery"] = $queryData_Inactive_customer_list;

$tableEvents["Inactive customer_list"] = new eventsBase;

?>
