<?php
global $runnerTableSettings;
$runnerTableSettings['approval_action'] = array(
	'name' => 'approval_action',
	'shortName' => 'approval_action',
	'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' => 'approval_action',
	'afterAddDetail' => 'approval_action',
	'detailsBadgeColor' => '3cb371',
	'sql' => 'SELECT
	id,
	approval_instance_id,
	step_no,
	action_code,
	acted_by_platform_user_id,
	comments,
	acted_at
FROM
	approval_action',
	'keyFields' => array( 
		'id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'approval_action' 
		),
		'approval_instance_id' => array(
			'name' => 'approval_instance_id',
			'goodName' => 'approval_instance_id',
			'strField' => 'approval_instance_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'approval_instance_id',
			'viewFormats' => array(
				'view' => array(
					'viewLink' => true 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'approval_instance',
					'lookupTableConnection' => 'conn1',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'transaction_type' 
				) 
			),
			'tableName' => 'approval_action',
			'viewLinkTable' => 'approval_instance',
			'viewLinkLookup' => true 
		),
		'step_no' => array(
			'name' => 'step_no',
			'goodName' => 'step_no',
			'strField' => 'step_no',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'step_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'approval_action' 
		),
		'action_code' => array(
			'name' => 'action_code',
			'goodName' => 'action_code',
			'strField' => 'action_code',
			'index' => 4,
			'sqlExpression' => 'action_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'approval_action' 
		),
		'acted_by_platform_user_id' => array(
			'name' => 'acted_by_platform_user_id',
			'goodName' => 'acted_by_platform_user_id',
			'strField' => 'acted_by_platform_user_id',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'acted_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'approval_action' 
		),
		'comments' => array(
			'name' => 'comments',
			'goodName' => 'comments',
			'strField' => 'comments',
			'index' => 6,
			'type' => 201,
			'sqlExpression' => 'comments',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'approval_action' 
		),
		'acted_at' => array(
			'name' => 'acted_at',
			'goodName' => 'acted_at',
			'strField' => 'acted_at',
			'index' => 7,
			'type' => 135,
			'sqlExpression' => 'acted_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'approval_action' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'approval_instance',
			'detailsKeys' => array( 
				'approval_instance_id' 
			),
			'masterKeys' => array( 
				'id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	approval_instance_id,
	step_no,
	action_code,
	acted_by_platform_user_id,
	comments,
	acted_at
FROM
	approval_action',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'approval_action',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'approval_instance_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'approval_action',
					'name' => 'approval_instance_id' 
				),
				'encrypted' => false,
				'columnName' => 'approval_instance_id' 
			),
			array(
				'sql' => 'step_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'approval_action',
					'name' => 'step_no' 
				),
				'encrypted' => false,
				'columnName' => 'step_no' 
			),
			array(
				'sql' => 'action_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'approval_action',
					'name' => 'action_code' 
				),
				'encrypted' => false,
				'columnName' => 'action_code' 
			),
			array(
				'sql' => 'acted_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'approval_action',
					'name' => 'acted_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'acted_by_platform_user_id' 
			),
			array(
				'sql' => 'comments',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'approval_action',
					'name' => 'comments' 
				),
				'encrypted' => false,
				'columnName' => 'comments' 
			),
			array(
				'sql' => 'acted_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'approval_action',
					'name' => 'acted_at' 
				),
				'encrypted' => false,
				'columnName' => 'acted_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'approval_action',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'approval_action',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'approval_instance_id',
						'step_no',
						'action_code',
						'acted_by_platform_user_id',
						'comments',
						'acted_at' 
					),
					'name' => 'approval_action' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	approval_instance_id,
	step_no,
	action_code,
	acted_by_platform_user_id,
	comments,
	acted_at',
		'fromListSql' => 'FROM
	approval_action',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'approval_action',
	'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( 
			'id',
			'approval_instance_id',
			'step_no',
			'action_code',
			'acted_by_platform_user_id',
			'comments',
			'acted_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'approval_instance_id',
			'step_no',
			'action_code',
			'acted_by_platform_user_id',
			'comments',
			'acted_at' 
		) 
	),
	'connId' => 'conn1',
	'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['approval_action'] = array(
	'tableCaption' => 'Approval Action',
	'fieldLabels' => array(
		'id' => 'Id',
		'approval_instance_id' => 'Approval Instance Id',
		'step_no' => 'Step No',
		'action_code' => 'Action Code',
		'acted_by_platform_user_id' => 'Acted By Platform User Id',
		'comments' => 'Comments',
		'acted_at' => 'Acted At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'approval_instance_id' => '',
		'step_no' => '',
		'action_code' => '',
		'acted_by_platform_user_id' => '',
		'comments' => '',
		'acted_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'approval_instance_id' => '',
		'step_no' => '',
		'action_code' => '',
		'acted_by_platform_user_id' => '',
		'comments' => '',
		'acted_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>