<?php
global $runnerTableSettings;
$runnerTableSettings['qa_report_checklist'] = array(
	'name' => 'qa_report_checklist',
	'shortName' => 'qa_report_checklist',
	'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' 
	),
	'afterEditDetails' => 'qa_report_checklist',
	'afterAddDetail' => 'qa_report_checklist',
	'detailsBadgeColor' => 'cd5c5c',
	'sql' => 'SELECT
	qa_report_checklist_id,
	qa_report_id,
	qa_report_detail_id,
	process_no,
	process_name,
	criteria,
	actual_findings,
	remarks,
	is_passed
FROM
	qa_report_checklist',
	'keyFields' => array( 
		'qa_report_checklist_id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'qa_report_checklist_id' => array(
			'name' => 'qa_report_checklist_id',
			'goodName' => 'qa_report_checklist_id',
			'strField' => 'qa_report_checklist_id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'qa_report_checklist_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_report_checklist' 
		),
		'qa_report_id' => array(
			'name' => 'qa_report_id',
			'goodName' => 'qa_report_id',
			'strField' => 'qa_report_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'qa_report_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_report_checklist',
			'viewLinkTable' => 'qa_report',
			'viewLinkLookup' => false 
		),
		'qa_report_detail_id' => array(
			'name' => 'qa_report_detail_id',
			'goodName' => 'qa_report_detail_id',
			'strField' => 'qa_report_detail_id',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'qa_report_detail_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_report_checklist' 
		),
		'process_no' => array(
			'name' => 'process_no',
			'goodName' => 'process_no',
			'strField' => 'process_no',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'process_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_report_checklist' 
		),
		'process_name' => array(
			'name' => 'process_name',
			'goodName' => 'process_name',
			'strField' => 'process_name',
			'index' => 5,
			'sqlExpression' => 'process_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'qa_report_checklist' 
		),
		'criteria' => array(
			'name' => 'criteria',
			'goodName' => 'criteria',
			'strField' => 'criteria',
			'index' => 6,
			'type' => 201,
			'sqlExpression' => 'criteria',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'qa_report_checklist' 
		),
		'actual_findings' => array(
			'name' => 'actual_findings',
			'goodName' => 'actual_findings',
			'strField' => 'actual_findings',
			'index' => 7,
			'type' => 201,
			'sqlExpression' => 'actual_findings',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'qa_report_checklist' 
		),
		'remarks' => array(
			'name' => 'remarks',
			'goodName' => 'remarks',
			'strField' => 'remarks',
			'index' => 8,
			'type' => 201,
			'sqlExpression' => 'remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'qa_report_checklist' 
		),
		'is_passed' => array(
			'name' => 'is_passed',
			'goodName' => 'is_passed',
			'strField' => 'is_passed',
			'index' => 9,
			'type' => 2,
			'sqlExpression' => 'is_passed',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Checkbox' 
				) 
			),
			'tableName' => 'qa_report_checklist' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'qa_report',
			'detailsKeys' => array( 
				'qa_report_id' 
			),
			'masterKeys' => array( 
				'qa_report_id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	qa_report_checklist_id,
	qa_report_id,
	qa_report_detail_id,
	process_no,
	process_name,
	criteria,
	actual_findings,
	remarks,
	is_passed
FROM
	qa_report_checklist',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'qa_report_checklist_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_report_checklist',
					'name' => 'qa_report_checklist_id' 
				),
				'encrypted' => false,
				'columnName' => 'qa_report_checklist_id' 
			),
			array(
				'sql' => 'qa_report_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_report_checklist',
					'name' => 'qa_report_id' 
				),
				'encrypted' => false,
				'columnName' => 'qa_report_id' 
			),
			array(
				'sql' => 'qa_report_detail_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_report_checklist',
					'name' => 'qa_report_detail_id' 
				),
				'encrypted' => false,
				'columnName' => 'qa_report_detail_id' 
			),
			array(
				'sql' => 'process_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_report_checklist',
					'name' => 'process_no' 
				),
				'encrypted' => false,
				'columnName' => 'process_no' 
			),
			array(
				'sql' => 'process_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_report_checklist',
					'name' => 'process_name' 
				),
				'encrypted' => false,
				'columnName' => 'process_name' 
			),
			array(
				'sql' => 'criteria',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_report_checklist',
					'name' => 'criteria' 
				),
				'encrypted' => false,
				'columnName' => 'criteria' 
			),
			array(
				'sql' => 'actual_findings',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_report_checklist',
					'name' => 'actual_findings' 
				),
				'encrypted' => false,
				'columnName' => 'actual_findings' 
			),
			array(
				'sql' => 'remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_report_checklist',
					'name' => 'remarks' 
				),
				'encrypted' => false,
				'columnName' => 'remarks' 
			),
			array(
				'sql' => 'is_passed',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'qa_report_checklist',
					'name' => 'is_passed' 
				),
				'encrypted' => false,
				'columnName' => 'is_passed' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'qa_report_checklist',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'qa_report_checklist',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'qa_report_checklist_id',
						'qa_report_id',
						'qa_report_detail_id',
						'process_no',
						'process_name',
						'criteria',
						'actual_findings',
						'remarks',
						'is_passed' 
					),
					'name' => 'qa_report_checklist' 
				),
				'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' => 'qa_report_checklist_id,
	qa_report_id,
	qa_report_detail_id,
	process_no,
	process_name,
	criteria,
	actual_findings,
	remarks,
	is_passed',
		'fromListSql' => 'FROM
	qa_report_checklist',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'qa_report_checklist',
	'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( 
			'qa_report_checklist_id',
			'qa_report_id',
			'qa_report_detail_id',
			'process_no',
			'process_name',
			'criteria',
			'actual_findings',
			'remarks',
			'is_passed' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'qa_report_checklist_id',
			'qa_report_id',
			'qa_report_detail_id',
			'process_no',
			'process_name',
			'criteria',
			'actual_findings',
			'remarks',
			'is_passed' 
		) 
	),
	'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['qa_report_checklist'] = array(
	'tableCaption' => 'Qa Report Checklist',
	'fieldLabels' => array(
		'qa_report_checklist_id' => 'QA Report Checklist ID',
		'qa_report_id' => 'QA Report ID',
		'qa_report_detail_id' => 'QA Report Detail ID',
		'process_no' => 'Process No.',
		'process_name' => 'Process Name',
		'criteria' => 'Criteria',
		'actual_findings' => 'Actual Findings',
		'remarks' => 'Remarks',
		'is_passed' => 'Is Passed' 
	),
	'fieldTooltips' => array(
		'qa_report_checklist_id' => '',
		'qa_report_id' => '',
		'qa_report_detail_id' => '',
		'process_no' => '',
		'process_name' => '',
		'criteria' => '',
		'actual_findings' => '',
		'remarks' => '',
		'is_passed' => '' 
	),
	'fieldPlaceholders' => array(
		'qa_report_checklist_id' => '',
		'qa_report_id' => '',
		'qa_report_detail_id' => '',
		'process_no' => '',
		'process_name' => '',
		'criteria' => '',
		'actual_findings' => '',
		'remarks' => '',
		'is_passed' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>