<?php
global $runnerTableSettings;
$runnerTableSettings['vw_vat_summary'] = array(
	'name' => 'vw_vat_summary',
	'shortName' => 'vw_vat_summary',
	'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_vat_summary',
	'afterAddDetail' => 'vw_vat_summary',
	'detailsBadgeColor' => 'cd5c5c',
	'sql' => 'SELECT
	company_id,
	branch_id,
	tax_year,
	tax_quarter,
	tax_direction,
	report_classification_code,
	tax_base_amount,
	tax_amount,
	base_tax_base_amount,
	base_tax_amount
FROM
	vw_vat_summary',
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'company_id' => array(
			'name' => 'company_id',
			'goodName' => 'company_id',
			'strField' => 'company_id',
			'index' => 1,
			'type' => 20,
			'sqlExpression' => 'company_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_summary' 
		),
		'branch_id' => array(
			'name' => 'branch_id',
			'goodName' => 'branch_id',
			'strField' => 'branch_id',
			'index' => 2,
			'type' => 20,
			'sqlExpression' => 'branch_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_summary' 
		),
		'tax_year' => array(
			'name' => 'tax_year',
			'goodName' => 'tax_year',
			'strField' => 'tax_year',
			'index' => 3,
			'type' => 2,
			'sqlExpression' => 'tax_year',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_summary' 
		),
		'tax_quarter' => array(
			'name' => 'tax_quarter',
			'goodName' => 'tax_quarter',
			'strField' => 'tax_quarter',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'tax_quarter',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_summary' 
		),
		'tax_direction' => array(
			'name' => 'tax_direction',
			'goodName' => 'tax_direction',
			'strField' => 'tax_direction',
			'index' => 5,
			'sqlExpression' => 'tax_direction',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_summary' 
		),
		'report_classification_code' => array(
			'name' => 'report_classification_code',
			'goodName' => 'report_classification_code',
			'strField' => 'report_classification_code',
			'index' => 6,
			'sqlExpression' => 'report_classification_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_summary' 
		),
		'tax_base_amount' => array(
			'name' => 'tax_base_amount',
			'goodName' => 'tax_base_amount',
			'strField' => 'tax_base_amount',
			'index' => 7,
			'type' => 14,
			'sqlExpression' => 'tax_base_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_summary' 
		),
		'tax_amount' => array(
			'name' => 'tax_amount',
			'goodName' => 'tax_amount',
			'strField' => 'tax_amount',
			'index' => 8,
			'type' => 14,
			'sqlExpression' => 'tax_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_summary' 
		),
		'base_tax_base_amount' => array(
			'name' => 'base_tax_base_amount',
			'goodName' => 'base_tax_base_amount',
			'strField' => 'base_tax_base_amount',
			'index' => 9,
			'type' => 14,
			'sqlExpression' => 'base_tax_base_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_summary' 
		),
		'base_tax_amount' => array(
			'name' => 'base_tax_amount',
			'goodName' => 'base_tax_amount',
			'strField' => 'base_tax_amount',
			'index' => 10,
			'type' => 14,
			'sqlExpression' => 'base_tax_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_summary' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	company_id,
	branch_id,
	tax_year,
	tax_quarter,
	tax_direction,
	report_classification_code,
	tax_base_amount,
	tax_amount,
	base_tax_base_amount,
	base_tax_amount
FROM
	vw_vat_summary',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_summary',
					'name' => 'company_id' 
				),
				'encrypted' => false,
				'columnName' => 'company_id' 
			),
			array(
				'sql' => 'branch_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_summary',
					'name' => 'branch_id' 
				),
				'encrypted' => false,
				'columnName' => 'branch_id' 
			),
			array(
				'sql' => 'tax_year',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_summary',
					'name' => 'tax_year' 
				),
				'encrypted' => false,
				'columnName' => 'tax_year' 
			),
			array(
				'sql' => 'tax_quarter',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_summary',
					'name' => 'tax_quarter' 
				),
				'encrypted' => false,
				'columnName' => 'tax_quarter' 
			),
			array(
				'sql' => 'tax_direction',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_summary',
					'name' => 'tax_direction' 
				),
				'encrypted' => false,
				'columnName' => 'tax_direction' 
			),
			array(
				'sql' => 'report_classification_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_summary',
					'name' => 'report_classification_code' 
				),
				'encrypted' => false,
				'columnName' => 'report_classification_code' 
			),
			array(
				'sql' => 'tax_base_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_summary',
					'name' => 'tax_base_amount' 
				),
				'encrypted' => false,
				'columnName' => 'tax_base_amount' 
			),
			array(
				'sql' => 'tax_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_summary',
					'name' => 'tax_amount' 
				),
				'encrypted' => false,
				'columnName' => 'tax_amount' 
			),
			array(
				'sql' => 'base_tax_base_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_summary',
					'name' => 'base_tax_base_amount' 
				),
				'encrypted' => false,
				'columnName' => 'base_tax_base_amount' 
			),
			array(
				'sql' => 'base_tax_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_summary',
					'name' => 'base_tax_amount' 
				),
				'encrypted' => false,
				'columnName' => 'base_tax_amount' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_vat_summary',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_vat_summary',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'company_id',
						'branch_id',
						'tax_year',
						'tax_quarter',
						'tax_direction',
						'report_classification_code',
						'tax_base_amount',
						'tax_amount',
						'base_tax_base_amount',
						'base_tax_amount' 
					),
					'name' => 'vw_vat_summary' 
				),
				'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 
			),
			array(
				'fieldIndex' => 9,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'company_id,
	branch_id,
	tax_year,
	tax_quarter,
	tax_direction,
	report_classification_code,
	tax_base_amount,
	tax_amount,
	base_tax_base_amount,
	base_tax_amount',
		'fromListSql' => 'FROM
	vw_vat_summary',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_vat_summary',
	'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( 
			'company_id',
			'branch_id',
			'tax_year',
			'tax_quarter',
			'tax_direction',
			'report_classification_code',
			'tax_base_amount',
			'tax_amount',
			'base_tax_base_amount',
			'base_tax_amount' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'company_id',
			'branch_id',
			'tax_year',
			'tax_quarter',
			'tax_direction',
			'report_classification_code',
			'tax_base_amount',
			'tax_amount',
			'base_tax_base_amount',
			'base_tax_amount' 
		) 
	),
	'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_vat_summary'] = array(
	'tableCaption' => 'Vw Vat Summary',
	'fieldLabels' => array(
		'company_id' => 'Company Id',
		'branch_id' => 'Branch Id',
		'tax_year' => 'Tax Year',
		'tax_quarter' => 'Tax Quarter',
		'tax_direction' => 'Tax Direction',
		'report_classification_code' => 'Report Classification Code',
		'tax_base_amount' => 'Tax Base Amount',
		'tax_amount' => 'Tax Amount',
		'base_tax_base_amount' => 'Base Tax Base Amount',
		'base_tax_amount' => 'Base Tax Amount' 
	),
	'fieldTooltips' => array(
		'company_id' => '',
		'branch_id' => '',
		'tax_year' => '',
		'tax_quarter' => '',
		'tax_direction' => '',
		'report_classification_code' => '',
		'tax_base_amount' => '',
		'tax_amount' => '',
		'base_tax_base_amount' => '',
		'base_tax_amount' => '' 
	),
	'fieldPlaceholders' => array(
		'company_id' => '',
		'branch_id' => '',
		'tax_year' => '',
		'tax_quarter' => '',
		'tax_direction' => '',
		'report_classification_code' => '',
		'tax_base_amount' => '',
		'tax_amount' => '',
		'base_tax_base_amount' => '',
		'base_tax_amount' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>