<?php
$tdataallocation_request_admin_page = array();
$tdataallocation_request_admin_page[".searchableFields"] = array();
$tdataallocation_request_admin_page[".ShortName"] = "allocation_request_admin_page";
$tdataallocation_request_admin_page[".OwnerID"] = "user";
$tdataallocation_request_admin_page[".OriginalTable"] = "allocation_request";


$tdataallocation_request_admin_page[".pagesByType"] = my_json_decode( "{\"export\":[\"export\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" );
$tdataallocation_request_admin_page[".originalPagesByType"] = $tdataallocation_request_admin_page[".pagesByType"];
$tdataallocation_request_admin_page[".pages"] = types2pages( my_json_decode( "{\"export\":[\"export\"],\"list\":[\"list\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" ) );
$tdataallocation_request_admin_page[".originalPages"] = $tdataallocation_request_admin_page[".pages"];
$tdataallocation_request_admin_page[".defaultPages"] = my_json_decode( "{\"export\":\"export\",\"list\":\"list\",\"print\":\"print\",\"search\":\"search\",\"view\":\"view\"}" );
$tdataallocation_request_admin_page[".originalDefaultPages"] = $tdataallocation_request_admin_page[".defaultPages"];

//	field labels
$fieldLabelsallocation_request_admin_page = array();
$fieldToolTipsallocation_request_admin_page = array();
$pageTitlesallocation_request_admin_page = array();
$placeHoldersallocation_request_admin_page = array();

