<?php
global $runnerTableSettings;
$runnerTableSettings['grade_pdto'] = array(
	'name' => 'grade_pdto',
	'shortName' => 'grade_pdto',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditAction' => 0,
	'afterEditDetails' => 'grade_pdto',
	'afterAddAction' => 0,
	'afterAddDetail' => 'grade_pdto',
	'detailsBadgeColor' => 'e67349',
	'sql' => 'SELECT
	gradeID,
	g0,
	g1,
	g2,
	g3,
	g4,
	g5,
	vigente,
	pdtoID
FROM
	grade_pdto',
	'keyFields' => array( 
		'gradeID' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'gradeID' => array(
			'name' => 'gradeID',
			'goodName' => 'gradeID',
			'strField' => 'gradeID',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'gradeID',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'grade_pdto' 
		),
		'g0' => array(
			'name' => 'g0',
			'goodName' => 'g0',
			'strField' => 'g0',
			'index' => 2,
			'sqlExpression' => 'g0',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'grade_pdto' 
		),
		'g1' => array(
			'name' => 'g1',
			'goodName' => 'g1',
			'strField' => 'g1',
			'index' => 3,
			'sqlExpression' => 'g1',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'grade_pdto' 
		),
		'g2' => array(
			'name' => 'g2',
			'goodName' => 'g2',
			'strField' => 'g2',
			'index' => 4,
			'sqlExpression' => 'g2',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'grade_pdto' 
		),
		'g3' => array(
			'name' => 'g3',
			'goodName' => 'g3',
			'strField' => 'g3',
			'index' => 5,
			'sqlExpression' => 'g3',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'grade_pdto' 
		),
		'g4' => array(
			'name' => 'g4',
			'goodName' => 'g4',
			'strField' => 'g4',
			'index' => 6,
			'sqlExpression' => 'g4',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'grade_pdto' 
		),
		'g5' => array(
			'name' => 'g5',
			'goodName' => 'g5',
			'strField' => 'g5',
			'index' => 7,
			'sqlExpression' => 'g5',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'grade_pdto' 
		),
		'vigente' => array(
			'name' => 'vigente',
			'goodName' => 'vigente',
			'strField' => 'vigente',
			'index' => 8,
			'type' => 3,
			'sqlExpression' => 'vigente',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'grade_pdto' 
		),
		'pdtoID' => array(
			'name' => 'pdtoID',
			'goodName' => 'pdtoID',
			'strField' => 'pdtoID',
			'index' => 9,
			'type' => 3,
			'sqlExpression' => 'pdtoID',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'grade_pdto',
			'viewLinkTable' => 'tb_produtos',
			'viewLinkLookup' => false 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'tb_produtos',
			'detailsKeys' => array( 
				'pdtoID' 
			),
			'masterKeys' => array( 
				'pdtoiD' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	gradeID,
	g0,
	g1,
	g2,
	g3,
	g4,
	g5,
	vigente,
	pdtoID
FROM
	grade_pdto',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'gradeID',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'grade_pdto',
					'name' => 'gradeID' 
				),
				'encrypted' => false,
				'columnName' => 'gradeID' 
			),
			array(
				'sql' => 'g0',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'grade_pdto',
					'name' => 'g0' 
				),
				'encrypted' => false,
				'columnName' => 'g0' 
			),
			array(
				'sql' => 'g1',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'grade_pdto',
					'name' => 'g1' 
				),
				'encrypted' => false,
				'columnName' => 'g1' 
			),
			array(
				'sql' => 'g2',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'grade_pdto',
					'name' => 'g2' 
				),
				'encrypted' => false,
				'columnName' => 'g2' 
			),
			array(
				'sql' => 'g3',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'grade_pdto',
					'name' => 'g3' 
				),
				'encrypted' => false,
				'columnName' => 'g3' 
			),
			array(
				'sql' => 'g4',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'grade_pdto',
					'name' => 'g4' 
				),
				'encrypted' => false,
				'columnName' => 'g4' 
			),
			array(
				'sql' => 'g5',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'grade_pdto',
					'name' => 'g5' 
				),
				'encrypted' => false,
				'columnName' => 'g5' 
			),
			array(
				'sql' => 'vigente',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'grade_pdto',
					'name' => 'vigente' 
				),
				'encrypted' => false,
				'columnName' => 'vigente' 
			),
			array(
				'sql' => 'pdtoID',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'grade_pdto',
					'name' => 'pdtoID' 
				),
				'encrypted' => false,
				'columnName' => 'pdtoID' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'grade_pdto',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'grade_pdto',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'gradeID',
						'g0',
						'g1',
						'g2',
						'g3',
						'g4',
						'g5',
						'vigente',
						'pdtoID' 
					),
					'name' => 'grade_pdto' 
				),
				'joinOn' => array(
					'sql' => '',
					'parsed' => false,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => null 
				),
				'joinList' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						 
					),
					'field2' => array( 
						 
					) 
				),
				'link' => 0 
			) 
		),
		'where' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'groupBy' => array( 
			 
		),
		'having' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'orderBy' => array( 
			 
		),
		'colsIndex' => array( 
			array(
				'fieldIndex' => 0,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 1,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 2,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 3,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 4,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 5,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 6,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 7,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 8,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'gradeID,
	g0,
	g1,
	g2,
	g3,
	g4,
	g5,
	vigente,
	pdtoID',
		'fromListSql' => 'FROM
	grade_pdto',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'grade_pdto',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'gradeID',
			'g0',
			'g1',
			'g2',
			'g3',
			'g4',
			'g5',
			'vigente',
			'pdtoID' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'gradeID',
			'g0',
			'g1',
			'g2',
			'g3',
			'g4',
			'g5',
			'vigente',
			'pdtoID' 
		) 
	),
	'connId' => 'conn',
	'clickActions' => array(
		'row' => array(
			'action' => 'noaction' 
		),
		'fields' => array(
			 
		) 
	),
	'geoCoding' => array(
		'enabled' => false,
		'latField' => '',
		'lonField' => '',
		'addressFields' => array( 
			 
		) 
	),
	'whereTabs' => array( 
		 
	),
	'labels' => array(
		 
	),
	'chartSettings' => array(
		 
	),
	'dataSourceOperations' => array(
		 
	),
	'calendarSettings' => array(
		'categoryColors' => array( 
			 
		) 
	),
	'ganttSettings' => array(
		'categoryColors' => array( 
			 
		) 
	) 
);

global $runnerTableLabels;
if( mlang_getcurrentlang() === 'English' ) {
	$runnerTableLabels['grade_pdto'] = array(
	'tableCaption' => 'Grade Pdto',
	'fieldLabels' => array(
		'gradeID' => 'Grade ID',
		'g0' => 'T0',
		'g1' => 'T1',
		'g2' => 'T2',
		'g3' => 'T3',
		'g4' => 'T4',
		'g5' => 'T5',
		'vigente' => 'Vigente',
		'pdtoID' => 'Pdto ID' 
	),
	'fieldTooltips' => array(
		'gradeID' => '',
		'g0' => '',
		'g1' => '',
		'g2' => '',
		'g3' => '',
		'g4' => '',
		'g5' => '',
		'vigente' => '',
		'pdtoID' => '' 
	),
	'fieldPlaceholders' => array(
		'gradeID' => '',
		'g0' => '',
		'g1' => '',
		'g2' => '',
		'g3' => '',
		'g4' => '',
		'g5' => '',
		'vigente' => '',
		'pdtoID' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>