<?php
global $runnerTableSettings;
$runnerTableSettings['vw_withholding_summary'] = array(
	'name' => 'vw_withholding_summary',
	'shortName' => 'vw_withholding_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_withholding_summary',
	'afterAddDetail' => 'vw_withholding_summary',
	'detailsBadgeColor' => '6b8e23',
	'sql' => 'SELECT
	company_id,
	branch_id,
	tax_year,
	tax_month,
	tax_direction,
	atc_code_snapshot,
	party_tin_snapshot,
	party_name_snapshot,
	income_payment_amount,
	tax_withheld_amount
FROM
	vw_withholding_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_withholding_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_withholding_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_withholding_summary' 
		),
		'tax_month' => array(
			'name' => 'tax_month',
			'goodName' => 'tax_month',
			'strField' => 'tax_month',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'tax_month',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_withholding_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_withholding_summary' 
		),
		'atc_code_snapshot' => array(
			'name' => 'atc_code_snapshot',
			'goodName' => 'atc_code_snapshot',
			'strField' => 'atc_code_snapshot',
			'index' => 6,
			'sqlExpression' => 'atc_code_snapshot',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_withholding_summary' 
		),
		'party_tin_snapshot' => array(
			'name' => 'party_tin_snapshot',
			'goodName' => 'party_tin_snapshot',
			'strField' => 'party_tin_snapshot',
			'index' => 7,
			'sqlExpression' => 'party_tin_snapshot',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_withholding_summary' 
		),
		'party_name_snapshot' => array(
			'name' => 'party_name_snapshot',
			'goodName' => 'party_name_snapshot',
			'strField' => 'party_name_snapshot',
			'index' => 8,
			'sqlExpression' => 'party_name_snapshot',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_withholding_summary' 
		),
		'income_payment_amount' => array(
			'name' => 'income_payment_amount',
			'goodName' => 'income_payment_amount',
			'strField' => 'income_payment_amount',
			'index' => 9,
			'type' => 14,
			'sqlExpression' => 'income_payment_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_withholding_summary' 
		),
		'tax_withheld_amount' => array(
			'name' => 'tax_withheld_amount',
			'goodName' => 'tax_withheld_amount',
			'strField' => 'tax_withheld_amount',
			'index' => 10,
			'type' => 14,
			'sqlExpression' => 'tax_withheld_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_withholding_summary' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	company_id,
	branch_id,
	tax_year,
	tax_month,
	tax_direction,
	atc_code_snapshot,
	party_tin_snapshot,
	party_name_snapshot,
	income_payment_amount,
	tax_withheld_amount
FROM
	vw_withholding_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_withholding_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_withholding_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_withholding_summary',
					'name' => 'tax_year' 
				),
				'encrypted' => false,
				'columnName' => 'tax_year' 
			),
			array(
				'sql' => 'tax_month',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_withholding_summary',
					'name' => 'tax_month' 
				),
				'encrypted' => false,
				'columnName' => 'tax_month' 
			),
			array(
				'sql' => 'tax_direction',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_withholding_summary',
					'name' => 'tax_direction' 
				),
				'encrypted' => false,
				'columnName' => 'tax_direction' 
			),
			array(
				'sql' => 'atc_code_snapshot',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_withholding_summary',
					'name' => 'atc_code_snapshot' 
				),
				'encrypted' => false,
				'columnName' => 'atc_code_snapshot' 
			),
			array(
				'sql' => 'party_tin_snapshot',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_withholding_summary',
					'name' => 'party_tin_snapshot' 
				),
				'encrypted' => false,
				'columnName' => 'party_tin_snapshot' 
			),
			array(
				'sql' => 'party_name_snapshot',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_withholding_summary',
					'name' => 'party_name_snapshot' 
				),
				'encrypted' => false,
				'columnName' => 'party_name_snapshot' 
			),
			array(
				'sql' => 'income_payment_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_withholding_summary',
					'name' => 'income_payment_amount' 
				),
				'encrypted' => false,
				'columnName' => 'income_payment_amount' 
			),
			array(
				'sql' => 'tax_withheld_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_withholding_summary',
					'name' => 'tax_withheld_amount' 
				),
				'encrypted' => false,
				'columnName' => 'tax_withheld_amount' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_withholding_summary',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_withholding_summary',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'company_id',
						'branch_id',
						'tax_year',
						'tax_month',
						'tax_direction',
						'atc_code_snapshot',
						'party_tin_snapshot',
						'party_name_snapshot',
						'income_payment_amount',
						'tax_withheld_amount' 
					),
					'name' => 'vw_withholding_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_month,
	tax_direction,
	atc_code_snapshot,
	party_tin_snapshot,
	party_name_snapshot,
	income_payment_amount,
	tax_withheld_amount',
		'fromListSql' => 'FROM
	vw_withholding_summary',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_withholding_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_month',
			'tax_direction',
			'atc_code_snapshot',
			'party_tin_snapshot',
			'party_name_snapshot',
			'income_payment_amount',
			'tax_withheld_amount' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'company_id',
			'branch_id',
			'tax_year',
			'tax_month',
			'tax_direction',
			'atc_code_snapshot',
			'party_tin_snapshot',
			'party_name_snapshot',
			'income_payment_amount',
			'tax_withheld_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_withholding_summary'] = array(
	'tableCaption' => 'Vw Withholding Summary',
	'fieldLabels' => array(
		'company_id' => 'Company Id',
		'branch_id' => 'Branch Id',
		'tax_year' => 'Tax Year',
		'tax_month' => 'Tax Month',
		'tax_direction' => 'Tax Direction',
		'atc_code_snapshot' => 'Atc Code Snapshot',
		'party_tin_snapshot' => 'Party Tin Snapshot',
		'party_name_snapshot' => 'Party Name Snapshot',
		'income_payment_amount' => 'Income Payment Amount',
		'tax_withheld_amount' => 'Tax Withheld Amount' 
	),
	'fieldTooltips' => array(
		'company_id' => '',
		'branch_id' => '',
		'tax_year' => '',
		'tax_month' => '',
		'tax_direction' => '',
		'atc_code_snapshot' => '',
		'party_tin_snapshot' => '',
		'party_name_snapshot' => '',
		'income_payment_amount' => '',
		'tax_withheld_amount' => '' 
	),
	'fieldPlaceholders' => array(
		'company_id' => '',
		'branch_id' => '',
		'tax_year' => '',
		'tax_month' => '',
		'tax_direction' => '',
		'atc_code_snapshot' => '',
		'party_tin_snapshot' => '',
		'party_name_snapshot' => '',
		'income_payment_amount' => '',
		'tax_withheld_amount' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>