if(mlang_getcurrentlang()=="English")
{
	$fieldLabelsallocation_request_admin_page["English"] = array();
	$fieldToolTipsallocation_request_admin_page["English"] = array();
	$placeHoldersallocation_request_admin_page["English"] = array();
	$pageTitlesallocation_request_admin_page["English"] = array();
	$fieldLabelsallocation_request_admin_page["English"]["request_id"] = "Request Id";
	$fieldToolTipsallocation_request_admin_page["English"]["request_id"] = "";
	$placeHoldersallocation_request_admin_page["English"]["request_id"] = "";
	$fieldLabelsallocation_request_admin_page["English"]["sub_office_code"] = "Sub Office Code";
	$fieldToolTipsallocation_request_admin_page["English"]["sub_office_code"] = "";
	$placeHoldersallocation_request_admin_page["English"]["sub_office_code"] = "";
	$fieldLabelsallocation_request_admin_page["English"]["expenditure_code"] = "Expenditure Code";
	$fieldToolTipsallocation_request_admin_page["English"]["expenditure_code"] = "";
	$placeHoldersallocation_request_admin_page["English"]["expenditure_code"] = "";
	$fieldLabelsallocation_request_admin_page["English"]["given_so_far"] = "Given So Far";
	$fieldToolTipsallocation_request_admin_page["English"]["given_so_far"] = "";
	$placeHoldersallocation_request_admin_page["English"]["given_so_far"] = "";
	$fieldLabelsallocation_request_admin_page["English"]["remaining"] = "Remaining";
	$fieldToolTipsallocation_request_admin_page["English"]["remaining"] = "";
	$placeHoldersallocation_request_admin_page["English"]["remaining"] = "";
	$fieldLabelsallocation_request_admin_page["English"]["requesting"] = "Requesting";
	$fieldToolTipsallocation_request_admin_page["English"]["requesting"] = "";
	$placeHoldersallocation_request_admin_page["English"]["requesting"] = "";
	$fieldLabelsallocation_request_admin_page["English"]["request_status"] = "Request Status";
	$fieldToolTipsallocation_request_admin_page["English"]["request_status"] = "";
	$placeHoldersallocation_request_admin_page["English"]["request_status"] = "";
	$fieldLabelsallocation_request_admin_page["English"]["user"] = "User";
	$fieldToolTipsallocation_request_admin_page["English"]["user"] = "";
	$placeHoldersallocation_request_admin_page["English"]["user"] = "";
	$fieldLabelsallocation_request_admin_page["English"]["date"] = "Date";
	$fieldToolTipsallocation_request_admin_page["English"]["date"] = "";
	$placeHoldersallocation_request_admin_page["English"]["date"] = "";
	if (count($fieldToolTipsallocation_request_admin_page["English"]))
		$tdataallocation_request_admin_page[".isUseToolTips"] = true;
}
if(mlang_getcurrentlang()=="sinhala")
{
	$fieldLabelsallocation_request_admin_page["sinhala"] = array();
	$fieldToolTipsallocation_request_admin_page["sinhala"] = array();
	$placeHoldersallocation_request_admin_page["sinhala"] = array();
	$pageTitlesallocation_request_admin_page["sinhala"] = array();
	$fieldLabelsallocation_request_admin_page["sinhala"]["request_id"] = "Request Id";
	$fieldToolTipsallocation_request_admin_page["sinhala"]["request_id"] = "";
	$placeHoldersallocation_request_admin_page["sinhala"]["request_id"] = "";
	$fieldLabelsallocation_request_admin_page["sinhala"]["sub_office_code"] = "Sub Office";
	$fieldToolTipsallocation_request_admin_page["sinhala"]["sub_office_code"] = "";
	$placeHoldersallocation_request_admin_page["sinhala"]["sub_office_code"] = "";
	$fieldLabelsallocation_request_admin_page["sinhala"]["expenditure_code"] = "Expenditure Code";
	$fieldToolTipsallocation_request_admin_page["sinhala"]["expenditure_code"] = "";
	$placeHoldersallocation_request_admin_page["sinhala"]["expenditure_code"] = "";
	$fieldLabelsallocation_request_admin_page["sinhala"]["given_so_far"] = "Given So Far";
	$fieldToolTipsallocation_request_admin_page["sinhala"]["given_so_far"] = "";
	$placeHoldersallocation_request_admin_page["sinhala"]["given_so_far"] = "";
	$fieldLabelsallocation_request_admin_page["sinhala"]["remaining"] = "Remaining";
	$fieldToolTipsallocation_request_admin_page["sinhala"]["remaining"] = "";
	$placeHoldersallocation_request_admin_page["sinhala"]["remaining"] = "";
	$fieldLabelsallocation_request_admin_page["sinhala"]["requesting"] = "Requesting";
	$fieldToolTipsallocation_request_admin_page["sinhala"]["requesting"] = "";
	$placeHoldersallocation_request_admin_page["sinhala"]["requesting"] = "";
	$fieldLabelsallocation_request_admin_page["sinhala"]["request_status"] = "Request Status";
	$fieldToolTipsallocation_request_admin_page["sinhala"]["request_status"] = "";
	$placeHoldersallocation_request_admin_page["sinhala"]["request_status"] = "";
	$fieldLabelsallocation_request_admin_page["sinhala"]["user"] = "User";
	$fieldToolTipsallocation_request_admin_page["sinhala"]["user"] = "";
	$placeHoldersallocation_request_admin_page["sinhala"]["user"] = "";
	$fieldLabelsallocation_request_admin_page["sinhala"]["date"] = "Date";
	$fieldToolTipsallocation_request_admin_page["sinhala"]["date"] = "";
	$placeHoldersallocation_request_admin_page["sinhala"]["date"] = "";
	if (count($fieldToolTipsallocation_request_admin_page["sinhala"]))
		$tdataallocation_request_admin_page[".isUseToolTips"] = true;
}


	$tdataallocation_request_admin_page[".NCSearch"] = true;



$tdataallocation_request_admin_page[".shortTableName"] = "allocation_request_admin_page";
$tdataallocation_request_admin_page[".nSecOptions"] = 0;

$tdataallocation_request_admin_page[".mainTableOwnerID"] = "user";
$tdataallocation_request_admin_page[".entityType"] = 1;
$tdataallocation_request_admin_page[".connId"] = "allo_at_localhost";


$tdataallocation_request_admin_page[".strOriginalTableName"] = "allocation_request";

	



$tdataallocation_request_admin_page[".showAddInPopup"] = false;

$tdataallocation_request_admin_page[".showEditInPopup"] = false;

$tdataallocation_request_admin_page[".showViewInPopup"] = false;

//page's base css files names
$popupPagesLayoutNames = array();
$tdataallocation_request_admin_page[".popupPagesLayoutNames"] = $popupPagesLayoutNames;


	$tdataallocation_request_admin_page[".listAjax"] = true;
