<?php
require_once(getabspath("classes/cipherer.php"));
$tdatasenuc_score = array();
	$tdatasenuc_score[".NumberOfChars"] = 80; 
	$tdatasenuc_score[".ShortName"] = "senuc_score";
	$tdatasenuc_score[".OwnerID"] = "idnucleo";
	$tdatasenuc_score[".OriginalTable"] = "senuc_score";

//	field labels
$fieldLabelssenuc_score = array();
if(mlang_getcurrentlang()=="Portuguese(Brazil)")
{
	$fieldLabelssenuc_score["Portuguese(Brazil)"] = array();
	$fieldToolTipssenuc_score["Portuguese(Brazil)"] = array();
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["id"] = "Id";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["id"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["idnucleo"] = "Idnucleo";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["idnucleo"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["idregional"] = "Idregional";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["idregional"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["tipo_nucleo"] = "Tipo Nucleo";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["tipo_nucleo"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["ano"] = "Ano";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["ano"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["mes"] = "Mes";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["mes"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["coordenadores"] = "Coordenadores";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["coordenadores"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["professores"] = "Professores";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["professores"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["alunos"] = "Alunos";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["alunos"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["meta_alunos"] = "Meta Alunos";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["meta_alunos"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["dias_funcionamento"] = "Dias Funcionamento";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["dias_funcionamento"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["meta_funcionamento"] = "Meta Funcionamento";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["meta_funcionamento"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["alunos_por_coordenador"] = "Alunos Por Coordenador";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["alunos_por_coordenador"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["meta_alunos_por_coordenador"] = "Meta Alunos Por Coordenador";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["meta_alunos_por_coordenador"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["freq_media_coordenador"] = "Freq Media Coordenador";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["freq_media_coordenador"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["min_freq_coordenador"] = "Min Freq Coordenador";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["min_freq_coordenador"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["freq_media_aluno"] = "Freq Media Aluno";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["freq_media_aluno"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["min_freq_aluno"] = "Min Freq Aluno";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["min_freq_aluno"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["freq_media_professor"] = "Freq Media Professor";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["freq_media_professor"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["min_freq_professor"] = "Min Freq Professor";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["min_freq_professor"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["meta_atividades"] = "Meta Atividades";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["meta_atividades"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["atividades_elaboradas"] = "Atividades Elaboradas";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["atividades_elaboradas"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["atividades_realizadas"] = "Atividades Realizadas";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["atividades_realizadas"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["score"] = "Score";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["score"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["operador"] = "Operador";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["operador"] = "";
	$fieldLabelssenuc_score["Portuguese(Brazil)"]["data_insercao"] = "Data Insercao";
	$fieldToolTipssenuc_score["Portuguese(Brazil)"]["data_insercao"] = "";
	if (count($fieldToolTipssenuc_score["Portuguese(Brazil)"]))
		$tdatasenuc_score[".isUseToolTips"] = true;
}
	
	
	$tdatasenuc_score[".NCSearch"] = true;



$tdatasenuc_score[".shortTableName"] = "senuc_score";
$tdatasenuc_score[".nSecOptions"] = 1;
$tdatasenuc_score[".recsPerRowList"] = 1;
$tdatasenuc_score[".mainTableOwnerID"] = "idnucleo";
$tdatasenuc_score[".moveNext"] = 1;
$tdatasenuc_score[".nType"] = 0;

$tdatasenuc_score[".strOriginalTableName"] = "senuc_score";




$tdatasenuc_score[".showAddInPopup"] = true;

$tdatasenuc_score[".showEditInPopup"] = true;

$tdatasenuc_score[".showViewInPopup"] = true;

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

$tdatasenuc_score[".listAjax"] = false;

	$tdatasenuc_score[".audit"] = false;

	$tdatasenuc_score[".locking"] = false;

$tdatasenuc_score[".listIcons"] = true;
$tdatasenuc_score[".edit"] = true;
$tdatasenuc_score[".inlineEdit"] = true;
$tdatasenuc_score[".inlineAdd"] = true;
$tdatasenuc_score[".view"] = true;

$tdatasenuc_score[".exportTo"] = true;

$tdatasenuc_score[".printFriendly"] = true;

$tdatasenuc_score[".delete"] = true;

$tdatasenuc_score[".showSimpleSearchOptions"] = false;

$tdatasenuc_score[".showSearchPanel"] = true;

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

$tdatasenuc_score[".rowHighlite"] = true;

// button handlers file names

$tdatasenuc_score[".addPageEvents"] = false;

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




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

$tdatasenuc_score[".allSearchFields"][] = "tipo_nucleo";
$tdatasenuc_score[".allSearchFields"][] = "ano";
$tdatasenuc_score[".allSearchFields"][] = "mes";
$tdatasenuc_score[".allSearchFields"][] = "coordenadores";
$tdatasenuc_score[".allSearchFields"][] = "professores";
$tdatasenuc_score[".allSearchFields"][] = "alunos";
$tdatasenuc_score[".allSearchFields"][] = "meta_alunos";
$tdatasenuc_score[".allSearchFields"][] = "dias_funcionamento";
$tdatasenuc_score[".allSearchFields"][] = "meta_funcionamento";
$tdatasenuc_score[".allSearchFields"][] = "alunos_por_coordenador";
$tdatasenuc_score[".allSearchFields"][] = "meta_alunos_por_coordenador";
$tdatasenuc_score[".allSearchFields"][] = "freq_media_coordenador";
$tdatasenuc_score[".allSearchFields"][] = "min_freq_coordenador";
$tdatasenuc_score[".allSearchFields"][] = "freq_media_aluno";
$tdatasenuc_score[".allSearchFields"][] = "min_freq_aluno";
$tdatasenuc_score[".allSearchFields"][] = "freq_media_professor";
$tdatasenuc_score[".allSearchFields"][] = "min_freq_professor";
$tdatasenuc_score[".allSearchFields"][] = "meta_atividades";
$tdatasenuc_score[".allSearchFields"][] = "atividades_elaboradas";
$tdatasenuc_score[".allSearchFields"][] = "atividades_realizadas";
$tdatasenuc_score[".allSearchFields"][] = "score";
$tdatasenuc_score[".allSearchFields"][] = "operador";
$tdatasenuc_score[".allSearchFields"][] = "data_insercao";

$tdatasenuc_score[".googleLikeFields"][] = "id";
$tdatasenuc_score[".googleLikeFields"][] = "idnucleo";
$tdatasenuc_score[".googleLikeFields"][] = "idregional";
$tdatasenuc_score[".googleLikeFields"][] = "tipo_nucleo";
$tdatasenuc_score[".googleLikeFields"][] = "ano";
$tdatasenuc_score[".googleLikeFields"][] = "mes";
$tdatasenuc_score[".googleLikeFields"][] = "coordenadores";
$tdatasenuc_score[".googleLikeFields"][] = "professores";
$tdatasenuc_score[".googleLikeFields"][] = "alunos";
$tdatasenuc_score[".googleLikeFields"][] = "meta_alunos";
$tdatasenuc_score[".googleLikeFields"][] = "dias_funcionamento";
$tdatasenuc_score[".googleLikeFields"][] = "meta_funcionamento";
$tdatasenuc_score[".googleLikeFields"][] = "alunos_por_coordenador";
$tdatasenuc_score[".googleLikeFields"][] = "meta_alunos_por_coordenador";
$tdatasenuc_score[".googleLikeFields"][] = "freq_media_coordenador";
$tdatasenuc_score[".googleLikeFields"][] = "min_freq_coordenador";
$tdatasenuc_score[".googleLikeFields"][] = "freq_media_aluno";
$tdatasenuc_score[".googleLikeFields"][] = "min_freq_aluno";
$tdatasenuc_score[".googleLikeFields"][] = "freq_media_professor";
$tdatasenuc_score[".googleLikeFields"][] = "min_freq_professor";
$tdatasenuc_score[".googleLikeFields"][] = "meta_atividades";
$tdatasenuc_score[".googleLikeFields"][] = "atividades_elaboradas";
$tdatasenuc_score[".googleLikeFields"][] = "atividades_realizadas";
$tdatasenuc_score[".googleLikeFields"][] = "score";
$tdatasenuc_score[".googleLikeFields"][] = "operador";
$tdatasenuc_score[".googleLikeFields"][] = "data_insercao";


$tdatasenuc_score[".advSearchFields"][] = "tipo_nucleo";
$tdatasenuc_score[".advSearchFields"][] = "ano";
$tdatasenuc_score[".advSearchFields"][] = "mes";
$tdatasenuc_score[".advSearchFields"][] = "coordenadores";
$tdatasenuc_score[".advSearchFields"][] = "professores";
$tdatasenuc_score[".advSearchFields"][] = "alunos";
$tdatasenuc_score[".advSearchFields"][] = "meta_alunos";
$tdatasenuc_score[".advSearchFields"][] = "dias_funcionamento";
$tdatasenuc_score[".advSearchFields"][] = "meta_funcionamento";
$tdatasenuc_score[".advSearchFields"][] = "alunos_por_coordenador";
$tdatasenuc_score[".advSearchFields"][] = "meta_alunos_por_coordenador";
$tdatasenuc_score[".advSearchFields"][] = "freq_media_coordenador";
$tdatasenuc_score[".advSearchFields"][] = "min_freq_coordenador";
$tdatasenuc_score[".advSearchFields"][] = "freq_media_aluno";
$tdatasenuc_score[".advSearchFields"][] = "min_freq_aluno";
$tdatasenuc_score[".advSearchFields"][] = "freq_media_professor";
$tdatasenuc_score[".advSearchFields"][] = "min_freq_professor";
$tdatasenuc_score[".advSearchFields"][] = "meta_atividades";
$tdatasenuc_score[".advSearchFields"][] = "atividades_elaboradas";
$tdatasenuc_score[".advSearchFields"][] = "atividades_realizadas";
$tdatasenuc_score[".advSearchFields"][] = "score";
$tdatasenuc_score[".advSearchFields"][] = "operador";
$tdatasenuc_score[".advSearchFields"][] = "data_insercao";

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

	



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



$tdatasenuc_score[".pageSize"] = 20;

$tstrOrderBy = "ORDER BY ano DESC, mes DESC";
if(strlen($tstrOrderBy) && strtolower(substr($tstrOrderBy,0,8))!="order by")
	$tstrOrderBy = "order by ".$tstrOrderBy;
$tdatasenuc_score[".strOrderBy"] = $tstrOrderBy;

$tdatasenuc_score[".orderindexes"] = array();
$tdatasenuc_score[".orderindexes"][] = array(5, (0 ? "ASC" : "DESC"), "ano");
$tdatasenuc_score[".orderindexes"][] = array(6, (0 ? "ASC" : "DESC"), "mes");

$tdatasenuc_score[".sqlHead"] = "SELECT id,  idnucleo,  idregional,  tipo_nucleo,  ano,  mes,  coordenadores,  professores,  alunos,  meta_alunos,  dias_funcionamento,  meta_funcionamento,  alunos_por_coordenador,  meta_alunos_por_coordenador,  freq_media_coordenador,  min_freq_coordenador,  freq_media_aluno,  min_freq_aluno,  freq_media_professor,  min_freq_professor,  meta_atividades,  atividades_elaboradas,  atividades_realizadas,  score,  operador,  data_insercao";
$tdatasenuc_score[".sqlFrom"] = "FROM senuc_score";
$tdatasenuc_score[".sqlWhereExpr"] = "";
$tdatasenuc_score[".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_score[".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_score[".arrGroupsPerPage"] = $arrGPP;

$tableKeyssenuc_score = array();
$tableKeyssenuc_score[] = "id";
$tdatasenuc_score[".Keys"] = $tableKeyssenuc_score;

$tdatasenuc_score[".listFields"] = array();
$tdatasenuc_score[".listFields"][] = "tipo_nucleo";
$tdatasenuc_score[".listFields"][] = "ano";
$tdatasenuc_score[".listFields"][] = "mes";
$tdatasenuc_score[".listFields"][] = "coordenadores";
$tdatasenuc_score[".listFields"][] = "professores";
$tdatasenuc_score[".listFields"][] = "alunos";
$tdatasenuc_score[".listFields"][] = "meta_alunos";
$tdatasenuc_score[".listFields"][] = "dias_funcionamento";
$tdatasenuc_score[".listFields"][] = "meta_funcionamento";
$tdatasenuc_score[".listFields"][] = "alunos_por_coordenador";
$tdatasenuc_score[".listFields"][] = "meta_alunos_por_coordenador";
$tdatasenuc_score[".listFields"][] = "freq_media_coordenador";
$tdatasenuc_score[".listFields"][] = "min_freq_coordenador";
$tdatasenuc_score[".listFields"][] = "freq_media_aluno";
$tdatasenuc_score[".listFields"][] = "min_freq_aluno";
$tdatasenuc_score[".listFields"][] = "freq_media_professor";
$tdatasenuc_score[".listFields"][] = "min_freq_professor";
$tdatasenuc_score[".listFields"][] = "meta_atividades";
$tdatasenuc_score[".listFields"][] = "atividades_elaboradas";
$tdatasenuc_score[".listFields"][] = "atividades_realizadas";
$tdatasenuc_score[".listFields"][] = "score";
$tdatasenuc_score[".listFields"][] = "operador";
$tdatasenuc_score[".listFields"][] = "data_insercao";

$tdatasenuc_score[".viewFields"] = array();
$tdatasenuc_score[".viewFields"][] = "tipo_nucleo";
$tdatasenuc_score[".viewFields"][] = "ano";
$tdatasenuc_score[".viewFields"][] = "mes";
$tdatasenuc_score[".viewFields"][] = "coordenadores";
$tdatasenuc_score[".viewFields"][] = "professores";
$tdatasenuc_score[".viewFields"][] = "alunos";
$tdatasenuc_score[".viewFields"][] = "meta_alunos";
$tdatasenuc_score[".viewFields"][] = "dias_funcionamento";
$tdatasenuc_score[".viewFields"][] = "meta_funcionamento";
$tdatasenuc_score[".viewFields"][] = "alunos_por_coordenador";
$tdatasenuc_score[".viewFields"][] = "meta_alunos_por_coordenador";
$tdatasenuc_score[".viewFields"][] = "freq_media_coordenador";
$tdatasenuc_score[".viewFields"][] = "min_freq_coordenador";
$tdatasenuc_score[".viewFields"][] = "freq_media_aluno";
$tdatasenuc_score[".viewFields"][] = "min_freq_aluno";
$tdatasenuc_score[".viewFields"][] = "freq_media_professor";
$tdatasenuc_score[".viewFields"][] = "min_freq_professor";
$tdatasenuc_score[".viewFields"][] = "meta_atividades";
$tdatasenuc_score[".viewFields"][] = "atividades_elaboradas";
$tdatasenuc_score[".viewFields"][] = "atividades_realizadas";
$tdatasenuc_score[".viewFields"][] = "score";
$tdatasenuc_score[".viewFields"][] = "operador";
$tdatasenuc_score[".viewFields"][] = "data_insercao";

$tdatasenuc_score[".addFields"] = array();
$tdatasenuc_score[".addFields"][] = "tipo_nucleo";
$tdatasenuc_score[".addFields"][] = "ano";
$tdatasenuc_score[".addFields"][] = "mes";
$tdatasenuc_score[".addFields"][] = "coordenadores";
$tdatasenuc_score[".addFields"][] = "professores";
$tdatasenuc_score[".addFields"][] = "alunos";
$tdatasenuc_score[".addFields"][] = "meta_alunos";
$tdatasenuc_score[".addFields"][] = "dias_funcionamento";
$tdatasenuc_score[".addFields"][] = "meta_funcionamento";
$tdatasenuc_score[".addFields"][] = "alunos_por_coordenador";
$tdatasenuc_score[".addFields"][] = "meta_alunos_por_coordenador";
$tdatasenuc_score[".addFields"][] = "freq_media_coordenador";
$tdatasenuc_score[".addFields"][] = "min_freq_coordenador";
$tdatasenuc_score[".addFields"][] = "freq_media_aluno";
$tdatasenuc_score[".addFields"][] = "min_freq_aluno";
$tdatasenuc_score[".addFields"][] = "freq_media_professor";
$tdatasenuc_score[".addFields"][] = "min_freq_professor";
$tdatasenuc_score[".addFields"][] = "meta_atividades";
$tdatasenuc_score[".addFields"][] = "atividades_elaboradas";
$tdatasenuc_score[".addFields"][] = "atividades_realizadas";
$tdatasenuc_score[".addFields"][] = "score";
$tdatasenuc_score[".addFields"][] = "operador";
$tdatasenuc_score[".addFields"][] = "data_insercao";

$tdatasenuc_score[".inlineAddFields"] = array();
$tdatasenuc_score[".inlineAddFields"][] = "tipo_nucleo";
$tdatasenuc_score[".inlineAddFields"][] = "ano";
$tdatasenuc_score[".inlineAddFields"][] = "mes";
$tdatasenuc_score[".inlineAddFields"][] = "coordenadores";
$tdatasenuc_score[".inlineAddFields"][] = "professores";
$tdatasenuc_score[".inlineAddFields"][] = "alunos";
$tdatasenuc_score[".inlineAddFields"][] = "meta_alunos";
$tdatasenuc_score[".inlineAddFields"][] = "dias_funcionamento";
$tdatasenuc_score[".inlineAddFields"][] = "meta_funcionamento";
$tdatasenuc_score[".inlineAddFields"][] = "alunos_por_coordenador";
$tdatasenuc_score[".inlineAddFields"][] = "meta_alunos_por_coordenador";
$tdatasenuc_score[".inlineAddFields"][] = "freq_media_coordenador";
$tdatasenuc_score[".inlineAddFields"][] = "min_freq_coordenador";
$tdatasenuc_score[".inlineAddFields"][] = "freq_media_aluno";
$tdatasenuc_score[".inlineAddFields"][] = "min_freq_aluno";
$tdatasenuc_score[".inlineAddFields"][] = "freq_media_professor";
$tdatasenuc_score[".inlineAddFields"][] = "min_freq_professor";
$tdatasenuc_score[".inlineAddFields"][] = "meta_atividades";
$tdatasenuc_score[".inlineAddFields"][] = "atividades_elaboradas";
$tdatasenuc_score[".inlineAddFields"][] = "atividades_realizadas";
$tdatasenuc_score[".inlineAddFields"][] = "score";
$tdatasenuc_score[".inlineAddFields"][] = "operador";
$tdatasenuc_score[".inlineAddFields"][] = "data_insercao";

$tdatasenuc_score[".editFields"] = array();
$tdatasenuc_score[".editFields"][] = "tipo_nucleo";
$tdatasenuc_score[".editFields"][] = "ano";
$tdatasenuc_score[".editFields"][] = "mes";
$tdatasenuc_score[".editFields"][] = "coordenadores";
$tdatasenuc_score[".editFields"][] = "professores";
$tdatasenuc_score[".editFields"][] = "alunos";
$tdatasenuc_score[".editFields"][] = "meta_alunos";
$tdatasenuc_score[".editFields"][] = "dias_funcionamento";
$tdatasenuc_score[".editFields"][] = "meta_funcionamento";
$tdatasenuc_score[".editFields"][] = "alunos_por_coordenador";
$tdatasenuc_score[".editFields"][] = "meta_alunos_por_coordenador";
$tdatasenuc_score[".editFields"][] = "freq_media_coordenador";
$tdatasenuc_score[".editFields"][] = "min_freq_coordenador";
$tdatasenuc_score[".editFields"][] = "freq_media_aluno";
$tdatasenuc_score[".editFields"][] = "min_freq_aluno";
$tdatasenuc_score[".editFields"][] = "freq_media_professor";
$tdatasenuc_score[".editFields"][] = "min_freq_professor";
$tdatasenuc_score[".editFields"][] = "meta_atividades";
$tdatasenuc_score[".editFields"][] = "atividades_elaboradas";
$tdatasenuc_score[".editFields"][] = "atividades_realizadas";
$tdatasenuc_score[".editFields"][] = "score";
$tdatasenuc_score[".editFields"][] = "operador";
$tdatasenuc_score[".editFields"][] = "data_insercao";

$tdatasenuc_score[".inlineEditFields"] = array();
$tdatasenuc_score[".inlineEditFields"][] = "tipo_nucleo";
$tdatasenuc_score[".inlineEditFields"][] = "ano";
$tdatasenuc_score[".inlineEditFields"][] = "mes";
$tdatasenuc_score[".inlineEditFields"][] = "coordenadores";
$tdatasenuc_score[".inlineEditFields"][] = "professores";
$tdatasenuc_score[".inlineEditFields"][] = "alunos";
$tdatasenuc_score[".inlineEditFields"][] = "meta_alunos";
$tdatasenuc_score[".inlineEditFields"][] = "dias_funcionamento";
$tdatasenuc_score[".inlineEditFields"][] = "meta_funcionamento";
$tdatasenuc_score[".inlineEditFields"][] = "alunos_por_coordenador";
$tdatasenuc_score[".inlineEditFields"][] = "meta_alunos_por_coordenador";
$tdatasenuc_score[".inlineEditFields"][] = "freq_media_coordenador";
$tdatasenuc_score[".inlineEditFields"][] = "min_freq_coordenador";
$tdatasenuc_score[".inlineEditFields"][] = "freq_media_aluno";
$tdatasenuc_score[".inlineEditFields"][] = "min_freq_aluno";
$tdatasenuc_score[".inlineEditFields"][] = "freq_media_professor";
$tdatasenuc_score[".inlineEditFields"][] = "min_freq_professor";
$tdatasenuc_score[".inlineEditFields"][] = "meta_atividades";
$tdatasenuc_score[".inlineEditFields"][] = "atividades_elaboradas";
$tdatasenuc_score[".inlineEditFields"][] = "atividades_realizadas";
$tdatasenuc_score[".inlineEditFields"][] = "score";
$tdatasenuc_score[".inlineEditFields"][] = "operador";
$tdatasenuc_score[".inlineEditFields"][] = "data_insercao";

$tdatasenuc_score[".exportFields"] = array();
$tdatasenuc_score[".exportFields"][] = "tipo_nucleo";
$tdatasenuc_score[".exportFields"][] = "ano";
$tdatasenuc_score[".exportFields"][] = "mes";
$tdatasenuc_score[".exportFields"][] = "coordenadores";
$tdatasenuc_score[".exportFields"][] = "professores";
$tdatasenuc_score[".exportFields"][] = "alunos";
$tdatasenuc_score[".exportFields"][] = "meta_alunos";
$tdatasenuc_score[".exportFields"][] = "dias_funcionamento";
$tdatasenuc_score[".exportFields"][] = "meta_funcionamento";
$tdatasenuc_score[".exportFields"][] = "alunos_por_coordenador";
$tdatasenuc_score[".exportFields"][] = "meta_alunos_por_coordenador";
$tdatasenuc_score[".exportFields"][] = "freq_media_coordenador";
$tdatasenuc_score[".exportFields"][] = "min_freq_coordenador";
$tdatasenuc_score[".exportFields"][] = "freq_media_aluno";
$tdatasenuc_score[".exportFields"][] = "min_freq_aluno";
$tdatasenuc_score[".exportFields"][] = "freq_media_professor";
$tdatasenuc_score[".exportFields"][] = "min_freq_professor";
$tdatasenuc_score[".exportFields"][] = "meta_atividades";
$tdatasenuc_score[".exportFields"][] = "atividades_elaboradas";
$tdatasenuc_score[".exportFields"][] = "atividades_realizadas";
$tdatasenuc_score[".exportFields"][] = "score";
$tdatasenuc_score[".exportFields"][] = "operador";
$tdatasenuc_score[".exportFields"][] = "data_insercao";

$tdatasenuc_score[".printFields"] = array();
$tdatasenuc_score[".printFields"][] = "tipo_nucleo";
$tdatasenuc_score[".printFields"][] = "ano";
$tdatasenuc_score[".printFields"][] = "mes";
$tdatasenuc_score[".printFields"][] = "coordenadores";
$tdatasenuc_score[".printFields"][] = "professores";
$tdatasenuc_score[".printFields"][] = "alunos";
$tdatasenuc_score[".printFields"][] = "meta_alunos";
$tdatasenuc_score[".printFields"][] = "dias_funcionamento";
$tdatasenuc_score[".printFields"][] = "meta_funcionamento";
$tdatasenuc_score[".printFields"][] = "alunos_por_coordenador";
$tdatasenuc_score[".printFields"][] = "meta_alunos_por_coordenador";
$tdatasenuc_score[".printFields"][] = "freq_media_coordenador";
$tdatasenuc_score[".printFields"][] = "min_freq_coordenador";
$tdatasenuc_score[".printFields"][] = "freq_media_aluno";
$tdatasenuc_score[".printFields"][] = "min_freq_aluno";
$tdatasenuc_score[".printFields"][] = "freq_media_professor";
$tdatasenuc_score[".printFields"][] = "min_freq_professor";
$tdatasenuc_score[".printFields"][] = "meta_atividades";
$tdatasenuc_score[".printFields"][] = "atividades_elaboradas";
$tdatasenuc_score[".printFields"][] = "atividades_realizadas";
$tdatasenuc_score[".printFields"][] = "score";
$tdatasenuc_score[".printFields"][] = "operador";
$tdatasenuc_score[".printFields"][] = "data_insercao";

//	id
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "id";
	$fdata["GoodName"] = "id";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Id"; 
	$fdata["FieldType"] = 3;
	
		
		
		
		
		
		
		
		
		
		
		
		$fdata["strField"] = "id"; 
		$fdata["FullName"] = "id";
	
		
		
				
				$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_score["id"] = $fdata;
//	idnucleo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "idnucleo";
	$fdata["GoodName"] = "idnucleo";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Idnucleo"; 
	$fdata["FieldType"] = 3;
	
		
		
		
		
		
		
		
		
		
		
		
		$fdata["strField"] = "idnucleo"; 
		$fdata["FullName"] = "idnucleo";
	
		
		
				
				$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["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_score["idnucleo"] = $fdata;
//	idregional
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "idregional";
	$fdata["GoodName"] = "idregional";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Idregional"; 
	$fdata["FieldType"] = 3;
	
		
		
		
		
		
		
		
		
		
		
		
		$fdata["strField"] = "idregional"; 
		$fdata["FullName"] = "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["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_score["idregional"] = $fdata;
//	tipo_nucleo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "tipo_nucleo";
	$fdata["GoodName"] = "tipo_nucleo";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Tipo Nucleo"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "tipo_nucleo"; 
		$fdata["FullName"] = "tipo_nucleo";
	
		
		
				$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_score["tipo_nucleo"] = $fdata;
//	ano
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "ano";
	$fdata["GoodName"] = "ano";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Ano"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "ano"; 
		$fdata["FullName"] = "ano";
	
		
		
				$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_score["ano"] = $fdata;
//	mes
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "mes";
	$fdata["GoodName"] = "mes";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Mes"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "mes"; 
		$fdata["FullName"] = "mes";
	
		
		
				$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_score["mes"] = $fdata;
//	coordenadores
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "coordenadores";
	$fdata["GoodName"] = "coordenadores";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Coordenadores"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "coordenadores"; 
		$fdata["FullName"] = "coordenadores";
	
		
		
				$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_score["coordenadores"] = $fdata;
//	professores
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "professores";
	$fdata["GoodName"] = "professores";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Professores"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "professores"; 
		$fdata["FullName"] = "professores";
	
		
		
				$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_score["professores"] = $fdata;
//	alunos
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "alunos";
	$fdata["GoodName"] = "alunos";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Alunos"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "alunos"; 
		$fdata["FullName"] = "alunos";
	
		
		
				$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_score["alunos"] = $fdata;
//	meta_alunos
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "meta_alunos";
	$fdata["GoodName"] = "meta_alunos";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Meta Alunos"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "meta_alunos"; 
		$fdata["FullName"] = "meta_alunos";
	
		
		
				$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_score["meta_alunos"] = $fdata;
//	dias_funcionamento
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "dias_funcionamento";
	$fdata["GoodName"] = "dias_funcionamento";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Dias Funcionamento"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "dias_funcionamento"; 
		$fdata["FullName"] = "dias_funcionamento";
	
		
		
				$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_score["dias_funcionamento"] = $fdata;
//	meta_funcionamento
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "meta_funcionamento";
	$fdata["GoodName"] = "meta_funcionamento";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Meta Funcionamento"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "meta_funcionamento"; 
		$fdata["FullName"] = "meta_funcionamento";
	
		
		
				$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_score["meta_funcionamento"] = $fdata;
//	alunos_por_coordenador
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "alunos_por_coordenador";
	$fdata["GoodName"] = "alunos_por_coordenador";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Alunos Por Coordenador"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "alunos_por_coordenador"; 
		$fdata["FullName"] = "alunos_por_coordenador";
	
		
		
				$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_score["alunos_por_coordenador"] = $fdata;
//	meta_alunos_por_coordenador
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "meta_alunos_por_coordenador";
	$fdata["GoodName"] = "meta_alunos_por_coordenador";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Meta Alunos Por Coordenador"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "meta_alunos_por_coordenador"; 
		$fdata["FullName"] = "meta_alunos_por_coordenador";
	
		
		
				$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_score["meta_alunos_por_coordenador"] = $fdata;
//	freq_media_coordenador
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "freq_media_coordenador";
	$fdata["GoodName"] = "freq_media_coordenador";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Freq Media Coordenador"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "freq_media_coordenador"; 
		$fdata["FullName"] = "freq_media_coordenador";
	
		
		
				$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_score["freq_media_coordenador"] = $fdata;
//	min_freq_coordenador
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "min_freq_coordenador";
	$fdata["GoodName"] = "min_freq_coordenador";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Min Freq Coordenador"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "min_freq_coordenador"; 
		$fdata["FullName"] = "min_freq_coordenador";
	
		
		
				$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_score["min_freq_coordenador"] = $fdata;
//	freq_media_aluno
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 17;
	$fdata["strName"] = "freq_media_aluno";
	$fdata["GoodName"] = "freq_media_aluno";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Freq Media Aluno"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "freq_media_aluno"; 
		$fdata["FullName"] = "freq_media_aluno";
	
		
		
				$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_score["freq_media_aluno"] = $fdata;
//	min_freq_aluno
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 18;
	$fdata["strName"] = "min_freq_aluno";
	$fdata["GoodName"] = "min_freq_aluno";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Min Freq Aluno"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "min_freq_aluno"; 
		$fdata["FullName"] = "min_freq_aluno";
	
		
		
				$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_score["min_freq_aluno"] = $fdata;
//	freq_media_professor
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 19;
	$fdata["strName"] = "freq_media_professor";
	$fdata["GoodName"] = "freq_media_professor";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Freq Media Professor"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "freq_media_professor"; 
		$fdata["FullName"] = "freq_media_professor";
	
		
		
				$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_score["freq_media_professor"] = $fdata;
//	min_freq_professor
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 20;
	$fdata["strName"] = "min_freq_professor";
	$fdata["GoodName"] = "min_freq_professor";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Min Freq Professor"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "min_freq_professor"; 
		$fdata["FullName"] = "min_freq_professor";
	
		
		
				$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_score["min_freq_professor"] = $fdata;
//	meta_atividades
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 21;
	$fdata["strName"] = "meta_atividades";
	$fdata["GoodName"] = "meta_atividades";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Meta Atividades"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "meta_atividades"; 
		$fdata["FullName"] = "meta_atividades";
	
		
		
				$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_score["meta_atividades"] = $fdata;
//	atividades_elaboradas
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 22;
	$fdata["strName"] = "atividades_elaboradas";
	$fdata["GoodName"] = "atividades_elaboradas";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Atividades Elaboradas"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "atividades_elaboradas"; 
		$fdata["FullName"] = "atividades_elaboradas";
	
		
		
				$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_score["atividades_elaboradas"] = $fdata;
//	atividades_realizadas
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 23;
	$fdata["strName"] = "atividades_realizadas";
	$fdata["GoodName"] = "atividades_realizadas";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Atividades Realizadas"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "atividades_realizadas"; 
		$fdata["FullName"] = "atividades_realizadas";
	
		
		
				$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_score["atividades_realizadas"] = $fdata;
//	score
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 24;
	$fdata["strName"] = "score";
	$fdata["GoodName"] = "score";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Score"; 
	$fdata["FieldType"] = 3;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "score"; 
		$fdata["FullName"] = "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["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_score["score"] = $fdata;
//	operador
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 25;
	$fdata["strName"] = "operador";
	$fdata["GoodName"] = "operador";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Operador"; 
	$fdata["FieldType"] = 200;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "operador"; 
		$fdata["FullName"] = "operador";
	
		
		
				$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"] = "";
			$edata["EditParams"].= " maxlength=100";
	
		
//	Begin validation
	$edata["validateAs"] = array();
		
	//	End validation
	
		
				
		$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats
	
		$fdata["isSeparate"] = false;
	
		
		
	$tdatasenuc_score["operador"] = $fdata;
//	data_insercao
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 26;
	$fdata["strName"] = "data_insercao";
	$fdata["GoodName"] = "data_insercao";
	$fdata["ownerTable"] = "senuc_score";
	$fdata["Label"] = "Data Insercao"; 
	$fdata["FieldType"] = 7;
	
		
		
		$fdata["bListPage"] = true; 
	
		$fdata["bAddPage"] = true; 
	
		$fdata["bInlineAdd"] = true; 
	
		$fdata["bEditPage"] = true; 
	
		$fdata["bInlineEdit"] = true; 
	
		$fdata["bViewPage"] = true; 
	
		$fdata["bAdvancedSearch"] = true; 
	
		$fdata["bPrinterPage"] = true; 
	
		$fdata["bExportPage"] = true; 
	
		$fdata["strField"] = "data_insercao"; 
		$fdata["FullName"] = "data_insercao";
	
		
		
				$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_score["data_insercao"] = $fdata;

	
$tables_data["senuc_score"]=&$tdatasenuc_score;
$field_labels["senuc_score"] = &$fieldLabelssenuc_score;
$fieldToolTips["senuc_score"] = &$fieldToolTipssenuc_score;

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

$mIndex = 1-1;
			$strOriginalDetailsTable="senuc_nucleo";
	$masterParams["mDataSourceTable"]="senuc_nucleo";
	$masterParams["mOriginalTable"]= $strOriginalDetailsTable;
	$masterParams["mShortTable"]= "senuc_nucleo";
	$masterParams["masterKeys"]= array();
	$masterParams["detailKeys"]= array();
	$masterParams["dispChildCount"]= "1";
	$masterParams["hideChild"]= "0";
	$masterParams["dispInfo"]= "1";
	$masterParams["previewOnList"]= 1;
	$masterParams["previewOnAdd"]= 0;
	$masterParams["previewOnEdit"]= 0;
	$masterParams["previewOnView"]= 0;
	$masterTablesData["senuc_score"][$mIndex] = $masterParams;	
		$masterTablesData["senuc_score"][$mIndex]["masterKeys"][]="id";
		$masterTablesData["senuc_score"][$mIndex]["detailKeys"][]="idnucleo";

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

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










function createSqlQuery_senuc_score()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "id,  idnucleo,  idregional,  tipo_nucleo,  ano,  mes,  coordenadores,  professores,  alunos,  meta_alunos,  dias_funcionamento,  meta_funcionamento,  alunos_por_coordenador,  meta_alunos_por_coordenador,  freq_media_coordenador,  min_freq_coordenador,  freq_media_aluno,  min_freq_aluno,  freq_media_professor,  min_freq_professor,  meta_atividades,  atividades_elaboradas,  atividades_realizadas,  score,  operador,  data_insercao";
$proto0["m_strFrom"] = "FROM senuc_score";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "ORDER BY ano DESC, mes DESC";
$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_score"
));

$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_score"
));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto57=array();
$proto57["m_link"] = "SQLL_MAIN";
			$proto58=array();
$proto58["m_strName"] = "senuc_score";
$proto58["m_columns"] = array();
$proto58["m_columns"][] = "id";
$proto58["m_columns"][] = "idnucleo";
$proto58["m_columns"][] = "idregional";
$proto58["m_columns"][] = "tipo_nucleo";
$proto58["m_columns"][] = "ano";
$proto58["m_columns"][] = "mes";
$proto58["m_columns"][] = "coordenadores";
$proto58["m_columns"][] = "professores";
$proto58["m_columns"][] = "alunos";
$proto58["m_columns"][] = "meta_alunos";
$proto58["m_columns"][] = "dias_funcionamento";
$proto58["m_columns"][] = "meta_funcionamento";
$proto58["m_columns"][] = "alunos_por_coordenador";
$proto58["m_columns"][] = "meta_alunos_por_coordenador";
$proto58["m_columns"][] = "freq_media_coordenador";
$proto58["m_columns"][] = "min_freq_coordenador";
$proto58["m_columns"][] = "freq_media_aluno";
$proto58["m_columns"][] = "min_freq_aluno";
$proto58["m_columns"][] = "freq_media_professor";
$proto58["m_columns"][] = "min_freq_professor";
$proto58["m_columns"][] = "meta_atividades";
$proto58["m_columns"][] = "atividades_elaboradas";
$proto58["m_columns"][] = "atividades_realizadas";
$proto58["m_columns"][] = "score";
$proto58["m_columns"][] = "operador";
$proto58["m_columns"][] = "data_insercao";
$obj = new SQLTable($proto58);

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

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

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

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
												$proto61=array();
						$obj = new SQLField(array(
	"m_strName" => "ano",
	"m_strTable" => "senuc_score"
));

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

$proto0["m_orderby"][]=$obj;					
												$proto63=array();
						$obj = new SQLField(array(
	"m_strName" => "mes",
	"m_strTable" => "senuc_score"
));

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

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

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

$tableEvents["senuc_score"] = new eventsBase;
$tdatasenuc_score[".hasEvents"] = false;

$cipherer = new RunnerCipherer("senuc_score");

?>