<?php
global $runnerTableSettings;
$runnerTableSettings['vw_balance_sheet'] = array(
	'name' => 'vw_balance_sheet',
	'shortName' => 'vw_balance_sheet',
	'pagesByType' => array(
		'export' => array( 
			'export' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'view' => array( 
			'view' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'export' => 'export',
		'list' => 'list',
		'print' => 'print',
		'view' => 'view',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'export' => 'export',
		'list' => 'list',
		'print' => 'print',
		'view' => 'view',
		'search' => 'search' 
	),
	'afterEditDetails' => 'vw_balance_sheet',
	'afterAddDetail' => 'vw_balance_sheet',
	'detailsBadgeColor' => '7b68ee',
	'sql' => 'SELECT
	balance_sheet_id,
	company_id,
	branch_id,
	accounting_period_id,
	statement_section,
	section_order,
	account_id,
	account_code,
	account_name,
	account_type,
	account_subtype,
	reporting_group,
	total_debit,
	total_credit,
	amount
FROM
	vw_balance_sheet',
	'keyFields' => array( 
		'balance_sheet_id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'balance_sheet_id' => array(
			'name' => 'balance_sheet_id',
			'goodName' => 'balance_sheet_id',
			'strField' => 'balance_sheet_id',
			'index' => 1,
			'type' => 3,
			'sqlExpression' => 'balance_sheet_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'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_balance_sheet' 
		),
		'branch_id' => array(
			'name' => 'branch_id',
			'goodName' => 'branch_id',
			'strField' => 'branch_id',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'branch_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'accounting_period_id' => array(
			'name' => 'accounting_period_id',
			'goodName' => 'accounting_period_id',
			'strField' => 'accounting_period_id',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'accounting_period_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'statement_section' => array(
			'name' => 'statement_section',
			'goodName' => 'statement_section',
			'strField' => 'statement_section',
			'index' => 5,
			'sqlExpression' => 'statement_section',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'section_order' => array(
			'name' => 'section_order',
			'goodName' => 'section_order',
			'strField' => 'section_order',
			'index' => 6,
			'type' => 3,
			'sqlExpression' => 'section_order',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'account_id' => array(
			'name' => 'account_id',
			'goodName' => 'account_id',
			'strField' => 'account_id',
			'index' => 7,
			'type' => 14,
			'sqlExpression' => 'account_id',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'account_code' => array(
			'name' => 'account_code',
			'goodName' => 'account_code',
			'strField' => 'account_code',
			'index' => 8,
			'sqlExpression' => 'account_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'account_name' => array(
			'name' => 'account_name',
			'goodName' => 'account_name',
			'strField' => 'account_name',
			'index' => 9,
			'sqlExpression' => 'account_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'account_type' => array(
			'name' => 'account_type',
			'goodName' => 'account_type',
			'strField' => 'account_type',
			'index' => 10,
			'sqlExpression' => 'account_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'account_subtype' => array(
			'name' => 'account_subtype',
			'goodName' => 'account_subtype',
			'strField' => 'account_subtype',
			'index' => 11,
			'sqlExpression' => 'account_subtype',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'reporting_group' => array(
			'name' => 'reporting_group',
			'goodName' => 'reporting_group',
			'strField' => 'reporting_group',
			'index' => 12,
			'sqlExpression' => 'reporting_group',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'total_debit' => array(
			'name' => 'total_debit',
			'goodName' => 'total_debit',
			'strField' => 'total_debit',
			'index' => 13,
			'type' => 14,
			'sqlExpression' => 'total_debit',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'total_credit' => array(
			'name' => 'total_credit',
			'goodName' => 'total_credit',
			'strField' => 'total_credit',
			'index' => 14,
			'type' => 14,
			'sqlExpression' => 'total_credit',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		),
		'amount' => array(
			'name' => 'amount',
			'goodName' => 'amount',
			'strField' => 'amount',
			'index' => 15,
			'type' => 14,
			'sqlExpression' => 'amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_balance_sheet' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	balance_sheet_id,
	company_id,
	branch_id,
	accounting_period_id,
	statement_section,
	section_order,
	account_id,
	account_code,
	account_name,
	account_type,
	account_subtype,
	reporting_group,
	total_debit,
	total_credit,
	amount
FROM
	vw_balance_sheet',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'balance_sheet_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'balance_sheet_id' 
				),
				'encrypted' => false,
				'columnName' => 'balance_sheet_id' 
			),
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'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_balance_sheet',
					'name' => 'branch_id' 
				),
				'encrypted' => false,
				'columnName' => 'branch_id' 
			),
			array(
				'sql' => 'accounting_period_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'accounting_period_id' 
				),
				'encrypted' => false,
				'columnName' => 'accounting_period_id' 
			),
			array(
				'sql' => 'statement_section',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'statement_section' 
				),
				'encrypted' => false,
				'columnName' => 'statement_section' 
			),
			array(
				'sql' => 'section_order',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'section_order' 
				),
				'encrypted' => false,
				'columnName' => 'section_order' 
			),
			array(
				'sql' => 'account_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'account_id' 
				),
				'encrypted' => false,
				'columnName' => 'account_id' 
			),
			array(
				'sql' => 'account_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'account_code' 
				),
				'encrypted' => false,
				'columnName' => 'account_code' 
			),
			array(
				'sql' => 'account_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'account_name' 
				),
				'encrypted' => false,
				'columnName' => 'account_name' 
			),
			array(
				'sql' => 'account_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'account_type' 
				),
				'encrypted' => false,
				'columnName' => 'account_type' 
			),
			array(
				'sql' => 'account_subtype',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'account_subtype' 
				),
				'encrypted' => false,
				'columnName' => 'account_subtype' 
			),
			array(
				'sql' => 'reporting_group',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'reporting_group' 
				),
				'encrypted' => false,
				'columnName' => 'reporting_group' 
			),
			array(
				'sql' => 'total_debit',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'total_debit' 
				),
				'encrypted' => false,
				'columnName' => 'total_debit' 
			),
			array(
				'sql' => 'total_credit',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'total_credit' 
				),
				'encrypted' => false,
				'columnName' => 'total_credit' 
			),
			array(
				'sql' => 'amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_balance_sheet',
					'name' => 'amount' 
				),
				'encrypted' => false,
				'columnName' => 'amount' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_balance_sheet',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_balance_sheet',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'balance_sheet_id',
						'company_id',
						'branch_id',
						'accounting_period_id',
						'statement_section',
						'section_order',
						'account_id',
						'account_code',
						'account_name',
						'account_type',
						'account_subtype',
						'reporting_group',
						'total_debit',
						'total_credit',
						'amount' 
					),
					'name' => 'vw_balance_sheet' 
				),
				'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 
			),
			array(
				'fieldIndex' => 10,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 11,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 12,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 13,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 14,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'balance_sheet_id,
	company_id,
	branch_id,
	accounting_period_id,
	statement_section,
	section_order,
	account_id,
	account_code,
	account_name,
	account_type,
	account_subtype,
	reporting_group,
	total_debit,
	total_credit,
	amount',
		'fromListSql' => 'FROM
	vw_balance_sheet',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_balance_sheet',
	'originalPagesByType' => array(
		'export' => array( 
			'export' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'view' => array( 
			'view' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'export' => 'export',
		'list' => 'list',
		'print' => 'print',
		'view' => 'view',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'export' => 'export',
		'list' => 'list',
		'print' => 'print',
		'view' => 'view',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'balance_sheet_id',
			'company_id',
			'branch_id',
			'accounting_period_id',
			'statement_section',
			'section_order',
			'account_id',
			'account_code',
			'account_name',
			'account_type',
			'account_subtype',
			'reporting_group',
			'total_debit',
			'total_credit',
			'amount' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'balance_sheet_id',
			'company_id',
			'branch_id',
			'accounting_period_id',
			'statement_section',
			'section_order',
			'account_id',
			'account_code',
			'account_name',
			'account_type',
			'account_subtype',
			'reporting_group',
			'total_debit',
			'total_credit',
			'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_balance_sheet'] = array(
	'tableCaption' => 'Vw Balance Sheet',
	'fieldLabels' => array(
		'balance_sheet_id' => 'Balance Sheet Id',
		'company_id' => 'Company Id',
		'branch_id' => 'Branch Id',
		'accounting_period_id' => 'Accounting Period Id',
		'statement_section' => 'Statement Section',
		'section_order' => 'Section Order',
		'account_id' => 'Account Id',
		'account_code' => 'Account Code',
		'account_name' => 'Account Name',
		'account_type' => 'Account Type',
		'account_subtype' => 'Account Subtype',
		'reporting_group' => 'Reporting Group',
		'total_debit' => 'Total Debit',
		'total_credit' => 'Total Credit',
		'amount' => 'Amount' 
	),
	'fieldTooltips' => array(
		'balance_sheet_id' => '',
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'statement_section' => '',
		'section_order' => '',
		'account_id' => '',
		'account_code' => '',
		'account_name' => '',
		'account_type' => '',
		'account_subtype' => '',
		'reporting_group' => '',
		'total_debit' => '',
		'total_credit' => '',
		'amount' => '' 
	),
	'fieldPlaceholders' => array(
		'balance_sheet_id' => '',
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'statement_section' => '',
		'section_order' => '',
		'account_id' => '',
		'account_code' => '',
		'account_name' => '',
		'account_type' => '',
		'account_subtype' => '',
		'reporting_group' => '',
		'total_debit' => '',
		'total_credit' => '',
		'amount' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>