//	temporary
$tdataallocation_request_admin_page[".listAjax"] = false;

	$tdataallocation_request_admin_page[".audit"] = false;

	$tdataallocation_request_admin_page[".locking"] = false;


$pages = $tdataallocation_request_admin_page[".defaultPages"];

if( $pages[PAGE_EDIT] ) {
	$tdataallocation_request_admin_page[".edit"] = true;
	$tdataallocation_request_admin_page[".afterEditAction"] = 1;
	$tdataallocation_request_admin_page[".closePopupAfterEdit"] = 1;
	$tdataallocation_request_admin_page[".afterEditActionDetTable"] = "";
}

if( $pages[PAGE_ADD] ) {
$tdataallocation_request_admin_page[".add"] = true;
$tdataallocation_request_admin_page[".afterAddAction"] = 0;
$tdataallocation_request_admin_page[".closePopupAfterAdd"] = 1;
$tdataallocation_request_admin_page[".afterAddActionDetTable"] = "Detail tables not found!";
}

if( $pages[PAGE_LIST] ) {
	$tdataallocation_request_admin_page[".list"] = true;
}



$tdataallocation_request_admin_page[".strSortControlSettingsJSON"] = "";




if( $pages[PAGE_VIEW] ) {
$tdataallocation_request_admin_page[".view"] = true;
}

if( $pages[PAGE_IMPORT] ) {
$tdataallocation_request_admin_page[".import"] = true;
}

if( $pages[PAGE_EXPORT] ) {
$tdataallocation_request_admin_page[".exportTo"] = true;
}

if( $pages[PAGE_PRINT] ) {
$tdataallocation_request_admin_page[".printFriendly"] = true;
}



$tdataallocation_request_admin_page[".showSimpleSearchOptions"] = true; // temp fix #13449

// Allow Show/Hide Fields in GRID
$tdataallocation_request_admin_page[".allowShowHideFields"] = true; // temp fix #13449
//

// Allow Fields Reordering in GRID
$tdataallocation_request_admin_page[".allowFieldsReordering"] = true; // temp fix #13449
//

$tdataallocation_request_admin_page[".isUseAjaxSuggest"] = true;

$tdataallocation_request_admin_page[".rowHighlite"] = true;



																								

$tdataallocation_request_admin_page[".ajaxCodeSnippetAdded"] = false;

$tdataallocation_request_admin_page[".buttonsAdded"] = false;

$tdataallocation_request_admin_page[".addPageEvents"] = false;

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


$tdataallocation_request_admin_page[".badgeColor"] = "9ACD32";


$tdataallocation_request_admin_page[".allSearchFields"] = array();
$tdataallocation_request_admin_page[".filterFields"] = array();
$tdataallocation_request_admin_page[".requiredSearchFields"] = array();

$tdataallocation_request_admin_page[".googleLikeFields"] = array();
$tdataallocation_request_admin_page[".googleLikeFields"][] = "request_id";
$tdataallocation_request_admin_page[".googleLikeFields"][] = "sub_office_code";
$tdataallocation_request_admin_page[".googleLikeFields"][] = "expenditure_code";
$tdataallocation_request_admin_page[".googleLikeFields"][] = "given_so_far";
$tdataallocation_request_admin_page[".googleLikeFields"][] = "remaining";
$tdataallocation_request_admin_page[".googleLikeFields"][] = "requesting";
$tdataallocation_request_admin_page[".googleLikeFields"][] = "request_status";
$tdataallocation_request_admin_page[".googleLikeFields"][] = "user";
$tdataallocation_request_admin_page[".googleLikeFields"][] = "date";



$tdataallocation_request_admin_page[".tableType"] = "list";

$tdataallocation_request_admin_page[".printerPageOrientation"] = 0;
$tdataallocation_request_admin_page[".nPrinterPageScale"] = 100;

$tdataallocation_request_admin_page[".nPrinterSplitRecords"] = 40;

$tdataallocation_request_admin_page[".geocodingEnabled"] = false;










$tdataallocation_request_admin_page[".pageSize"] = 20;

$tdataallocation_request_admin_page[".warnLeavingPages"] = true;



$tstrOrderBy = "";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
	$tstrOrderBy = "order by ".$tstrOrderBy;
