<?php
global $runnerTableSettings;
$runnerTableSettings['vw_user_company_access'] = array(
	'name' => 'vw_user_company_access',
	'shortName' => 'vw_user_company_access',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditDetails' => 'vw_user_company_access',
	'afterAddDetail' => 'vw_user_company_access',
	'detailsBadgeColor' => 'e8926f',
	'sql' => 'SELECT
	platform_user_id,
	company_id,
	company_code,
	registered_name,
	branch_id,
	branch_code,
	branch_name,
	is_default_company,
	access_status
FROM
	vw_user_company_access',
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'platform_user_id' => array(
			'name' => 'platform_user_id',
			'goodName' => 'platform_user_id',
			'strField' => 'platform_user_id',
			'index' => 1,
			'type' => 3,
			'sqlExpression' => 'platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_company_access' 
		),
		'company_id' => array(
			'name' => 'company_id',
			'goodName' => 'company_id',
			'strField' => 'company_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'company_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_company_access' 
		),
		'company_code' => array(
			'name' => 'company_code',
			'goodName' => 'company_code',
			'strField' => 'company_code',
			'index' => 3,
			'sqlExpression' => 'company_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_company_access' 
		),
		'registered_name' => array(
			'name' => 'registered_name',
			'goodName' => 'registered_name',
			'strField' => 'registered_name',
			'index' => 4,
			'sqlExpression' => 'registered_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_company_access' 
		),
		'branch_id' => array(
			'name' => 'branch_id',
			'goodName' => 'branch_id',
			'strField' => 'branch_id',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'branch_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_company_access' 
		),
		'branch_code' => array(
			'name' => 'branch_code',
			'goodName' => 'branch_code',
			'strField' => 'branch_code',
			'index' => 6,
			'sqlExpression' => 'branch_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_company_access' 
		),
		'branch_name' => array(
			'name' => 'branch_name',
			'goodName' => 'branch_name',
			'strField' => 'branch_name',
			'index' => 7,
			'sqlExpression' => 'branch_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_company_access' 
		),
		'is_default_company' => array(
			'name' => 'is_default_company',
			'goodName' => 'is_default_company',
			'strField' => 'is_default_company',
			'index' => 8,
			'type' => 2,
			'sqlExpression' => 'is_default_company',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_company_access' 
		),
		'access_status' => array(
			'name' => 'access_status',
			'goodName' => 'access_status',
			'strField' => 'access_status',
			'index' => 9,
			'sqlExpression' => 'access_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_user_company_access' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	platform_user_id,
	company_id,
	company_code,
	registered_name,
	branch_id,
	branch_code,
	branch_name,
	is_default_company,
	access_status
FROM
	vw_user_company_access',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_company_access',
					'name' => 'platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'platform_user_id' 
			),
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_company_access',
					'name' => 'company_id' 
				),
				'encrypted' => false,
				'columnName' => 'company_id' 
			),
			array(
				'sql' => 'company_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_company_access',
					'name' => 'company_code' 
				),
				'encrypted' => false,
				'columnName' => 'company_code' 
			),
			array(
				'sql' => 'registered_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_company_access',
					'name' => 'registered_name' 
				),
				'encrypted' => false,
				'columnName' => 'registered_name' 
			),
			array(
				'sql' => 'branch_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_company_access',
					'name' => 'branch_id' 
				),
				'encrypted' => false,
				'columnName' => 'branch_id' 
			),
			array(
				'sql' => 'branch_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_company_access',
					'name' => 'branch_code' 
				),
				'encrypted' => false,
				'columnName' => 'branch_code' 
			),
			array(
				'sql' => 'branch_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_company_access',
					'name' => 'branch_name' 
				),
				'encrypted' => false,
				'columnName' => 'branch_name' 
			),
			array(
				'sql' => 'is_default_company',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_company_access',
					'name' => 'is_default_company' 
				),
				'encrypted' => false,
				'columnName' => 'is_default_company' 
			),
			array(
				'sql' => 'access_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_user_company_access',
					'name' => 'access_status' 
				),
				'encrypted' => false,
				'columnName' => 'access_status' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_user_company_access',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_user_company_access',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'platform_user_id',
						'company_id',
						'company_code',
						'registered_name',
						'branch_id',
						'branch_code',
						'branch_name',
						'is_default_company',
						'access_status' 
					),
					'name' => 'vw_user_company_access' 
				),
				'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' => 'platform_user_id,
	company_id,
	company_code,
	registered_name,
	branch_id,
	branch_code,
	branch_name,
	is_default_company,
	access_status',
		'fromListSql' => 'FROM
	vw_user_company_access',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_user_company_access',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'platform_user_id',
			'company_id',
			'company_code',
			'registered_name',
			'branch_id',
			'branch_code',
			'branch_name',
			'is_default_company',
			'access_status' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'platform_user_id',
			'company_id',
			'company_code',
			'registered_name',
			'branch_id',
			'branch_code',
			'branch_name',
			'is_default_company',
			'access_status' 
		) 
	),
	'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['vw_user_company_access'] = array(
	'tableCaption' => 'Vw User Company Access',
	'fieldLabels' => array(
		'platform_user_id' => 'Platform User Id',
		'company_id' => 'Company Id',
		'company_code' => 'Company Code',
		'registered_name' => 'Registered Name',
		'branch_id' => 'Branch Id',
		'branch_code' => 'Branch Code',
		'branch_name' => 'Branch Name',
		'is_default_company' => 'Is Default Company',
		'access_status' => 'Access Status' 
	),
	'fieldTooltips' => array(
		'platform_user_id' => '',
		'company_id' => '',
		'company_code' => '',
		'registered_name' => '',
		'branch_id' => '',
		'branch_code' => '',
		'branch_name' => '',
		'is_default_company' => '',
		'access_status' => '' 
	),
	'fieldPlaceholders' => array(
		'platform_user_id' => '',
		'company_id' => '',
		'company_code' => '',
		'registered_name' => '',
		'branch_id' => '',
		'branch_code' => '',
		'branch_name' => '',
		'is_default_company' => '',
		'access_status' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>