<?php
global $runnerTableSettings;
$runnerTableSettings['tb_categ_despesas'] = array(
	'name' => 'tb_categ_despesas',
	'shortName' => 'tb_categ_despesas',
	'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_categ_despesas',
	'afterAddAction' => 0,
	'afterAddDetail' => 'tb_categ_despesas',
	'detailsBadgeColor' => 'cd853f',
	'sql' => 'SELECT
	catdespID,
	categoria,
	ativar,
	centro_custos,
	var_rateio,
	variavel
FROM
	tb_categ_despesas',
	'keyFields' => array( 
		'catdespID' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'catdespID' => array(
			'name' => 'catdespID',
			'goodName' => 'catdespID',
			'strField' => 'catdespID',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'catdespID',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_categ_despesas' 
		),
		'categoria' => array(
			'name' => 'categoria',
			'goodName' => 'categoria',
			'strField' => 'categoria',
			'index' => 2,
			'sqlExpression' => 'categoria',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_categ_despesas' 
		),
		'ativar' => array(
			'name' => 'ativar',
			'goodName' => 'ativar',
			'strField' => 'ativar',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'ativar',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Checkbox',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'tb_categ_despesas' 
		),
		'centro_custos' => array(
			'name' => 'centro_custos',
			'goodName' => 'centro_custos',
			'strField' => 'centro_custos',
			'index' => 4,
			'sqlExpression' => 'centro_custos',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'lookupType' => 0,
					'lookupValues' => array( 
						'Mao Obra',
						'Materiais',
						'Estrutura',
						'GGF',
						'Comercial',
						'Financeiro',
						'PDP' 
					) 
				) 
			),
			'tableName' => 'tb_categ_despesas' 
		),
		'var_rateio' => array(
			'name' => 'var_rateio',
			'goodName' => 'var_rateio',
			'strField' => 'var_rateio',
			'index' => 5,
			'sqlExpression' => 'var_rateio',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_categ_despesas' 
		),
		'variavel' => array(
			'name' => 'variavel',
			'goodName' => 'variavel',
			'strField' => 'variavel',
			'index' => 6,
			'type' => 14,
			'sqlExpression' => 'variavel',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_categ_despesas' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	catdespID,
	categoria,
	ativar,
	centro_custos,
	var_rateio,
	variavel
FROM
	tb_categ_despesas',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'catdespID',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_categ_despesas',
					'name' => 'catdespID' 
				),
				'encrypted' => false,
				'columnName' => 'catdespID' 
			),
			array(
				'sql' => 'categoria',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_categ_despesas',
					'name' => 'categoria' 
				),
				'encrypted' => false,
				'columnName' => 'categoria' 
			),
			array(
				'sql' => 'ativar',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_categ_despesas',
					'name' => 'ativar' 
				),
				'encrypted' => false,
				'columnName' => 'ativar' 
			),
			array(
				'sql' => 'centro_custos',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_categ_despesas',
					'name' => 'centro_custos' 
				),
				'encrypted' => false,
				'columnName' => 'centro_custos' 
			),
			array(
				'sql' => 'var_rateio',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_categ_despesas',
					'name' => 'var_rateio' 
				),
				'encrypted' => false,
				'columnName' => 'var_rateio' 
			),
			array(
				'sql' => 'variavel',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_categ_despesas',
					'name' => 'variavel' 
				),
				'encrypted' => false,
				'columnName' => 'variavel' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'tb_categ_despesas',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'tb_categ_despesas',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'catdespID',
						'categoria',
						'ativar',
						'centro_custos',
						'var_rateio',
						'variavel' 
					),
					'name' => 'tb_categ_despesas' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'catdespID,
	categoria,
	ativar,
	centro_custos,
	var_rateio,
	variavel',
		'fromListSql' => 'FROM
	tb_categ_despesas',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'tb_categ_despesas',
	'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( 
			'catdespID',
			'categoria',
			'ativar',
			'centro_custos',
			'var_rateio',
			'variavel' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'catdespID',
			'categoria',
			'ativar',
			'centro_custos',
			'var_rateio',
			'variavel' 
		) 
	),
	'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_categ_despesas'] = array(
	'tableCaption' => 'Tb Categ Despesas',
	'fieldLabels' => array(
		'catdespID' => 'Catdesp ID',
		'categoria' => 'Categoria',
		'ativar' => 'Ativar',
		'centro_custos' => 'Centro Custos',
		'var_rateio' => 'Var Rateio',
		'variavel' => 'Variavel' 
	),
	'fieldTooltips' => array(
		'catdespID' => '',
		'categoria' => '',
		'ativar' => '',
		'centro_custos' => '',
		'var_rateio' => '',
		'variavel' => '' 
	),
	'fieldPlaceholders' => array(
		'catdespID' => '',
		'categoria' => '',
		'ativar' => '',
		'centro_custos' => '',
		'var_rateio' => '',
		'variavel' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>