<?php
global $runnerTableSettings;
$runnerTableSettings['tb_componentes'] = array(
	'name' => 'tb_componentes',
	'shortName' => 'tb_componentes',
	'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' => 'tb_componentes',
	'afterAddAction' => 0,
	'afterAddDetail' => 'tb_componentes',
	'detailsBadgeColor' => '6da5c8',
	'sql' => 'SELECT
	componenteID,
	componente,
	material,
	metrica,
	ativar
FROM
	tb_componentes',
	'keyFields' => array( 
		'componenteID' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'componenteID' => array(
			'name' => 'componenteID',
			'goodName' => 'componenteID',
			'strField' => 'componenteID',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'componenteID',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_componentes' 
		),
		'componente' => array(
			'name' => 'componente',
			'goodName' => 'componente',
			'strField' => 'componente',
			'index' => 2,
			'sqlExpression' => 'componente',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_componentes' 
		),
		'material' => array(
			'name' => 'material',
			'goodName' => 'material',
			'strField' => 'material',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'material',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'lookupType' => 2,
					'lookupTable' => 'tb_materiais',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'materialID',
					'lookupDisplayField' => 'material',
					'lookupOrderBy' => 'material' 
				) 
			),
			'tableName' => 'tb_componentes',
			'viewLinkTable' => 'tb_materiais',
			'viewLinkLookup' => true 
		),
		'metrica' => array(
			'name' => 'metrica',
			'goodName' => 'metrica',
			'strField' => 'metrica',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'metrica',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'lookupType' => 2,
					'lookupTable' => 'tb_metricas',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'metricaID',
					'lookupDisplayField' => 'metrica',
					'lookupOrderBy' => 'metrica' 
				) 
			),
			'tableName' => 'tb_componentes',
			'viewLinkTable' => 'tb_metricas',
			'viewLinkLookup' => true 
		),
		'ativar' => array(
			'name' => 'ativar',
			'goodName' => 'ativar',
			'strField' => 'ativar',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'ativar',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_componentes' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	componenteID,
	componente,
	material,
	metrica,
	ativar
FROM
	tb_componentes',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'componenteID',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_componentes',
					'name' => 'componenteID' 
				),
				'encrypted' => false,
				'columnName' => 'componenteID' 
			),
			array(
				'sql' => 'componente',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_componentes',
					'name' => 'componente' 
				),
				'encrypted' => false,
				'columnName' => 'componente' 
			),
			array(
				'sql' => 'material',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_componentes',
					'name' => 'material' 
				),
				'encrypted' => false,
				'columnName' => 'material' 
			),
			array(
				'sql' => 'metrica',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_componentes',
					'name' => 'metrica' 
				),
				'encrypted' => false,
				'columnName' => 'metrica' 
			),
			array(
				'sql' => 'ativar',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_componentes',
					'name' => 'ativar' 
				),
				'encrypted' => false,
				'columnName' => 'ativar' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'tb_componentes',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'tb_componentes',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'componenteID',
						'componente',
						'material',
						'metrica',
						'ativar' 
					),
					'name' => 'tb_componentes' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'componenteID,
	componente,
	material,
	metrica,
	ativar',
		'fromListSql' => 'FROM
	tb_componentes',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'tb_componentes',
	'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( 
			'componenteID',
			'componente',
			'material',
			'metrica',
			'ativar' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'componenteID',
			'componente',
			'material',
			'metrica',
			'ativar' 
		) 
	),
	'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['tb_componentes'] = array(
	'tableCaption' => 'Tb Componentes',
	'fieldLabels' => array(
		'componenteID' => 'Componente ID',
		'componente' => 'Componente',
		'material' => 'Material',
		'metrica' => 'Metrica',
		'ativar' => 'Ativar' 
	),
	'fieldTooltips' => array(
		'componenteID' => '',
		'componente' => '',
		'material' => '',
		'metrica' => '',
		'ativar' => '' 
	),
	'fieldPlaceholders' => array(
		'componenteID' => '',
		'componente' => '',
		'material' => '',
		'metrica' => '',
		'ativar' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>