<?php
global $runnerTableSettings;
$runnerTableSettings['vw_ris_item_lookup'] = array(
	'name' => 'vw_ris_item_lookup',
	'shortName' => 'vw_ris_item_lookup',
	'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_ris_item_lookup',
	'afterAddDetail' => 'vw_ris_item_lookup',
	'detailsBadgeColor' => 'e07878',
	'sql' => 'SELECT
	item_id,
	sku,
	item_description,
	uom,
	item_display
FROM
	vw_ris_item_lookup',
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'item_id' => array(
			'name' => 'item_id',
			'goodName' => 'item_id',
			'strField' => 'item_id',
			'index' => 1,
			'type' => 3,
			'sqlExpression' => 'item_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'item',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'name' 
				) 
			),
			'tableName' => 'vw_ris_item_lookup',
			'viewLinkTable' => 'item',
			'viewLinkLookup' => true 
		),
		'sku' => array(
			'name' => 'sku',
			'goodName' => 'sku',
			'strField' => 'sku',
			'index' => 2,
			'sqlExpression' => 'sku',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ris_item_lookup' 
		),
		'item_description' => array(
			'name' => 'item_description',
			'goodName' => 'item_description',
			'strField' => 'item_description',
			'index' => 3,
			'sqlExpression' => 'item_description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ris_item_lookup' 
		),
		'uom' => array(
			'name' => 'uom',
			'goodName' => 'uom',
			'strField' => 'uom',
			'index' => 4,
			'sqlExpression' => 'uom',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ris_item_lookup' 
		),
		'item_display' => array(
			'name' => 'item_display',
			'goodName' => 'item_display',
			'strField' => 'item_display',
			'index' => 5,
			'sqlExpression' => 'item_display',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ris_item_lookup' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	item_id,
	sku,
	item_description,
	uom,
	item_display
FROM
	vw_ris_item_lookup',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'item_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ris_item_lookup',
					'name' => 'item_id' 
				),
				'encrypted' => false,
				'columnName' => 'item_id' 
			),
			array(
				'sql' => 'sku',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ris_item_lookup',
					'name' => 'sku' 
				),
				'encrypted' => false,
				'columnName' => 'sku' 
			),
			array(
				'sql' => 'item_description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ris_item_lookup',
					'name' => 'item_description' 
				),
				'encrypted' => false,
				'columnName' => 'item_description' 
			),
			array(
				'sql' => 'uom',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ris_item_lookup',
					'name' => 'uom' 
				),
				'encrypted' => false,
				'columnName' => 'uom' 
			),
			array(
				'sql' => 'item_display',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ris_item_lookup',
					'name' => 'item_display' 
				),
				'encrypted' => false,
				'columnName' => 'item_display' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_ris_item_lookup',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_ris_item_lookup',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'item_id',
						'sku',
						'item_description',
						'uom',
						'item_display' 
					),
					'name' => 'vw_ris_item_lookup' 
				),
				'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' => 'item_id,
	sku,
	item_description,
	uom,
	item_display',
		'fromListSql' => 'FROM
	vw_ris_item_lookup',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_ris_item_lookup',
	'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( 
			'item_id',
			'sku',
			'item_description',
			'uom',
			'item_display' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'item_id',
			'sku',
			'item_description',
			'uom',
			'item_display' 
		) 
	),
	'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['vw_ris_item_lookup'] = array(
	'tableCaption' => 'Vw Ris Item Lookup',
	'fieldLabels' => array(
		'item_id' => 'Item Id',
		'sku' => 'Sku',
		'item_description' => 'Item Description',
		'uom' => 'Uom',
		'item_display' => 'Item Display' 
	),
	'fieldTooltips' => array(
		'item_id' => '',
		'sku' => '',
		'item_description' => '',
		'uom' => '',
		'item_display' => '' 
	),
	'fieldPlaceholders' => array(
		'item_id' => '',
		'sku' => '',
		'item_description' => '',
		'uom' => '',
		'item_display' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>