<?php
global $runnerTableSettings;
$runnerTableSettings['tb_dist_cotas'] = array(
	'name' => 'tb_dist_cotas',
	'shortName' => 'tb_dist_cotas',
	'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_dist_cotas',
	'afterAddAction' => 0,
	'afterAddDetail' => 'tb_dist_cotas',
	'detailsBadgeColor' => '4169e1',
	'sql' => 'SELECT
	distcotaID,
	cotista,
	percentual,
	cota,
	ativar
FROM
	tb_dist_cotas',
	'keyFields' => array( 
		'distcotaID' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'distcotaID' => array(
			'name' => 'distcotaID',
			'goodName' => 'distcotaID',
			'strField' => 'distcotaID',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'distcotaID',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_dist_cotas' 
		),
		'cotista' => array(
			'name' => 'cotista',
			'goodName' => 'cotista',
			'strField' => 'cotista',
			'index' => 2,
			'sqlExpression' => 'cotista',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_dist_cotas' 
		),
		'percentual' => array(
			'name' => 'percentual',
			'goodName' => 'percentual',
			'strField' => 'percentual',
			'index' => 3,
			'type' => 14,
			'sqlExpression' => 'percentual',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_dist_cotas' 
		),
		'cota' => array(
			'name' => 'cota',
			'goodName' => 'cota',
			'strField' => 'cota',
			'index' => 4,
			'sqlExpression' => 'cota',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'lookupType' => 0,
					'lookupValues' => array( 
						'A',
						'B',
						'C',
						'D' 
					) 
				) 
			),
			'tableName' => 'tb_dist_cotas' 
		),
		'ativar' => array(
			'name' => 'ativar',
			'goodName' => 'ativar',
			'strField' => 'ativar',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'ativar',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Checkbox',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'tb_dist_cotas' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	distcotaID,
	cotista,
	percentual,
	cota,
	ativar
FROM
	tb_dist_cotas',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'distcotaID',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_dist_cotas',
					'name' => 'distcotaID' 
				),
				'encrypted' => false,
				'columnName' => 'distcotaID' 
			),
			array(
				'sql' => 'cotista',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_dist_cotas',
					'name' => 'cotista' 
				),
				'encrypted' => false,
				'columnName' => 'cotista' 
			),
			array(
				'sql' => 'percentual',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_dist_cotas',
					'name' => 'percentual' 
				),
				'encrypted' => false,
				'columnName' => 'percentual' 
			),
			array(
				'sql' => 'cota',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_dist_cotas',
					'name' => 'cota' 
				),
				'encrypted' => false,
				'columnName' => 'cota' 
			),
			array(
				'sql' => 'ativar',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_dist_cotas',
					'name' => 'ativar' 
				),
				'encrypted' => false,
				'columnName' => 'ativar' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'tb_dist_cotas',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'tb_dist_cotas',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'distcotaID',
						'cotista',
						'percentual',
						'cota',
						'ativar' 
					),
					'name' => 'tb_dist_cotas' 
				),
				'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' => 'distcotaID,
	cotista,
	percentual,
	cota,
	ativar',
		'fromListSql' => 'FROM
	tb_dist_cotas',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'tb_dist_cotas',
	'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( 
			'distcotaID',
			'cotista',
			'percentual',
			'cota',
			'ativar' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'distcotaID',
			'cotista',
			'percentual',
			'cota',
			'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_dist_cotas'] = array(
	'tableCaption' => 'Tb Dist Cotas',
	'fieldLabels' => array(
		'distcotaID' => 'Distcota ID',
		'cotista' => 'Cotista',
		'percentual' => 'Percentual',
		'cota' => 'Cota',
		'ativar' => 'Ativar' 
	),
	'fieldTooltips' => array(
		'distcotaID' => '',
		'cotista' => '',
		'percentual' => '',
		'cota' => '',
		'ativar' => '' 
	),
	'fieldPlaceholders' => array(
		'distcotaID' => '',
		'cotista' => '',
		'percentual' => '',
		'cota' => '',
		'ativar' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>