<?php
$tdataReview_List=array();
	$tdataReview_List[".NumberOfChars"]=80; 
	$tdataReview_List[".ShortName"]="Review_List";
	$tdataReview_List[".OwnerID"]="Assigned Executive";
	$tdataReview_List[".OriginalTable"]="customer_list";


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


	

	

$tdataReview_List[".shortTableName"] = "Review_List";
$tdataReview_List[".nSecOptions"] = 1;
$tdataReview_List[".recsPerRowList"] = 1;	
$tdataReview_List[".tableGroupBy"] = "0";
$tdataReview_List[".mainTableOwnerID"] = "Assigned Executive";
$tdataReview_List[".moveNext"] = 1;




$tdataReview_List[".showAddInPopup"] = false;

$tdataReview_List[".showEditInPopup"] = false;

$tdataReview_List[".showViewInPopup"] = false;


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

$tdataReview_List[".listAjax"] = false;

	$tdataReview_List[".audit"] = false;

	$tdataReview_List[".locking"] = false;
	
$tdataReview_List[".listIcons"] = true;
$tdataReview_List[".edit"] = true;
$tdataReview_List[".view"] = true;




$tdataReview_List[".showSimpleSearchOptions"] = false;

$tdataReview_List[".showSearchPanel"] = true;


$tdataReview_List[".isUseAjaxSuggest"] = true;

$tdataReview_List[".rowHighlite"] = true;


// button handlers file names

$tdataReview_List[".addPageEvents"] = false;

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

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

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

$tdataReview_List[".isUseiBox"] = false;


$tdataReview_List[".useDetailsPreview"] = true;	


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

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

$tdataReview_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", $tdataReview_List[".allSearchFields"]))
{
	$tdataReview_List[".allSearchFields"][] = "Customer Name";	
}


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



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

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


	

$tdataReview_List[".isDisplayLoading"] = true;

$tdataReview_List[".isResizeColumns"] = false;

	$tdataReview_List[".subQueriesSupAccess"] = true;




$tdataReview_List[".pageSize"] = 20;

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

$tdataReview_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(customer_list.`Last Updated on`) AS `LU-Month`,  Year(customer_list.`Last Updated on`) AS `LU-Year`,  `Created on`,  `Assigned Executive`,  `Assigned Date`";
$tdataReview_List[".sqlFrom"] = "FROM customer_list";
$tdataReview_List[".sqlWhereExpr"] = "(`Customer Status` = 'Review')";
$tdataReview_List[".sqlTail"] = "";

//fill array of tabs for edit page
$arrEditTabs = array();
	$tabFields = array();
	$tabFields[]="Address";
	$tabFields[]="City";
	$tabFields[]="State";
	$tabFields[]="Country";
	$tabFields[]="Postal Code";
