<?php
global $runnerTableSettings;
$runnerTableSettings['tb_ficha_tecnica'] = array(
	'name' => 'tb_ficha_tecnica',
	'shortName' => 'tb_ficha_tecnica',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'afterEditAction' => 0,
	'afterEditDetails' => 'tb_ficha_tecnica',
	'afterAddAction' => 0,
	'afterAddDetail' => 'tb_ficha_tecnica',
	'detailsBadgeColor' => '7b68ee',
	'sql' => 'SELECT
	ftecID,
	pdtoID,
	data_revisao,
	status,
	arquivos
FROM
	tb_ficha_tecnica',
	'keyFields' => array( 
		'ftecID' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'ftecID' => array(
			'name' => 'ftecID',
			'goodName' => 'ftecID',
			'strField' => 'ftecID',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'ftecID',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_ficha_tecnica' 
		),
		'pdtoID' => array(
			'name' => 'pdtoID',
			'goodName' => 'pdtoID',
			'strField' => 'pdtoID',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'pdtoID',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'lookupType' => 2,
					'lookupTable' => 'tb_produtos',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'referencia',
					'lookupDisplayField' => 'clienteID' 
				) 
			),
			'tableName' => 'tb_ficha_tecnica',
			'viewLinkTable' => 'tb_produtos',
			'viewLinkLookup' => true 
		),
		'data_revisao' => array(
			'name' => 'data_revisao',
			'goodName' => 'data_revisao',
			'strField' => 'data_revisao',
			'index' => 3,
			'type' => 7,
			'sqlExpression' => 'data_revisao',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'tb_ficha_tecnica' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 4,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'tb_ficha_tecnica' 
		),
		'arquivos' => array(
			'name' => 'arquivos',
			'goodName' => 'arquivos',
			'strField' => 'arquivos',
			'index' => 5,
			'type' => 201,
			'sqlExpression' => 'arquivos',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'tb_ficha_tecnica' 
		) 
	),
	'detailsTables' => array( 
		'tb_ftec_blocos' 
	),
	'query' => array(
		'sql' => 'SELECT
	ftecID,
	pdtoID,
	data_revisao,
	status,
	arquivos
FROM
	tb_ficha_tecnica',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'ftecID',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_ficha_tecnica',
					'name' => 'ftecID' 
				),
				'encrypted' => false,
				'columnName' => 'ftecID' 
			),
			array(
				'sql' => 'pdtoID',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_ficha_tecnica',
					'name' => 'pdtoID' 
				),
				'encrypted' => false,
				'columnName' => 'pdtoID' 
			),
			array(
				'sql' => 'data_revisao',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_ficha_tecnica',
					'name' => 'data_revisao' 
				),
				'encrypted' => false,
				'columnName' => 'data_revisao' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_ficha_tecnica',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			),
			array(
				'sql' => 'arquivos',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'tb_ficha_tecnica',
					'name' => 'arquivos' 
				),
				'encrypted' => false,
				'columnName' => 'arquivos' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'tb_ficha_tecnica',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'tb_ficha_tecnica',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'ftecID',
						'pdtoID',
						'data_revisao',
						'status',
						'arquivos' 
					),
					'name' => 'tb_ficha_tecnica' 
				),
				'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' => 'ftecID,
	pdtoID,
	data_revisao,
	status,
	arquivos',
		'fromListSql' => 'FROM
	tb_ficha_tecnica',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'tb_ficha_tecnica',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'ftecID',
			'pdtoID',
			'data_revisao',
			'status',
			'arquivos' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'ftecID',
			'pdtoID',
			'data_revisao',
			'status',
			'arquivos' 
		) 
	),
	'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_ficha_tecnica'] = array(
	'tableCaption' => 'Tb Ficha Tecnica',
	'fieldLabels' => array(
		'ftecID' => 'Ftec ID',
		'pdtoID' => 'Pdto ID',
		'data_revisao' => 'Data Revisao',
		'status' => 'Status',
		'arquivos' => 'Arquivos' 
	),
	'fieldTooltips' => array(
		'ftecID' => '',
		'pdtoID' => '',
		'data_revisao' => '',
		'status' => '',
		'arquivos' => '' 
	),
	'fieldPlaceholders' => array(
		'ftecID' => '',
		'pdtoID' => '',
		'data_revisao' => '',
		'status' => '',
		'arquivos' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>