$tdataallocation_request_admin_page[".strOrderBy"] = $tstrOrderBy;

$tdataallocation_request_admin_page[".orderindexes"] = array();


$tdataallocation_request_admin_page[".sqlHead"] = "SELECT request_id,  	sub_office_code,  	expenditure_code,  	given_so_far,  	remaining,  	requesting,  	request_status,  	`user`,  	`date`";
$tdataallocation_request_admin_page[".sqlFrom"] = "FROM allocation_request";
$tdataallocation_request_admin_page[".sqlWhereExpr"] = "";
$tdataallocation_request_admin_page[".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;
$tdataallocation_request_admin_page[".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;
$tdataallocation_request_admin_page[".arrGroupsPerPage"] = $arrGPP;

$tdataallocation_request_admin_page[".highlightSearchResults"] = true;

$tableKeysallocation_request_admin_page = array();
$tableKeysallocation_request_admin_page[] = "request_id";
$tdataallocation_request_admin_page[".Keys"] = $tableKeysallocation_request_admin_page;


$tdataallocation_request_admin_page[".hideMobileList"] = array();




//	request_id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "request_id";
	$fdata["GoodName"] = "request_id";
	$fdata["ownerTable"] = "allocation_request";
	$fdata["Label"] = GetFieldLabel("allocation_request_admin_page","request_id");
	$fdata["FieldType"] = 3;

	
		$fdata["AutoInc"] = true;

	
			

		$fdata["strField"] = "request_id";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "request_id";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataallocation_request_admin_page["request_id"] = $fdata;
		$tdataallocation_request_admin_page[".searchableFields"][] = "request_id";
//	sub_office_code
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "sub_office_code";
	$fdata["GoodName"] = "sub_office_code";
	$fdata["ownerTable"] = "allocation_request";
	$fdata["Label"] = GetFieldLabel("allocation_request_admin_page","sub_office_code");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "sub_office_code";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "sub_office_code";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Readonly");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataallocation_request_admin_page["sub_office_code"] = $fdata;
		$tdataallocation_request_admin_page[".searchableFields"][] = "sub_office_code";
//	expenditure_code
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "expenditure_code";
	$fdata["GoodName"] = "expenditure_code";
	$fdata["ownerTable"] = "allocation_request";
	$fdata["Label"] = GetFieldLabel("allocation_request_admin_page","expenditure_code");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "expenditure_code";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "expenditure_code";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "expenditure_code";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 1;

	
		
	$edata["LinkField"] = "expenditure_code";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "expenditure_code";

	

	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
	
// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataallocation_request_admin_page["expenditure_code"] = $fdata;
		$tdataallocation_request_admin_page[".searchableFields"][] = "expenditure_code";
//	given_so_far
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "given_so_far";
	$fdata["GoodName"] = "given_so_far";
	$fdata["ownerTable"] = "allocation_request";
	$fdata["Label"] = GetFieldLabel("allocation_request_admin_page","given_so_far");
	$fdata["FieldType"] = 14;

	
	
	
			

		$fdata["strField"] = "given_so_far";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "given_so_far";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Number");

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Readonly");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataallocation_request_admin_page["given_so_far"] = $fdata;
		$tdataallocation_request_admin_page[".searchableFields"][] = "given_so_far";
//	remaining
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "remaining";
	$fdata["GoodName"] = "remaining";
	$fdata["ownerTable"] = "allocation_request";
	$fdata["Label"] = GetFieldLabel("allocation_request_admin_page","remaining");
	$fdata["FieldType"] = 14;

	
	
	
			

		$fdata["strField"] = "remaining";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "remaining";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Number");

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Readonly");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataallocation_request_admin_page["remaining"] = $fdata;
		$tdataallocation_request_admin_page[".searchableFields"][] = "remaining";
//	requesting
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "requesting";
	$fdata["GoodName"] = "requesting";
	$fdata["ownerTable"] = "allocation_request";
	$fdata["Label"] = GetFieldLabel("allocation_request_admin_page","requesting");
	$fdata["FieldType"] = 14;

	
	
	
			

		$fdata["strField"] = "requesting";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "requesting";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Number");

	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataallocation_request_admin_page["requesting"] = $fdata;
		$tdataallocation_request_admin_page[".searchableFields"][] = "requesting";
//	request_status
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "request_status";
	$fdata["GoodName"] = "request_status";
	$fdata["ownerTable"] = "allocation_request";
	$fdata["Label"] = GetFieldLabel("allocation_request_admin_page","request_status");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "request_status";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "request_status";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Readonly");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataallocation_request_admin_page["request_status"] = $fdata;
		$tdataallocation_request_admin_page[".searchableFields"][] = "request_status";
//	user
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "user";
	$fdata["GoodName"] = "user";
	$fdata["ownerTable"] = "allocation_request";
	$fdata["Label"] = GetFieldLabel("allocation_request_admin_page","user");
	$fdata["FieldType"] = 200;

	
	
	
			

		$fdata["strField"] = "user";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`user`";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Readonly");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataallocation_request_admin_page["user"] = $fdata;
		$tdataallocation_request_admin_page[".searchableFields"][] = "user";
//	date
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "date";
	$fdata["GoodName"] = "date";
	$fdata["ownerTable"] = "allocation_request";
	$fdata["Label"] = GetFieldLabel("allocation_request_admin_page","date");
	$fdata["FieldType"] = 135;

	
	
	
			

		$fdata["strField"] = "date";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "`date`";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Datetime");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
	$vdata = array("ViewFormat" => "Datetime");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["list"] = $vdata;
	$vdata = array("ViewFormat" => "Datetime");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["print"] = $vdata;
	$vdata = array("ViewFormat" => "Datetime");

	
	
	
	
	
	
	
	
	
	
	
		
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["export"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Readonly");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["add"] = $edata;
	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypes"] = ".+$";
		$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=50";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
	//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["search"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = true;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataallocation_request_admin_page["date"] = $fdata;
		$tdataallocation_request_admin_page[".searchableFields"][] = "date";


$tables_data["allocation_request admin page"]=&$tdataallocation_request_admin_page;
$field_labels["allocation_request_admin_page"] = &$fieldLabelsallocation_request_admin_page;
$fieldToolTips["allocation_request_admin_page"] = &$fieldToolTipsallocation_request_admin_page;
$placeHolders["allocation_request_admin_page"] = &$placeHoldersallocation_request_admin_page;
$page_titles["allocation_request_admin_page"] = &$pageTitlesallocation_request_admin_page;

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)
$detailsTablesData["allocation_request admin page"] = array();

// tables which are master tables for current table (detail)
$masterTablesData["allocation_request admin page"] = array();



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



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











function createSqlQuery_allocation_request_admin_page()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "request_id,  	sub_office_code,  	expenditure_code,  	given_so_far,  	remaining,  	requesting,  	request_status,  	`user`,  	`date`";
$proto0["m_strFrom"] = "FROM allocation_request";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto6=array();
			$obj = new SQLField(array(
	"m_strName" => "request_id",
	"m_strTable" => "allocation_request",
	"m_srcTableName" => "allocation_request admin page"
));

$proto6["m_sql"] = "request_id";
$proto6["m_srcTableName"] = "allocation_request admin page";
$proto6["m_expr"]=$obj;
$proto6["m_alias"] = "";
$obj = new SQLFieldListItem($proto6);

$proto0["m_fieldlist"][]=$obj;
						$proto8=array();
			$obj = new SQLField(array(
	"m_strName" => "sub_office_code",
	"m_strTable" => "allocation_request",
	"m_srcTableName" => "allocation_request admin page"
));

$proto8["m_sql"] = "sub_office_code";
$proto8["m_srcTableName"] = "allocation_request admin page";
$proto8["m_expr"]=$obj;
$proto8["m_alias"] = "";
$obj = new SQLFieldListItem($proto8);

$proto0["m_fieldlist"][]=$obj;
						$proto10=array();
			$obj = new SQLField(array(
	"m_strName" => "expenditure_code",
	"m_strTable" => "allocation_request",
	"m_srcTableName" => "allocation_request admin page"
));

$proto10["m_sql"] = "expenditure_code";
$proto10["m_srcTableName"] = "allocation_request admin page";
$proto10["m_expr"]=$obj;
$proto10["m_alias"] = "";
$obj = new SQLFieldListItem($proto10);

$proto0["m_fieldlist"][]=$obj;
						$proto12=array();
			$obj = new SQLField(array(
	"m_strName" => "given_so_far",
	"m_strTable" => "allocation_request",
	"m_srcTableName" => "allocation_request admin page"
));

$proto12["m_sql"] = "given_so_far";
$proto12["m_srcTableName"] = "allocation_request admin page";
$proto12["m_expr"]=$obj;
$proto12["m_alias"] = "";
$obj = new SQLFieldListItem($proto12);

$proto0["m_fieldlist"][]=$obj;
						$proto14=array();
			$obj = new SQLField(array(
	"m_strName" => "remaining",
	"m_strTable" => "allocation_request",
	"m_srcTableName" => "allocation_request admin page"
));

$proto14["m_sql"] = "remaining";
$proto14["m_srcTableName"] = "allocation_request admin page";
$proto14["m_expr"]=$obj;
$proto14["m_alias"] = "";
$obj = new SQLFieldListItem($proto14);

$proto0["m_fieldlist"][]=$obj;
						$proto16=array();
			$obj = new SQLField(array(
	"m_strName" => "requesting",
	"m_strTable" => "allocation_request",
	"m_srcTableName" => "allocation_request admin page"
));

$proto16["m_sql"] = "requesting";
$proto16["m_srcTableName"] = "allocation_request admin page";
$proto16["m_expr"]=$obj;
$proto16["m_alias"] = "";
$obj = new SQLFieldListItem($proto16);

$proto0["m_fieldlist"][]=$obj;
						$proto18=array();
			$obj = new SQLField(array(
	"m_strName" => "request_status",
	"m_strTable" => "allocation_request",
	"m_srcTableName" => "allocation_request admin page"
));

$proto18["m_sql"] = "request_status";
$proto18["m_srcTableName"] = "allocation_request admin page";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "";
$obj = new SQLFieldListItem($proto18);

$proto0["m_fieldlist"][]=$obj;
						$proto20=array();
			$obj = new SQLField(array(
	"m_strName" => "user",
	"m_strTable" => "allocation_request",
	"m_srcTableName" => "allocation_request admin page"
));

$proto20["m_sql"] = "`user`";
$proto20["m_srcTableName"] = "allocation_request admin page";
$proto20["m_expr"]=$obj;
$proto20["m_alias"] = "";
$obj = new SQLFieldListItem($proto20);

$proto0["m_fieldlist"][]=$obj;
						$proto22=array();
			$obj = new SQLField(array(
	"m_strName" => "date",
	"m_strTable" => "allocation_request",
	"m_srcTableName" => "allocation_request admin page"
));

$proto22["m_sql"] = "`date`";
$proto22["m_srcTableName"] = "allocation_request admin page";
$proto22["m_expr"]=$obj;
$proto22["m_alias"] = "";
$obj = new SQLFieldListItem($proto22);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto24=array();
$proto24["m_link"] = "SQLL_MAIN";
			$proto25=array();
$proto25["m_strName"] = "allocation_request";
$proto25["m_srcTableName"] = "allocation_request admin page";
$proto25["m_columns"] = array();
$proto25["m_columns"][] = "request_id";
$proto25["m_columns"][] = "sub_office_code";
$proto25["m_columns"][] = "expenditure_code";
$proto25["m_columns"][] = "given_so_far";
$proto25["m_columns"][] = "remaining";
$proto25["m_columns"][] = "requesting";
$proto25["m_columns"][] = "request_status";
$proto25["m_columns"][] = "user";
$proto25["m_columns"][] = "date";
$obj = new SQLTable($proto25);

$proto24["m_table"] = $obj;
$proto24["m_sql"] = "allocation_request";
$proto24["m_alias"] = "";
$proto24["m_srcTableName"] = "allocation_request admin page";
$proto26=array();
$proto26["m_sql"] = "";
$proto26["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$proto0["m_srcTableName"]="allocation_request admin page";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_allocation_request_admin_page = createSqlQuery_allocation_request_admin_page();


	
		;

									

$tdataallocation_request_admin_page[".sqlquery"] = $queryData_allocation_request_admin_page;



$tableEvents["allocation_request admin page"] = new eventsBase;
$tdataallocation_request_admin_page[".hasEvents"] = false;

?>