$arrEditTabs[] = array('tabId'=>'Address_Details1',
					   'tabName'=>"Address Details",
					   'nType'=>'1',
					   'nOrder'=>3,
					   'tabGroup'=>0,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[]="Web address";
	$tabFields[]="Region";
	$tabFields[]="Area";
	$tabFields[]="Customer_Category";
$arrEditTabs[] = array('tabId'=>'Other_Details1',
					   'tabName'=>"Other Details",
					   'nType'=>'1',
					   'nOrder'=>9,
					   'tabGroup'=>0,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[]="Breif About the Company";
$arrEditTabs[] = array('tabId'=>'About__1',
					   'tabName'=>"About..",
					   'nType'=>'0',
					   'nOrder'=>17,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[]="Existing Setup";
$arrEditTabs[] = array('tabId'=>'Existing_Setup1',
					   'tabName'=>"Existing Setup",
					   'nType'=>'0',
					   'nOrder'=>19,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[]="Interaction Summary";
$arrEditTabs[] = array('tabId'=>'Interaction_Details1',
					   'tabName'=>"Interaction Details",
					   'nType'=>'0',
					   'nOrder'=>21,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[]="Commercial Summary";
$arrEditTabs[] = array('tabId'=>'Commercial_Details1',
					   'tabName'=>"Commercial Details",
					   'nType'=>'0',
					   'nOrder'=>23,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
$tdataReview_List[".arrEditTabs"] = $arrEditTabs;

//fill array of tabs for add page
$arrAddTabs = array();
	$tabFields = array();
	$tabFields[] = "Address";
	$tabFields[] = "City";
	$tabFields[] = "State";
	$tabFields[] = "Country";
	$tabFields[] = "Postal Code";
$arrAddTabs[] = array('tabId'=>'Address_Details1',
					  'tabName'=>"Address Details",
					  'nType'=>'1',
					  'nOrder'=>3,
					  'tabGroup'=>0,
					  'arrFields'=> $tabFields,
					  'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "Web address";
	$tabFields[] = "Region";
	$tabFields[] = "Area";
	$tabFields[] = "Customer_Category";
$arrAddTabs[] = array('tabId'=>'Other_Details1',
					  'tabName'=>"Other Details",
					  'nType'=>'1',
					  'nOrder'=>9,
					  'tabGroup'=>0,
					  'arrFields'=> $tabFields,
					  'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "Breif About the Company";
$arrAddTabs[] = array('tabId'=>'About__1',
					  'tabName'=>"About..",
					  'nType'=>'0',
					  'nOrder'=>17,
					  'tabGroup'=>1,
					  'arrFields'=> $tabFields,
					  'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "Existing Setup";
$arrAddTabs[] = array('tabId'=>'Existing_Setup1',
					  'tabName'=>"Existing Setup",
					  'nType'=>'0',
					  'nOrder'=>19,
					  'tabGroup'=>1,
					  'arrFields'=> $tabFields,
					  'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "Interaction Summary";
$arrAddTabs[] = array('tabId'=>'Interaction_Details1',
					  'tabName'=>"Interaction Details",
					  'nType'=>'0',
					  'nOrder'=>21,
					  'tabGroup'=>1,
					  'arrFields'=> $tabFields,
					  'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "Commercial Summary";
$arrAddTabs[] = array('tabId'=>'Commercial_Details1',
					  'tabName'=>"Commercial Details",
					  'nType'=>'0',
					  'nOrder'=>23,
					  'tabGroup'=>1,
					  'arrFields'=> $tabFields,
					  'expandSec'=>0);
$tdataReview_List[".arrAddTabs"] = $arrAddTabs;

//fill array of tabs for view page
$arrViewTabs = array();
	$tabFields = array();
	$tabFields[] = "Address";
	$tabFields[] = "City";
	$tabFields[] = "State";
	$tabFields[] = "Country";
	$tabFields[] = "Postal Code";
	$tabFields[] = "Web address";
	$tabFields[] = "Region";
	$tabFields[] = "Area";
	$tabFields[] = "Customer_Category";
	$tabFields[] = "Created on";
	$tabFields[] = "Last Updated on";
$arrViewTabs[] = array('tabId'=>'Address_Details1',
					   'tabName'=>"Address Details",
					   'nType'=>'1',
					   'nOrder'=>3,
					   'tabGroup'=>0,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "Web address";
	$tabFields[] = "Region";
	$tabFields[] = "Area";
	$tabFields[] = "Customer_Category";
$arrViewTabs[] = array('tabId'=>'Other_Details1',
					   'tabName'=>"Other Details",
					   'nType'=>'1',
					   'nOrder'=>15,
					   'tabGroup'=>0,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "Breif About the Company";
$arrViewTabs[] = array('tabId'=>'About__1',
					   'tabName'=>"About..",
					   'nType'=>'0',
					   'nOrder'=>25,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "Existing Setup";
$arrViewTabs[] = array('tabId'=>'Existing_Setup1',
					   'tabName'=>"Existing Setup",
					   'nType'=>'0',
					   'nOrder'=>27,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "Interaction Summary";
$arrViewTabs[] = array('tabId'=>'Interaction_Details1',
					   'tabName'=>"Interaction Details",
					   'nType'=>'0',
					   'nOrder'=>29,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
	$tabFields = array();
	$tabFields[] = "Commercial Summary";
$arrViewTabs[] = array('tabId'=>'Commercial_Details1',
					   'tabName'=>"Commercial Details",
					   'nType'=>'0',
					   'nOrder'=>31,
					   'tabGroup'=>1,
					   'arrFields'=> $tabFields,
					   'expandSec'=>0);
$tdataReview_List[".arrViewTabs"] = $arrViewTabs;

//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;
$tdataReview_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;
$tdataReview_List[".arrGroupsPerPage"] = $arrGPP;

	$tableKeys = array();
	$tableKeys[] = "idCL";
	$tdataReview_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"]= "Readonly";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "idCL";
	
		$fdata["FullName"]= "idCL";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 1;
				
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_List["idCL"]=$fdata;
//	Customer Name
	$fdata = array();
	$fdata["strName"] = "Customer Name";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Readonly";
	$fdata["ViewFormat"]= "";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Customer_Name";
	
		$fdata["FullName"]= "`Customer Name`";
	
		
		
		
		
		
				$fdata["Index"]= 2;
				
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		$fdata["bAdvancedSearch"]=true; 
	
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_List["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;
		
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 4;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 5;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 6;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=45";
		
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 7;
				$fdata["EditParams"]="";
			$fdata["EditParams"].= " maxlength=10";
		
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_List["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";
		
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_List["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["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Area";
	
		$fdata["FullName"]= "Area";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 9;
				
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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"]= "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"]="";
																			$fdata["SimpleAdd"]=true;
	
					
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Customer_Category";
	
		$fdata["FullName"]= "Customer_Category";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 10;
				
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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 area";
	$fdata["ViewFormat"]= "HTML";
	
		
		
		
		
		
	$fdata["GoodName"]= "Breif_About_the_Company";
	
		$fdata["FullName"]= "`Breif About the Company`";
	
		$fdata["IsRequired"]=true; 
	
		$fdata["UseRTE"]=true; 
	
		$fdata["UseRTEBasic"] = true; 
	
		
		
				$fdata["Index"]= 11;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=150";
		$fdata["nRows"] = 150;
			$fdata["EditParams"].= " cols=950";
		$fdata["nCols"] = 950;
		
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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 area";
	$fdata["ViewFormat"]= "HTML";
	
		
		
		
		
		
	$fdata["GoodName"]= "Existing_Setup";
	
		$fdata["FullName"]= "`Existing Setup`";
	
		$fdata["IsRequired"]=true; 
	
		$fdata["UseRTE"]=true; 
	
		$fdata["UseRTEBasic"] = true; 
	
		
		
				$fdata["Index"]= 12;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=150";
		$fdata["nRows"] = 150;
			$fdata["EditParams"].= " cols=950";
		$fdata["nCols"] = 950;
		
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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 area";
	$fdata["ViewFormat"]= "HTML";
	
		
		
		
		
		
	$fdata["GoodName"]= "Interaction_Summary";
	
		$fdata["FullName"]= "`Interaction Summary`";
	
		$fdata["IsRequired"]=true; 
	
		$fdata["UseRTE"]=true; 
	
		$fdata["UseRTEBasic"] = true; 
	
		
		
				$fdata["Index"]= 13;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=150";
		$fdata["nRows"] = 150;
			$fdata["EditParams"].= " cols=950";
		$fdata["nCols"] = 950;
		
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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 area";
	$fdata["ViewFormat"]= "HTML";
	
		
		
		
		
		
	$fdata["GoodName"]= "Commercial_Summary";
	
		$fdata["FullName"]= "`Commercial Summary`";
	
		
		$fdata["UseRTE"]=true; 
	
		$fdata["UseRTEBasic"] = true; 
	
		
		
				$fdata["Index"]= 14;
			$fdata["EditParams"] = "";
			$fdata["EditParams"].= " rows=150";
		$fdata["nRows"] = 150;
			$fdata["EditParams"].= " cols=950";
		$fdata["nCols"] = 950;
		
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_List["Commercial Summary"]=$fdata;
//	Customer Status
	$fdata = array();
	$fdata["strName"] = "Customer Status";
	$fdata["ownerTable"] = "customer_list";
		
		
		
	$fdata["FieldType"]= 200;
	
		
			$fdata["UseiBox"] = false;
	
	$fdata["EditFormat"]= "Lookup wizard";
	$fdata["ViewFormat"]= "";
	
		
		$fdata["LookupType"]=0;
	$fdata["pLookupType"] = 0;
	$fdata["freeInput"] = 0;	
	$fdata["autoCompleteFieldsOnEdit"] = 0;
	$fdata["autoCompleteFields"] = array();
									$fdata["LookupValues"]=array();
	$fdata["LookupValues"][]="Inactive";
	$fdata["LookupValues"][]="Pending";
	$fdata["LookupValues"][]="Review";
	$fdata["LookupValues"][]="Shortlisted";
			
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Customer_Status";
	
		$fdata["FullName"]= "`Customer Status`";
	
		
		
		
		
		
				$fdata["Index"]= 15;
				
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_List["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"]="Region Name";
																			$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;
				
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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"] = 11; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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(customer_list.`Last Updated on`)";
	
		
		
		
		
		
				$fdata["Index"]= 18;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
		
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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(customer_list.`Last Updated on`)";
	
		
		
		
		
		
				$fdata["Index"]= 19;
				$fdata["EditParams"]="";
			
		$fdata["bListPage"]=true; 
	
		
		
		
		
		
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
				$fdata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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"]= "Readonly";
	$fdata["ViewFormat"]= "Short Date";
	
		
		
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Created_on";
	
		$fdata["FullName"]= "`Created on`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 20;
				
		
		
		
		
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_List["Created on"]=$fdata;
//	Assigned Executive
	$fdata = array();
	$fdata["strName"] = "Assigned Executive";
	$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"]="username";
	$fdata["LinkFieldType"]=200;
	$fdata["DisplayField"]="Full Name";
				$fdata["LookupTable"]="employee_list";
	$fdata["LookupOrderBy"]="Full Name";
																			
					
		
		
		$fdata["NeedEncode"]=true;
	
	$fdata["GoodName"]= "Assigned_Executive";
	
		$fdata["FullName"]= "`Assigned Executive`";
	
		$fdata["IsRequired"]=true; 
	
		
		
		
		
				$fdata["Index"]= 21;
				
		$fdata["bListPage"]=true; 
	
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_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"] = 11; 
	$fdata["InitialYearFactor"] = 100; 
	$fdata["LastYearFactor"] = 10; 
			
		
		
		
		$fdata["bEditPage"]=true; 
	
		
		$fdata["bViewPage"]=true; 
	
		
		
		
	//Begin validation
	$fdata["validateAs"] = array();
						$fdata["validateAs"]["basicValidate"][] = "IsRequired";
	
		//End validation
	
				$fdata["FieldPermissions"]=true;
	
		
				
		
		
		
			$tdataReview_List["Assigned Date"]=$fdata;

	
$tables_data["Review List"]=&$tdataReview_List;
$field_labels["Review_List"] = &$fieldLabelsReview_List;
$fieldToolTips["Review List"] = &$fieldToolTipsReview_List;

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

$dIndex = 2-1;
			$strOriginalDetailsTable="calls";
	$detailsTablesData["Review 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" => 1
		, "previewOnAdd" => 0
		, "previewOnEdit" => 1
		, "previewOnView" => 1
	);	
		$detailsTablesData["Review List"][$dIndex]["masterKeys"][]="Customer Name";
		$detailsTablesData["Review List"][$dIndex]["detailKeys"][]="Customer Name";


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

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

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










$proto438=array();
$proto438["m_strHead"] = "Select";
$proto438["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(customer_list.`Last Updated on`) AS `LU-Month`,  Year(customer_list.`Last Updated on`) AS `LU-Year`,  `Created on`,  `Assigned Executive`,  `Assigned Date`";
$proto438["m_strFrom"] = "FROM customer_list";
$proto438["m_strWhere"] = "(`Customer Status` = 'Review')";
$proto438["m_strOrderBy"] = "ORDER BY idCL DESC";
$proto438["m_strTail"] = "";
$proto439=array();
$proto439["m_sql"] = "`Customer Status` = 'Review'";
$proto439["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "Customer Status",
	"m_strTable" => "customer_list"
));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$proto438["m_fieldlist"][]=$obj;
						$proto477=array();
			$proto478=array();
$proto478["m_functiontype"] = "SQLF_CUSTOM";
$proto478["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "customer_list.`Last Updated on`"
));

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

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

$proto438["m_fieldlist"][]=$obj;
						$proto480=array();
			$proto481=array();
$proto481["m_functiontype"] = "SQLF_CUSTOM";
$proto481["m_arguments"] = array();
						$obj = new SQLNonParsed(array(
	"m_sql" => "customer_list.`Last Updated on`"
));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$queryData_Review_List = $obj;
$tdataReview_List[".sqlquery"] = $queryData_Review_List;

$tableEvents["Review List"] = new eventsBase;

?>
