<?php
require_once(getabspath("classes/cipherer.php"));
$tdatasenuc_aluno_regional = array();
	$tdatasenuc_aluno_regional[".NumberOfChars"] = 80; 
	$tdatasenuc_aluno_regional[".ShortName"] = "senuc_aluno_regional";
	$tdatasenuc_aluno_regional[".OwnerID"] = "idregional";
	$tdatasenuc_aluno_regional[".OriginalTable"] = "senuc_aluno";

//	field labels
$fieldLabelssenuc_aluno_regional = array();
if(mlang_getcurrentlang()=="Portuguese(Brazil)")
{
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"] = array();
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"] = array();
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["id"] = "Id";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["id"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["idnucleo"] = "Idnucleo";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["idnucleo"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["nome"] = "Nome";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["nome"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["endereco"] = "Endereco";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["endereco"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["cpf"] = "Cpf";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["cpf"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["rg"] = "Rg";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["rg"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["telefone"] = "Telefone";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["telefone"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["celular"] = "Celular";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["celular"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["operadora"] = "Operadora";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["operadora"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["cidade"] = "Cidade";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["cidade"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["estado"] = "Estado";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["estado"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["etnia"] = "Etnia";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["etnia"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["nascimento"] = "Nascimento";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["nascimento"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["nota_cidadania"] = "Nota Cidadania";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["nota_cidadania"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["renda"] = "Renda";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["renda"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["ingresso_nucleo"] = "Ingresso Nucleo";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["ingresso_nucleo"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["acoes_afirmativas"] = "Acoes Afirmativas";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["acoes_afirmativas"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["preparar_para"] = "Preparar Para";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["preparar_para"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["escolaridade"] = "Escolaridade";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["escolaridade"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["ativo"] = "Ativo";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["ativo"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["email"] = "Email";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["email"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["id_mdl"] = "Id Mdl";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["id_mdl"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["motivo"] = "Motivo";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["motivo"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["idregional"] = "Idregional";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["idregional"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["nome_nucleo"] = "Nome Nucleo";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["nome_nucleo"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["nome_regional"] = "Nome Regional";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["nome_regional"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["ultimo_score"] = "Ultimo Score";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["ultimo_score"] = "";
	$fieldLabelssenuc_aluno_regional["Portuguese(Brazil)"]["data_ultimo_score"] = "Data Ultimo Score";
	$fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]["data_ultimo_score"] = "";
	if (count($fieldToolTipssenuc_aluno_regional["Portuguese(Brazil)"]))
		$tdatasenuc_aluno_regional[".isUseToolTips"] = true;
}
	
	
	$tdatasenuc_aluno_regional[".NCSearch"] = true;



$tdatasenuc_aluno_regional[".shortTableName"] = "senuc_aluno_regional";
$tdatasenuc_aluno_regional[".nSecOptions"] = 1;
$tdatasenuc_aluno_regional[".recsPerRowList"] = 1;
$tdatasenuc_aluno_regional[".mainTableOwnerID"] = "idregional";
$tdatasenuc_aluno_regional[".moveNext"] = 1;
$tdatasenuc_aluno_regional[".nType"] = 1;

$tdatasenuc_aluno_regional[".strOriginalTableName"] = "senuc_aluno";




$tdatasenuc_aluno_regional[".showAddInPopup"] = true;

$tdatasenuc_aluno_regional[".showEditInPopup"] = true;

$tdatasenuc_aluno_regional[".showViewInPopup"] = true;

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

$tdatasenuc_aluno_regional[".listAjax"] = false;

	$tdatasenuc_aluno_regional[".audit"] = true;

	$tdatasenuc_aluno_regional[".locking"] = false;

$tdatasenuc_aluno_regional[".listIcons"] = true;
$tdatasenuc_aluno_regional[".view"] = true;

$tdatasenuc_aluno_regional[".exportTo"] = true;

$tdatasenuc_aluno_regional[".printFriendly"] = true;


$tdatasenuc_aluno_regional[".showSimpleSearchOptions"] = false;

$tdatasenuc_aluno_regional[".showSearchPanel"] = true;

if (isMobile())
	$tdatasenuc_aluno_regional[".isUseAjaxSuggest"] = false;
else 
	$tdatasenuc_aluno_regional[".isUseAjaxSuggest"] = true;

$tdatasenuc_aluno_regional[".rowHighlite"] = true;

// button handlers file names
$tdatasenuc_aluno_regional[".isUsebuttonHandlers"] = true;

$tdatasenuc_aluno_regional[".addPageEvents"] = true;

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




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

$tdatasenuc_aluno_regional[".allSearchFields"][] = "ultimo_score";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "data_ultimo_score";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "nome";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "nome_nucleo";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "nome_regional";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "cpf";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "rg";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "estado";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "cidade";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "email";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "endereco";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "telefone";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "celular";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "operadora";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "etnia";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "nascimento";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "renda";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "escolaridade";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "nota_cidadania";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "preparar_para";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "ingresso_nucleo";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "ativo";
$tdatasenuc_aluno_regional[".allSearchFields"][] = "motivo";

$tdatasenuc_aluno_regional[".googleLikeFields"][] = "id";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "idnucleo";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "nome";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "endereco";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "email";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "cpf";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "rg";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "telefone";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "celular";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "operadora";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "cidade";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "estado";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "etnia";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "nascimento";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "nota_cidadania";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "renda";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "escolaridade";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "preparar_para";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "ingresso_nucleo";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "acoes_afirmativas";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "ativo";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "motivo";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "id_mdl";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "idregional";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "nome_nucleo";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "nome_regional";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "ultimo_score";
$tdatasenuc_aluno_regional[".googleLikeFields"][] = "data_ultimo_score";


$tdatasenuc_aluno_regional[".advSearchFields"][] = "ultimo_score";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "data_ultimo_score";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "nome";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "nome_nucleo";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "nome_regional";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "cpf";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "rg";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "estado";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "cidade";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "email";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "endereco";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "telefone";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "celular";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "operadora";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "etnia";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "nascimento";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "renda";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "escolaridade";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "nota_cidadania";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "preparar_para";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "ingresso_nucleo";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "ativo";
$tdatasenuc_aluno_regional[".advSearchFields"][] = "motivo";

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

	



// Access doesn't support subqueries from the same table as main



$tdatasenuc_aluno_regional[".pageSize"] = 20;

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

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

$tdatasenuc_aluno_regional[".sqlHead"] = "SELECT senuc_aluno.id,  senuc_aluno.idnucleo,  senuc_aluno.nome,  senuc_aluno.endereco,  senuc_aluno.email,  senuc_aluno.cpf,  senuc_aluno.rg,  senuc_aluno.telefone,  senuc_aluno.celular,  senuc_aluno.operadora,  senuc_aluno.cidade,  senuc_aluno.estado,  senuc_aluno.etnia,  senuc_aluno.nascimento,  senuc_aluno.nota_cidadania,  senuc_aluno.renda,  senuc_aluno.escolaridade,  senuc_aluno.preparar_para,  senuc_aluno.ingresso_nucleo,  senuc_aluno.acoes_afirmativas,  senuc_aluno.ativo,  senuc_aluno.motivo,  senuc_aluno.id_mdl,  senuc_aluno.idregional,  senuc_nucleo.nome AS nome_nucleo,  regionais.regional AS nome_regional,  senuc_aluno.ultimo_score,  senuc_aluno.data_ultimo_score";
$tdatasenuc_aluno_regional[".sqlFrom"] = "FROM senuc_aluno  INNER JOIN senuc_nucleo ON senuc_aluno.idnucleo = senuc_nucleo.id  INNER JOIN regionais ON senuc_aluno.idregional = regionais.id";
$tdatasenuc_aluno_regional[".sqlWhereExpr"] = "";
$tdatasenuc_aluno_regional[".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;
$tdatasenuc_aluno_regional[".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;
$tdatasenuc_aluno_regional[".arrGroupsPerPage"] = $arrGPP;

$tableKeyssenuc_aluno_regional = array();
$tableKeyssenuc_aluno_regional[] = "id";
$tdatasenuc_aluno_regional[".Keys"] = $tableKeyssenuc_aluno_regional;

$tdatasenuc_aluno_regional[".listFields"] = array();
$tdatasenuc_aluno_regional[".listFields"][] = "ultimo_score";
$tdatasenuc_aluno_regional[".listFields"][] = "data_ultimo_score";
$tdatasenuc_aluno_regional[".listFields"][] = "nome";
$tdatasenuc_aluno_regional[".listFields"][] = "nome_nucleo";
$tdatasenuc_aluno_regional[".listFields"][] = "nome_regional";
$tdatasenuc_aluno_regional[".listFields"][] = "cpf";
$tdatasenuc_aluno_regional[".listFields"][] = "rg";
$tdatasenuc_aluno_regional[".listFields"][] = "estado";
$tdatasenuc_aluno_regional[".listFields"][] = "cidade";
$tdatasenuc_aluno_regional[".listFields"][] = "email";
$tdatasenuc_aluno_regional[".listFields"][] = "endereco";
$tdatasenuc_aluno_regional[".listFields"][] = "telefone";
$tdatasenuc_aluno_regional[".listFields"][] = "celular";
$tdatasenuc_aluno_regional[".listFields"][] = "operadora";
$tdatasenuc_aluno_regional[".listFields"][] = "etnia";
$tdatasenuc_aluno_regional[".listFields"][] = "nascimento";
$tdatasenuc_aluno_regional[".listFields"][] = "renda";
$tdatasenuc_aluno_regional[".listFields"][] = "escolaridade";
$tdatasenuc_aluno_regional[".listFields"][] = "nota_cidadania";
$tdatasenuc_aluno_regional[".listFields"][] = "preparar_para";
$tdatasenuc_aluno_regional[".listFields"][] = "ingresso_nucleo";
$tdatasenuc_aluno_regional[".listFields"][] = "ativo";
$tdatasenuc_aluno_regional[".listFields"][] = "motivo";

$tdatasenuc_aluno_regional[".viewFields"] = array();
$tdatasenuc_aluno_regional[".viewFields"][] = "ultimo_score";
$tdatasenuc_aluno_regional[".viewFields"][] = "data_ultimo_score";
$tdatasenuc_aluno_regional[".viewFields"][] = "nome";
$tdatasenuc_aluno_regional[".viewFields"][] = "nome_nucleo";
$tdatasenuc_aluno_regional[".viewFields"][] = "nome_regional";
$tdatasenuc_aluno_regional[".viewFields"][] = "cpf";
$tdatasenuc_aluno_regional[".viewFields"][] = "rg";
$tdatasenuc_aluno_regional[".viewFields"][] = "estado";
$tdatasenuc_aluno_regional[".viewFields"][] = "cidade";
$tdatasenuc_aluno_regional[".viewFields"][] = "email";
$tdatasenuc_aluno_regional[".viewFields"][] = "endereco";
$tdatasenuc_aluno_regional[".viewFields"][] = "telefone";
$tdatasenuc_aluno_regional[".viewFields"][] = "celular";
$tdatasenuc_aluno_regional[".viewFields"][] = "operadora";
$tdatasenuc_aluno_regional[".viewFields"][] = "etnia";
$tdatasenuc_aluno_regional[".viewFields"][] = "nascimento";
$tdatasenuc_aluno_regional[".viewFields"][] = "renda";
$tdatasenuc_aluno_regional[".viewFields"][] = "escolaridade";
$tdatasenuc_aluno_regional[".viewFields"][] = "nota_cidadania";
$tdatasenuc_aluno_regional[".viewFields"][] = "preparar_para";
$tdatasenuc_aluno_regional[".viewFields"][] = "ingresso_nucleo";
$tdatasenuc_aluno_regional[".viewFields"][] = "ativo";
$tdatasenuc_aluno_regional[".viewFields"][] = "motivo";

$tdatasenuc_aluno_regional[".addFields"] = array();

$tdatasenuc_aluno_regional[".inlineAddFields"] = array();

$tdatasenuc_aluno_regional[".editFields"] = array();

$tdatasenuc_aluno_regional[".inlineEditFields"] = array();

$tdatasenuc_aluno_regional[".exportFields"] = array();
$tdatasenuc_aluno_regional[".exportFields"][] = "ultimo_score";
$tdatasenuc_aluno_regional[".exportFields"][] = "data_ultimo_score";
$tdatasenuc_aluno_regional[".exportFields"][] = "nome";
$tdatasenuc_aluno_regional[".exportFields"][] = "nome_nucleo";
$tdatasenuc_aluno_regional[".exportFields"][] = "nome_regional";
$tdatasenuc_aluno_regional[".exportFields"][] = "cpf";
$tdatasenuc_aluno_regional[".exportFields"][] = "rg";
$tdatasenuc_aluno_regional[".exportFields"][] = "estado";
$tdatasenuc_aluno_regional[".exportFields"][] = "cidade";
$tdatasenuc_aluno_regional[".exportFields"][] = "email";
$tdatasenuc_aluno_regional[".exportFields"][] = "endereco";
$tdatasenuc_aluno_regional[".exportFields"][] = "telefone";
$tdatasenuc_aluno_regional[".exportFields"][] = "celular";
$tdatasenuc_aluno_regional[".exportFields"][] = "operadora";
$tdatasenuc_aluno_regional[".exportFields"][] = "etnia";
$tdatasenuc_aluno_regional[".exportFields"][] = "nascimento";
$tdatasenuc_aluno_regional[".exportFields"][] = "renda";
$tdatasenuc_aluno_regional[".exportFields"][] = "escolaridade";
$tdatasenuc_aluno_regional[".exportFields"][] = "nota_cidadania";
$tdatasenuc_aluno_regional[".exportFields"][] = "preparar_para";
$tdatasenuc_aluno_regional[".exportFields"][] = "ingresso_nucleo";
$tdatasenuc_aluno_regional[".exportFields"][] = "ativo";
$tdatasenuc_aluno_regional[".exportFields"][] = "motivo";

$tdatasenuc_aluno_regional[".printFields"] = array();
$tdatasenuc_aluno_regional[".printFields"][] = "ultimo_score";
$tdatasenuc_aluno_regional[".printFields"][] = "data_ultimo_score";
$tdatasenuc_aluno_regional[".printFields"][] = "nome";
$tdatasenuc_aluno_regional[".printFields"][] = "nome_nucleo";
$tdatasenuc_aluno_regional[".printFields"][] = "nome_regional";
$tdatasenuc_aluno_regional[".printFields"][] = "cpf";
$tdatasenuc_aluno_regional[".printFields"][] = "rg";
$tdatasenuc_aluno_regional[".printFields"][] = "estado";
$tdatasenuc_aluno_regional[".printFields"][] = "cidade";
$tdatasenuc_aluno_regional[".printFields"][] = "email";
$tdatasenuc_aluno_regional[".printFields"][] = "endereco";
$tdatasenuc_aluno_regional[".printFields"][] = "telefone";
$tdatasenuc_aluno_regional[".printFields"][] = "celular";
$tdatasenuc_aluno_regional[".printFields"][] = "operadora";
$tdatasenuc_aluno_regional[".printFields"][] = "etnia";
$tdatasenuc_aluno_regional[".printFields"][] = "nascimento";
$tdatasenuc_aluno_regional[".printFields"][] = "renda";
$tdatasenuc_aluno_regional[".printFields"][] = "escolaridade";
$tdatasenuc_aluno_regional[".printFields"][] = "nota_cidadania";
$tdatasenuc_aluno_regional[".printFields"][] = "preparar_para";
$tdatasenuc_aluno_regional[".printFields"][] = "ingresso_nucleo";
$tdatasenuc_aluno_regional[".printFields"][] = "ativo";
$tdatasenuc_aluno_regional[".printFields"][] = "motivo";

//	id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "id";
	$fdata["GoodName"] = "id";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Id"; 
	$fdata["FieldType"] = 3;
	
		$fdata["AutoInc"] = true;
	
		
		
		
		
		
		
		
		
		
		
		$fdata["strField"] = "id"; 
		$fdata["FullName"] = "senuc_aluno.id";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["id"] = $fdata;
//	idnucleo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "idnucleo";
	$fdata["GoodName"] = "idnucleo";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Idnucleo"; 
	$fdata["FieldType"] = 3;
	
		
		
		
		
		
		
		
		
		
		
		
		$fdata["strField"] = "idnucleo"; 
		$fdata["FullName"] = "senuc_aluno.idnucleo";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 2;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "id";
	
		
	$edata["LookupTable"] = "senuc_nucleo";
	$edata["LookupOrderBy"] = "";
	
		
		
		
		
		
				
	
	
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["idnucleo"] = $fdata;
//	nome
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "nome";
	$fdata["GoodName"] = "nome";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Nome"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "nome"; 
		$fdata["FullName"] = "senuc_aluno.nome";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=100";
	
		$edata["inputStyle"] = " width:300px;";
	$edata["controlWidth"] = 300;
	
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["nome"] = $fdata;
//	endereco
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "endereco";
	$fdata["GoodName"] = "endereco";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Endereco"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "endereco"; 
		$fdata["FullName"] = "senuc_aluno.endereco";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=100";
	
		$edata["inputStyle"] = " width:300px;";
	$edata["controlWidth"] = 300;
	
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["endereco"] = $fdata;
//	email
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "email";
	$fdata["GoodName"] = "email";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Email"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "email"; 
		$fdata["FullName"] = "senuc_aluno.email";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["email"] = $fdata;
//	cpf
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "cpf";
	$fdata["GoodName"] = "cpf";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Cpf"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "cpf"; 
		$fdata["FullName"] = "senuc_aluno.cpf";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
		$edata["strEditMask"] = "999.999.999-99"; 

//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["cpf"] = $fdata;
//	rg
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "rg";
	$fdata["GoodName"] = "rg";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Rg"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "rg"; 
		$fdata["FullName"] = "senuc_aluno.rg";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["rg"] = $fdata;
//	telefone
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "telefone";
	$fdata["GoodName"] = "telefone";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Telefone"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "telefone"; 
		$fdata["FullName"] = "senuc_aluno.telefone";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
		$edata["strEditMask"] = "(99)9999-9999"; 

//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["telefone"] = $fdata;
//	celular
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "celular";
	$fdata["GoodName"] = "celular";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Celular"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "celular"; 
		$fdata["FullName"] = "senuc_aluno.celular";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
		$edata["strEditMask"] = "(99)99999-9999"; 

//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["celular"] = $fdata;
//	operadora
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "operadora";
	$fdata["GoodName"] = "operadora";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Operadora"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "operadora"; 
		$fdata["FullName"] = "senuc_aluno.operadora";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "operadora";
	
		
	$edata["LookupTable"] = "operadora";
	$edata["LookupOrderBy"] = "operadora";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["operadora"] = $fdata;
//	cidade
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "cidade";
	$fdata["GoodName"] = "cidade";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Cidade"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "cidade"; 
		$fdata["FullName"] = "senuc_aluno.cidade";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				$edata["LCType"] = 1;
			
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "nome";
	
		
	$edata["LookupTable"] = "tb_cidades";
	$edata["LookupOrderBy"] = "nome";
	
		
		
		$edata["UseCategory"] = true; 
	$edata["CategoryControl"] = "estado"; 
	$edata["CategoryFilter"] = "estado"; 
	
		$edata["FastType"] = true; 
	
		
		$edata["SimpleAdd"] = true;
			
	
	
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["cidade"] = $fdata;
//	estado
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "estado";
	$fdata["GoodName"] = "estado";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Estado"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "estado"; 
		$fdata["FullName"] = "senuc_aluno.estado";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "uf";
	
		
	$edata["LookupTable"] = "tb_estados";
	$edata["LookupOrderBy"] = "uf";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
			//	dependent dropdowns	
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "cidade";
	
	
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["estado"] = $fdata;
//	etnia
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "etnia";
	$fdata["GoodName"] = "etnia";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Etnia"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "etnia"; 
		$fdata["FullName"] = "senuc_aluno.etnia";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "etnia";
	
		
	$edata["LookupTable"] = "etnia";
	$edata["LookupOrderBy"] = "etnia";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["etnia"] = $fdata;
//	nascimento
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "nascimento";
	$fdata["GoodName"] = "nascimento";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Nascimento"; 
	$fdata["FieldType"] = 7;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "nascimento"; 
		$fdata["FullName"] = "senuc_aluno.nascimento";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "Short Date");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Date");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		$edata["DateEditType"] = 13; 
	$edata["InitialYearFactor"] = 100; 
	$edata["LastYearFactor"] = 10; 
	
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["nascimento"] = $fdata;
//	nota_cidadania
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "nota_cidadania";
	$fdata["GoodName"] = "nota_cidadania";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Nota Cidadania"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "nota_cidadania"; 
		$fdata["FullName"] = "senuc_aluno.nota_cidadania";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["nota_cidadania"] = $fdata;
//	renda
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "renda";
	$fdata["GoodName"] = "renda";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Renda"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "renda"; 
		$fdata["FullName"] = "senuc_aluno.renda";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "renda";
	
		
	$edata["LookupTable"] = "renda";
	$edata["LookupOrderBy"] = "id";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["renda"] = $fdata;
//	escolaridade
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 17;
	$fdata["strName"] = "escolaridade";
	$fdata["GoodName"] = "escolaridade";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Escolaridade"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "escolaridade"; 
		$fdata["FullName"] = "senuc_aluno.escolaridade";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "escolaridade";
	
		
	$edata["LookupTable"] = "escolaridade";
	$edata["LookupOrderBy"] = "id";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["escolaridade"] = $fdata;
//	preparar_para
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 18;
	$fdata["strName"] = "preparar_para";
	$fdata["GoodName"] = "preparar_para";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Preparar Para"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "preparar_para"; 
		$fdata["FullName"] = "senuc_aluno.preparar_para";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				$edata["LCType"] = 3;
			
		$edata["HorizontalLookup"] = true;
	
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "preparar";
	
		
	$edata["LookupTable"] = "senuc_preparar";
	$edata["LookupOrderBy"] = "preparar";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
		$edata["Multiselect"] = true; 
	$edata["SelectSize"] = 1;
//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["preparar_para"] = $fdata;
//	ingresso_nucleo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 19;
	$fdata["strName"] = "ingresso_nucleo";
	$fdata["GoodName"] = "ingresso_nucleo";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Ingresso Nucleo"; 
	$fdata["FieldType"] = 7;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "ingresso_nucleo"; 
		$fdata["FullName"] = "senuc_aluno.ingresso_nucleo";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "Short Date");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Date");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		$edata["IsRequired"] = true; 
	
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		$edata["DateEditType"] = 13; 
	$edata["InitialYearFactor"] = 100; 
	$edata["LastYearFactor"] = 10; 
	
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
	
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["ingresso_nucleo"] = $fdata;
//	acoes_afirmativas
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 20;
	$fdata["strName"] = "acoes_afirmativas";
	$fdata["GoodName"] = "acoes_afirmativas";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Acoes Afirmativas"; 
	$fdata["FieldType"] = 3;
	
		
		
		
		
		
		
		
		
		
		
		
		$fdata["strField"] = "acoes_afirmativas"; 
		$fdata["FullName"] = "senuc_aluno.acoes_afirmativas";
	
		
		$fdata["CompatibilityMode"] = true; 
	
				
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["acoes_afirmativas"] = $fdata;
//	ativo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 21;
	$fdata["strName"] = "ativo";
	$fdata["GoodName"] = "ativo";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Ativo"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "ativo"; 
		$fdata["FullName"] = "senuc_aluno.ativo";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "Checkbox");
	
		
		
		
			
		
		
		
		
		
		
		
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Checkbox");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["ativo"] = $fdata;
//	motivo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 22;
	$fdata["strName"] = "motivo";
	$fdata["GoodName"] = "motivo";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Motivo"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "motivo"; 
		$fdata["FullName"] = "senuc_aluno.motivo";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "Custom");
	
		
		
		
			
		
		
		
		
		
		
		
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Lookup wizard");
	
		
		
	
//	Begin Lookup settings
								$edata["LookupType"] = 1;
	$edata["freeInput"] = 0;
	$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
				
		
			
	$edata["LinkField"] = "id";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "motivo";
	
		
	$edata["LookupTable"] = "senuc_motivos";
	$edata["LookupOrderBy"] = "motivo";
	
		
		
		
		
		
		$edata["SimpleAdd"] = true;
			
	
	
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["motivo"] = $fdata;
//	id_mdl
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 23;
	$fdata["strName"] = "id_mdl";
	$fdata["GoodName"] = "id_mdl";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Id Mdl"; 
	$fdata["FieldType"] = 3;
	
		
		
		
		
		
		
		
		
		
		
		
		$fdata["strField"] = "id_mdl"; 
		$fdata["FullName"] = "senuc_aluno.id_mdl";
	
		
		
				
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["id_mdl"] = $fdata;
//	idregional
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 24;
	$fdata["strName"] = "idregional";
	$fdata["GoodName"] = "idregional";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Idregional"; 
	$fdata["FieldType"] = 3;
	
		
		
		
		
		
		
		
		
		
		
		
		$fdata["strField"] = "idregional"; 
		$fdata["FullName"] = "senuc_aluno.idregional";
	
		
		
				
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["idregional"] = $fdata;
//	nome_nucleo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 25;
	$fdata["strName"] = "nome_nucleo";
	$fdata["GoodName"] = "nome_nucleo";
	$fdata["ownerTable"] = "senuc_nucleo";
	$fdata["Label"] = "Nome Nucleo"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "nome"; 
		$fdata["FullName"] = "senuc_nucleo.nome";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["nome_nucleo"] = $fdata;
//	nome_regional
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 26;
	$fdata["strName"] = "nome_regional";
	$fdata["GoodName"] = "nome_regional";
	$fdata["ownerTable"] = "regionais";
	$fdata["Label"] = "Nome Regional"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "regional"; 
		$fdata["FullName"] = "regionais.regional";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["nome_regional"] = $fdata;
//	ultimo_score
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 27;
	$fdata["strName"] = "ultimo_score";
	$fdata["GoodName"] = "ultimo_score";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Ultimo Score"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "ultimo_score"; 
		$fdata["FullName"] = "senuc_aluno.ultimo_score";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Text field");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		
		
		$edata["EditParams"] = "";
			
		
//	Begin validation
	$edata["validateAs"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");	
						
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["ultimo_score"] = $fdata;
//	data_ultimo_score
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 28;
	$fdata["strName"] = "data_ultimo_score";
	$fdata["GoodName"] = "data_ultimo_score";
	$fdata["ownerTable"] = "senuc_aluno";
	$fdata["Label"] = "Data Ultimo Score"; 
	$fdata["FieldType"] = 7;
	
		
		
		$fdata["bListPage"] = true; 
	
		
		
		
		
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "data_ultimo_score"; 
		$fdata["FullName"] = "senuc_aluno.data_ultimo_score";
	
		
		
				$fdata["FieldPermissions"] = true;
	
				$fdata["UploadFolder"] = "files";
		
//  Begin View Formats
	$fdata["ViewFormats"] = array();
	
	$vdata = array("ViewFormat" => "Short Date");
	
		
		
		
			
		
		
		
		
		
		
		$vdata["NeedEncode"] = true;
	
	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats 	
	$fdata["EditFormats"] = array();
	
	$edata = array("EditFormat" => "Date");
	
		
		
	
//	Begin Lookup settings
	//	End Lookup Settings

		
		
		
		
			$edata["acceptFileTypes"] = ".+$";
	
		$edata["maxNumberOfFiles"] = 1;
	
		
		
		$edata["DateEditType"] = 13; 
	$edata["InitialYearFactor"] = 100; 
	$edata["LastYearFactor"] = 10; 
	
		
		
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_aluno_regional["data_ultimo_score"] = $fdata;

	
$tables_data["senuc_aluno_regional"]=&$tdatasenuc_aluno_regional;
$field_labels["senuc_aluno_regional"] = &$fieldLabelssenuc_aluno_regional;
$fieldToolTips["senuc_aluno_regional"] = &$fieldToolTipssenuc_aluno_regional;

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

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

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










function createSqlQuery_senuc_aluno_regional()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "senuc_aluno.id,  senuc_aluno.idnucleo,  senuc_aluno.nome,  senuc_aluno.endereco,  senuc_aluno.email,  senuc_aluno.cpf,  senuc_aluno.rg,  senuc_aluno.telefone,  senuc_aluno.celular,  senuc_aluno.operadora,  senuc_aluno.cidade,  senuc_aluno.estado,  senuc_aluno.etnia,  senuc_aluno.nascimento,  senuc_aluno.nota_cidadania,  senuc_aluno.renda,  senuc_aluno.escolaridade,  senuc_aluno.preparar_para,  senuc_aluno.ingresso_nucleo,  senuc_aluno.acoes_afirmativas,  senuc_aluno.ativo,  senuc_aluno.motivo,  senuc_aluno.id_mdl,  senuc_aluno.idregional,  senuc_nucleo.nome AS nome_nucleo,  regionais.regional AS nome_regional,  senuc_aluno.ultimo_score,  senuc_aluno.data_ultimo_score";
$proto0["m_strFrom"] = "FROM senuc_aluno  INNER JOIN senuc_nucleo ON senuc_aluno.idnucleo = senuc_nucleo.id  INNER JOIN regionais ON senuc_aluno.idregional = regionais.id";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
$proto0["m_strTail"] = "";
$proto0["cipherer"] = null;
$proto1=array();
$proto1["m_sql"] = "";
$proto1["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

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

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto5=array();
			$obj = new SQLField(array(
	"m_strName" => "id",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto7=array();
			$obj = new SQLField(array(
	"m_strName" => "idnucleo",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto9=array();
			$obj = new SQLField(array(
	"m_strName" => "nome",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto11=array();
			$obj = new SQLField(array(
	"m_strName" => "endereco",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto13=array();
			$obj = new SQLField(array(
	"m_strName" => "email",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto15=array();
			$obj = new SQLField(array(
	"m_strName" => "cpf",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto17=array();
			$obj = new SQLField(array(
	"m_strName" => "rg",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto19=array();
			$obj = new SQLField(array(
	"m_strName" => "telefone",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto21=array();
			$obj = new SQLField(array(
	"m_strName" => "celular",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto23=array();
			$obj = new SQLField(array(
	"m_strName" => "operadora",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto25=array();
			$obj = new SQLField(array(
	"m_strName" => "cidade",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto27=array();
			$obj = new SQLField(array(
	"m_strName" => "estado",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto29=array();
			$obj = new SQLField(array(
	"m_strName" => "etnia",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto31=array();
			$obj = new SQLField(array(
	"m_strName" => "nascimento",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto33=array();
			$obj = new SQLField(array(
	"m_strName" => "nota_cidadania",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto35=array();
			$obj = new SQLField(array(
	"m_strName" => "renda",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto37=array();
			$obj = new SQLField(array(
	"m_strName" => "escolaridade",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto39=array();
			$obj = new SQLField(array(
	"m_strName" => "preparar_para",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto41=array();
			$obj = new SQLField(array(
	"m_strName" => "ingresso_nucleo",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto43=array();
			$obj = new SQLField(array(
	"m_strName" => "acoes_afirmativas",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto45=array();
			$obj = new SQLField(array(
	"m_strName" => "ativo",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto47=array();
			$obj = new SQLField(array(
	"m_strName" => "motivo",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto49=array();
			$obj = new SQLField(array(
	"m_strName" => "id_mdl",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto51=array();
			$obj = new SQLField(array(
	"m_strName" => "idregional",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto53=array();
			$obj = new SQLField(array(
	"m_strName" => "nome",
	"m_strTable" => "senuc_nucleo"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto55=array();
			$obj = new SQLField(array(
	"m_strName" => "regional",
	"m_strTable" => "regionais"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto57=array();
			$obj = new SQLField(array(
	"m_strName" => "ultimo_score",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
						$proto59=array();
			$obj = new SQLField(array(
	"m_strName" => "data_ultimo_score",
	"m_strTable" => "senuc_aluno"
));

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

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto61=array();
$proto61["m_link"] = "SQLL_MAIN";
			$proto62=array();
$proto62["m_strName"] = "senuc_aluno";
$proto62["m_columns"] = array();
$proto62["m_columns"][] = "id";
$proto62["m_columns"][] = "idnucleo";
$proto62["m_columns"][] = "nome";
$proto62["m_columns"][] = "endereco";
$proto62["m_columns"][] = "email";
$proto62["m_columns"][] = "cpf";
$proto62["m_columns"][] = "rg";
$proto62["m_columns"][] = "telefone";
$proto62["m_columns"][] = "celular";
$proto62["m_columns"][] = "operadora";
$proto62["m_columns"][] = "cidade";
$proto62["m_columns"][] = "estado";
$proto62["m_columns"][] = "etnia";
$proto62["m_columns"][] = "nascimento";
$proto62["m_columns"][] = "nota_cidadania";
$proto62["m_columns"][] = "renda";
$proto62["m_columns"][] = "escolaridade";
$proto62["m_columns"][] = "preparar_para";
$proto62["m_columns"][] = "ingresso_nucleo";
$proto62["m_columns"][] = "turma";
$proto62["m_columns"][] = "acoes_afirmativas";
$proto62["m_columns"][] = "ativo";
$proto62["m_columns"][] = "motivo";
$proto62["m_columns"][] = "id_mdl";
$proto62["m_columns"][] = "idregional";
$proto62["m_columns"][] = "ultimo_score";
$proto62["m_columns"][] = "data_ultimo_score";
$proto62["m_columns"][] = "score";
$proto62["m_columns"][] = "senha";
$proto62["m_columns"][] = "foto";
$proto62["m_columns"][] = "aceite";
$proto62["m_columns"][] = "data_aceite";
$proto62["m_columns"][] = "curso_desejado";
$proto62["m_columns"][] = "atualizado";
$proto62["m_columns"][] = "data_atualiza";
$proto62["m_columns"][] = "id_turma";
$obj = new SQLTable($proto62);

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

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

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

$proto0["m_fromlist"][]=$obj;
												$proto65=array();
$proto65["m_link"] = "SQLL_INNERJOIN";
			$proto66=array();
$proto66["m_strName"] = "senuc_nucleo";
$proto66["m_columns"] = array();
$proto66["m_columns"][] = "id";
$proto66["m_columns"][] = "idregional";
$proto66["m_columns"][] = "login";
$proto66["m_columns"][] = "senha";
$proto66["m_columns"][] = "nome";
$proto66["m_columns"][] = "responsavel";
$proto66["m_columns"][] = "endereco";
$proto66["m_columns"][] = "cep";
$proto66["m_columns"][] = "estado";
$proto66["m_columns"][] = "cidade";
$proto66["m_columns"][] = "tipo";
$proto66["m_columns"][] = "site";
$proto66["m_columns"][] = "email";
$proto66["m_columns"][] = "telefone";
$proto66["m_columns"][] = "celular";
$proto66["m_columns"][] = "operadora";
$proto66["m_columns"][] = "data_inicio";
$proto66["m_columns"][] = "observacao";
$proto66["m_columns"][] = "prepara_para";
$proto66["m_columns"][] = "funciona_em";
$proto66["m_columns"][] = "ativo";
$proto66["m_columns"][] = "motivo";
$proto66["m_columns"][] = "id_mdl";
$proto66["m_columns"][] = "meta_funcionamento";
$proto66["m_columns"][] = "meta_alunos";
$proto66["m_columns"][] = "limite_alunos_por_coordenador";
$proto66["m_columns"][] = "min_presenca_coordenador";
$proto66["m_columns"][] = "min_presenca_professor";
$proto66["m_columns"][] = "min_presenca_aluno";
$proto66["m_columns"][] = "min_atividades";
$proto66["m_columns"][] = "data_ultimo_score";
$proto66["m_columns"][] = "ultimo_score";
$proto66["m_columns"][] = "aceite";
$obj = new SQLTable($proto66);

$proto65["m_table"] = $obj;
$proto65["m_alias"] = "";
$proto67=array();
$proto67["m_sql"] = "senuc_aluno.idnucleo = senuc_nucleo.id";
$proto67["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "idnucleo",
	"m_strTable" => "senuc_aluno"
));

$proto67["m_column"]=$obj;
$proto67["m_contained"] = array();
$proto67["m_strCase"] = "= senuc_nucleo.id";
$proto67["m_havingmode"] = "0";
$proto67["m_inBrackets"] = "0";
$proto67["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto67);

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

$proto0["m_fromlist"][]=$obj;
												$proto69=array();
$proto69["m_link"] = "SQLL_INNERJOIN";
			$proto70=array();
$proto70["m_strName"] = "regionais";
$proto70["m_columns"] = array();
$proto70["m_columns"][] = "id";
$proto70["m_columns"][] = "regional";
$proto70["m_columns"][] = "responsavel";
$proto70["m_columns"][] = "endereco";
$proto70["m_columns"][] = "telefone";
$proto70["m_columns"][] = "email";
$proto70["m_columns"][] = "celular";
$obj = new SQLTable($proto70);

$proto69["m_table"] = $obj;
$proto69["m_alias"] = "";
$proto71=array();
$proto71["m_sql"] = "senuc_aluno.idregional = regionais.id";
$proto71["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "idregional",
	"m_strTable" => "senuc_aluno"
));

$proto71["m_column"]=$obj;
$proto71["m_contained"] = array();
$proto71["m_strCase"] = "= regionais.id";
$proto71["m_havingmode"] = "0";
$proto71["m_inBrackets"] = "0";
$proto71["m_useAlias"] = "0";
$obj = new SQLLogicalExpr($proto71);

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

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

	return $obj;
}
$queryData_senuc_aluno_regional = createSqlQuery_senuc_aluno_regional();
																												$tdatasenuc_aluno_regional[".sqlquery"] = $queryData_senuc_aluno_regional;
	
if(isset($tdatasenuc_aluno_regional["field2"])){
	$tdatasenuc_aluno_regional["field2"]["LookupTable"] = "carscars_view";
	$tdatasenuc_aluno_regional["field2"]["LookupOrderBy"] = "name";
	$tdatasenuc_aluno_regional["field2"]["LookupType"] = 4;
	$tdatasenuc_aluno_regional["field2"]["LinkField"] = "email";
	$tdatasenuc_aluno_regional["field2"]["DisplayField"] = "name";
	$tdatasenuc_aluno_regional[".hasCustomViewField"] = true;
}

include_once(getabspath("include/senuc_aluno_regional_events.php"));
$tableEvents["senuc_aluno_regional"] = new eventclass_senuc_aluno_regional;
$tdatasenuc_aluno_regional[".hasEvents"] = true;

$cipherer = new RunnerCipherer("senuc_aluno_regional");

?>