<?php
global $runnerTableSettings;
$runnerTableSettings['vw_general_ledger_detail'] = array(
	'name' => 'vw_general_ledger_detail',
	'shortName' => 'vw_general_ledger_detail',
	'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_general_ledger_detail',
	'afterAddDetail' => 'vw_general_ledger_detail',
	'detailsBadgeColor' => 'daa520',
	'sql' => 'SELECT
	company_id,
	branch_id,
	accounting_period_id,
	journal_entry_id,
	journal_uuid,
	journal_no,
	journal_date,
	journal_type,
	source_transaction_type,
	source_transaction_uuid,
	journal_description,
	journal_detail_id,
	journal_detail_uuid,
	line_no,
	account_id,
	account_code,
	account_name,
	account_type,
	line_description,
	debit_amount,
	credit_amount,
	foreign_debit_amount,
	foreign_credit_amount,
	customer_id,
	department_id,
	cost_center_id,
	project_id,
	project_task_id,
	sales_agent_id,
	campaign_id
FROM
	vw_general_ledger_detail',
	'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_general_ledger_detail' 
		),
		'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_general_ledger_detail' 
		),
		'accounting_period_id' => array(
			'name' => 'accounting_period_id',
			'goodName' => 'accounting_period_id',
			'strField' => 'accounting_period_id',
			'index' => 3,
			'type' => 20,
			'sqlExpression' => 'accounting_period_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'journal_entry_id' => array(
			'name' => 'journal_entry_id',
			'goodName' => 'journal_entry_id',
			'strField' => 'journal_entry_id',
			'index' => 4,
			'type' => 20,
			'sqlExpression' => 'journal_entry_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'journal_uuid' => array(
			'name' => 'journal_uuid',
			'goodName' => 'journal_uuid',
			'strField' => 'journal_uuid',
			'index' => 5,
			'sqlExpression' => 'journal_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'journal_no' => array(
			'name' => 'journal_no',
			'goodName' => 'journal_no',
			'strField' => 'journal_no',
			'index' => 6,
			'sqlExpression' => 'journal_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'journal_date' => array(
			'name' => 'journal_date',
			'goodName' => 'journal_date',
			'strField' => 'journal_date',
			'index' => 7,
			'type' => 7,
			'sqlExpression' => 'journal_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'journal_type' => array(
			'name' => 'journal_type',
			'goodName' => 'journal_type',
			'strField' => 'journal_type',
			'index' => 8,
			'sqlExpression' => 'journal_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'source_transaction_type' => array(
			'name' => 'source_transaction_type',
			'goodName' => 'source_transaction_type',
			'strField' => 'source_transaction_type',
			'index' => 9,
			'sqlExpression' => 'source_transaction_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'source_transaction_uuid' => array(
			'name' => 'source_transaction_uuid',
			'goodName' => 'source_transaction_uuid',
			'strField' => 'source_transaction_uuid',
			'index' => 10,
			'sqlExpression' => 'source_transaction_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'journal_description' => array(
			'name' => 'journal_description',
			'goodName' => 'journal_description',
			'strField' => 'journal_description',
			'index' => 11,
			'sqlExpression' => 'journal_description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'journal_detail_id' => array(
			'name' => 'journal_detail_id',
			'goodName' => 'journal_detail_id',
			'strField' => 'journal_detail_id',
			'index' => 12,
			'type' => 20,
			'sqlExpression' => 'journal_detail_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'journal_detail_uuid' => array(
			'name' => 'journal_detail_uuid',
			'goodName' => 'journal_detail_uuid',
			'strField' => 'journal_detail_uuid',
			'index' => 13,
			'sqlExpression' => 'journal_detail_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'line_no' => array(
			'name' => 'line_no',
			'goodName' => 'line_no',
			'strField' => 'line_no',
			'index' => 14,
			'type' => 3,
			'sqlExpression' => 'line_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'account_id' => array(
			'name' => 'account_id',
			'goodName' => 'account_id',
			'strField' => 'account_id',
			'index' => 15,
			'type' => 20,
			'sqlExpression' => 'account_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'account_code' => array(
			'name' => 'account_code',
			'goodName' => 'account_code',
			'strField' => 'account_code',
			'index' => 16,
			'sqlExpression' => 'account_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'account_name' => array(
			'name' => 'account_name',
			'goodName' => 'account_name',
			'strField' => 'account_name',
			'index' => 17,
			'sqlExpression' => 'account_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'account_type' => array(
			'name' => 'account_type',
			'goodName' => 'account_type',
			'strField' => 'account_type',
			'index' => 18,
			'sqlExpression' => 'account_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'line_description' => array(
			'name' => 'line_description',
			'goodName' => 'line_description',
			'strField' => 'line_description',
			'index' => 19,
			'sqlExpression' => 'line_description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'debit_amount' => array(
			'name' => 'debit_amount',
			'goodName' => 'debit_amount',
			'strField' => 'debit_amount',
			'index' => 20,
			'type' => 14,
			'sqlExpression' => 'debit_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'credit_amount' => array(
			'name' => 'credit_amount',
			'goodName' => 'credit_amount',
			'strField' => 'credit_amount',
			'index' => 21,
			'type' => 14,
			'sqlExpression' => 'credit_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'foreign_debit_amount' => array(
			'name' => 'foreign_debit_amount',
			'goodName' => 'foreign_debit_amount',
			'strField' => 'foreign_debit_amount',
			'index' => 22,
			'type' => 14,
			'sqlExpression' => 'foreign_debit_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'foreign_credit_amount' => array(
			'name' => 'foreign_credit_amount',
			'goodName' => 'foreign_credit_amount',
			'strField' => 'foreign_credit_amount',
			'index' => 23,
			'type' => 14,
			'sqlExpression' => 'foreign_credit_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'customer_id' => array(
			'name' => 'customer_id',
			'goodName' => 'customer_id',
			'strField' => 'customer_id',
			'index' => 24,
			'type' => 20,
			'sqlExpression' => 'customer_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'department_id' => array(
			'name' => 'department_id',
			'goodName' => 'department_id',
			'strField' => 'department_id',
			'index' => 25,
			'type' => 20,
			'sqlExpression' => 'department_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'cost_center_id' => array(
			'name' => 'cost_center_id',
			'goodName' => 'cost_center_id',
			'strField' => 'cost_center_id',
			'index' => 26,
			'type' => 20,
			'sqlExpression' => 'cost_center_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'project_id' => array(
			'name' => 'project_id',
			'goodName' => 'project_id',
			'strField' => 'project_id',
			'index' => 27,
			'type' => 20,
			'sqlExpression' => 'project_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'project_task_id' => array(
			'name' => 'project_task_id',
			'goodName' => 'project_task_id',
			'strField' => 'project_task_id',
			'index' => 28,
			'type' => 20,
			'sqlExpression' => 'project_task_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'sales_agent_id' => array(
			'name' => 'sales_agent_id',
			'goodName' => 'sales_agent_id',
			'strField' => 'sales_agent_id',
			'index' => 29,
			'type' => 20,
			'sqlExpression' => 'sales_agent_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		),
		'campaign_id' => array(
			'name' => 'campaign_id',
			'goodName' => 'campaign_id',
			'strField' => 'campaign_id',
			'index' => 30,
			'type' => 20,
			'sqlExpression' => 'campaign_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_general_ledger_detail' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	company_id,
	branch_id,
	accounting_period_id,
	journal_entry_id,
	journal_uuid,
	journal_no,
	journal_date,
	journal_type,
	source_transaction_type,
	source_transaction_uuid,
	journal_description,
	journal_detail_id,
	journal_detail_uuid,
	line_no,
	account_id,
	account_code,
	account_name,
	account_type,
	line_description,
	debit_amount,
	credit_amount,
	foreign_debit_amount,
	foreign_credit_amount,
	customer_id,
	department_id,
	cost_center_id,
	project_id,
	project_task_id,
	sales_agent_id,
	campaign_id
FROM
	vw_general_ledger_detail',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'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_general_ledger_detail',
					'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_general_ledger_detail',
					'name' => 'accounting_period_id' 
				),
				'encrypted' => false,
				'columnName' => 'accounting_period_id' 
			),
			array(
				'sql' => 'journal_entry_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'journal_entry_id' 
				),
				'encrypted' => false,
				'columnName' => 'journal_entry_id' 
			),
			array(
				'sql' => 'journal_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'journal_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'journal_uuid' 
			),
			array(
				'sql' => 'journal_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'journal_no' 
				),
				'encrypted' => false,
				'columnName' => 'journal_no' 
			),
			array(
				'sql' => 'journal_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'journal_date' 
				),
				'encrypted' => false,
				'columnName' => 'journal_date' 
			),
			array(
				'sql' => 'journal_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'journal_type' 
				),
				'encrypted' => false,
				'columnName' => 'journal_type' 
			),
			array(
				'sql' => 'source_transaction_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'source_transaction_type' 
				),
				'encrypted' => false,
				'columnName' => 'source_transaction_type' 
			),
			array(
				'sql' => 'source_transaction_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'source_transaction_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'source_transaction_uuid' 
			),
			array(
				'sql' => 'journal_description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'journal_description' 
				),
				'encrypted' => false,
				'columnName' => 'journal_description' 
			),
			array(
				'sql' => 'journal_detail_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'journal_detail_id' 
				),
				'encrypted' => false,
				'columnName' => 'journal_detail_id' 
			),
			array(
				'sql' => 'journal_detail_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'journal_detail_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'journal_detail_uuid' 
			),
			array(
				'sql' => 'line_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'line_no' 
				),
				'encrypted' => false,
				'columnName' => 'line_no' 
			),
			array(
				'sql' => 'account_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'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_general_ledger_detail',
					'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_general_ledger_detail',
					'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_general_ledger_detail',
					'name' => 'account_type' 
				),
				'encrypted' => false,
				'columnName' => 'account_type' 
			),
			array(
				'sql' => 'line_description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'line_description' 
				),
				'encrypted' => false,
				'columnName' => 'line_description' 
			),
			array(
				'sql' => 'debit_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'debit_amount' 
				),
				'encrypted' => false,
				'columnName' => 'debit_amount' 
			),
			array(
				'sql' => 'credit_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'credit_amount' 
				),
				'encrypted' => false,
				'columnName' => 'credit_amount' 
			),
			array(
				'sql' => 'foreign_debit_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'foreign_debit_amount' 
				),
				'encrypted' => false,
				'columnName' => 'foreign_debit_amount' 
			),
			array(
				'sql' => 'foreign_credit_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'foreign_credit_amount' 
				),
				'encrypted' => false,
				'columnName' => 'foreign_credit_amount' 
			),
			array(
				'sql' => 'customer_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'customer_id' 
				),
				'encrypted' => false,
				'columnName' => 'customer_id' 
			),
			array(
				'sql' => 'department_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'department_id' 
				),
				'encrypted' => false,
				'columnName' => 'department_id' 
			),
			array(
				'sql' => 'cost_center_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'cost_center_id' 
				),
				'encrypted' => false,
				'columnName' => 'cost_center_id' 
			),
			array(
				'sql' => 'project_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'project_id' 
				),
				'encrypted' => false,
				'columnName' => 'project_id' 
			),
			array(
				'sql' => 'project_task_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'project_task_id' 
				),
				'encrypted' => false,
				'columnName' => 'project_task_id' 
			),
			array(
				'sql' => 'sales_agent_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'sales_agent_id' 
				),
				'encrypted' => false,
				'columnName' => 'sales_agent_id' 
			),
			array(
				'sql' => 'campaign_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_general_ledger_detail',
					'name' => 'campaign_id' 
				),
				'encrypted' => false,
				'columnName' => 'campaign_id' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_general_ledger_detail',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_general_ledger_detail',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'company_id',
						'branch_id',
						'accounting_period_id',
						'journal_entry_id',
						'journal_uuid',
						'journal_no',
						'journal_date',
						'journal_type',
						'source_transaction_type',
						'source_transaction_uuid',
						'journal_description',
						'journal_detail_id',
						'journal_detail_uuid',
						'line_no',
						'account_id',
						'account_code',
						'account_name',
						'account_type',
						'line_description',
						'debit_amount',
						'credit_amount',
						'foreign_debit_amount',
						'foreign_credit_amount',
						'customer_id',
						'department_id',
						'cost_center_id',
						'project_id',
						'project_task_id',
						'sales_agent_id',
						'campaign_id' 
					),
					'name' => 'vw_general_ledger_detail' 
				),
				'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 
			),
			array(
				'fieldIndex' => 15,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 16,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 17,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 18,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 19,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 20,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 21,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 22,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 23,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 24,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 25,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 26,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 27,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 28,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 29,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'company_id,
	branch_id,
	accounting_period_id,
	journal_entry_id,
	journal_uuid,
	journal_no,
	journal_date,
	journal_type,
	source_transaction_type,
	source_transaction_uuid,
	journal_description,
	journal_detail_id,
	journal_detail_uuid,
	line_no,
	account_id,
	account_code,
	account_name,
	account_type,
	line_description,
	debit_amount,
	credit_amount,
	foreign_debit_amount,
	foreign_credit_amount,
	customer_id,
	department_id,
	cost_center_id,
	project_id,
	project_task_id,
	sales_agent_id,
	campaign_id',
		'fromListSql' => 'FROM
	vw_general_ledger_detail',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_general_ledger_detail',
	'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',
			'accounting_period_id',
			'journal_entry_id',
			'journal_uuid',
			'journal_no',
			'journal_date',
			'journal_type',
			'source_transaction_type',
			'source_transaction_uuid',
			'journal_description',
			'journal_detail_id',
			'journal_detail_uuid',
			'line_no',
			'account_id',
			'account_code',
			'account_name',
			'account_type',
			'line_description',
			'debit_amount',
			'credit_amount',
			'foreign_debit_amount',
			'foreign_credit_amount',
			'customer_id',
			'department_id',
			'cost_center_id',
			'project_id',
			'project_task_id',
			'sales_agent_id',
			'campaign_id' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'company_id',
			'branch_id',
			'accounting_period_id',
			'journal_entry_id',
			'journal_uuid',
			'journal_no',
			'journal_date',
			'journal_type',
			'source_transaction_type',
			'source_transaction_uuid',
			'journal_description',
			'journal_detail_id',
			'journal_detail_uuid',
			'line_no',
			'account_id',
			'account_code',
			'account_name',
			'account_type',
			'line_description',
			'debit_amount',
			'credit_amount',
			'foreign_debit_amount',
			'foreign_credit_amount',
			'customer_id',
			'department_id',
			'cost_center_id',
			'project_id',
			'project_task_id',
			'sales_agent_id',
			'campaign_id' 
		) 
	),
	'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_general_ledger_detail'] = array(
	'tableCaption' => 'Vw General Ledger Detail',
	'fieldLabels' => array(
		'company_id' => 'Company Id',
		'branch_id' => 'Branch Id',
		'accounting_period_id' => 'Accounting Period Id',
		'journal_entry_id' => 'Journal Entry Id',
		'journal_uuid' => 'Journal Uuid',
		'journal_no' => 'Journal No',
		'journal_date' => 'Journal Date',
		'journal_type' => 'Journal Type',
		'source_transaction_type' => 'Source Transaction Type',
		'source_transaction_uuid' => 'Source Transaction Uuid',
		'journal_description' => 'Journal Description',
		'journal_detail_id' => 'Journal Detail Id',
		'journal_detail_uuid' => 'Journal Detail Uuid',
		'line_no' => 'Line No',
		'account_id' => 'Account Id',
		'account_code' => 'Account Code',
		'account_name' => 'Account Name',
		'account_type' => 'Account Type',
		'line_description' => 'Line Description',
		'debit_amount' => 'Debit Amount',
		'credit_amount' => 'Credit Amount',
		'foreign_debit_amount' => 'Foreign Debit Amount',
		'foreign_credit_amount' => 'Foreign Credit Amount',
		'customer_id' => 'Customer Id',
		'department_id' => 'Department Id',
		'cost_center_id' => 'Cost Center Id',
		'project_id' => 'Project Id',
		'project_task_id' => 'Project Task Id',
		'sales_agent_id' => 'Sales Agent Id',
		'campaign_id' => 'Campaign Id' 
	),
	'fieldTooltips' => array(
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'journal_entry_id' => '',
		'journal_uuid' => '',
		'journal_no' => '',
		'journal_date' => '',
		'journal_type' => '',
		'source_transaction_type' => '',
		'source_transaction_uuid' => '',
		'journal_description' => '',
		'journal_detail_id' => '',
		'journal_detail_uuid' => '',
		'line_no' => '',
		'account_id' => '',
		'account_code' => '',
		'account_name' => '',
		'account_type' => '',
		'line_description' => '',
		'debit_amount' => '',
		'credit_amount' => '',
		'foreign_debit_amount' => '',
		'foreign_credit_amount' => '',
		'customer_id' => '',
		'department_id' => '',
		'cost_center_id' => '',
		'project_id' => '',
		'project_task_id' => '',
		'sales_agent_id' => '',
		'campaign_id' => '' 
	),
	'fieldPlaceholders' => array(
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'journal_entry_id' => '',
		'journal_uuid' => '',
		'journal_no' => '',
		'journal_date' => '',
		'journal_type' => '',
		'source_transaction_type' => '',
		'source_transaction_uuid' => '',
		'journal_description' => '',
		'journal_detail_id' => '',
		'journal_detail_uuid' => '',
		'line_no' => '',
		'account_id' => '',
		'account_code' => '',
		'account_name' => '',
		'account_type' => '',
		'line_description' => '',
		'debit_amount' => '',
		'credit_amount' => '',
		'foreign_debit_amount' => '',
		'foreign_credit_amount' => '',
		'customer_id' => '',
		'department_id' => '',
		'cost_center_id' => '',
		'project_id' => '',
		'project_task_id' => '',
		'sales_agent_id' => '',
		'campaign_id' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>