<?php
global $runnerTableSettings;
$runnerTableSettings['journal_entry'] = array(
	'name' => 'journal_entry',
	'shortName' => 'journal_entry',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'afterEditDetails' => 'journal_entry',
	'afterAddDetail' => 'journal_entry',
	'detailsBadgeColor' => 'cd5c5c',
	'sql' => 'SELECT
	id,
	journal_uuid,
	company_id,
	branch_id,
	accounting_period_id,
	journal_no,
	journal_date,
	journal_type,
	source_transaction_type,
	source_transaction_id,
	source_transaction_uuid,
	currency_code,
	exchange_rate,
	description,
	total_debit,
	total_credit,
	approval_status,
	posting_status,
	created_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	posted_at
FROM
	journal_entry',
	'keyFields' => array( 
		'id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 20,
			'autoinc' => true,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'journal_uuid' => array(
			'name' => 'journal_uuid',
			'goodName' => 'journal_uuid',
			'strField' => 'journal_uuid',
			'index' => 2,
			'sqlExpression' => 'journal_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'company_id' => array(
			'name' => 'company_id',
			'goodName' => 'company_id',
			'strField' => 'company_id',
			'index' => 3,
			'type' => 20,
			'sqlExpression' => 'company_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'branch_id' => array(
			'name' => 'branch_id',
			'goodName' => 'branch_id',
			'strField' => 'branch_id',
			'index' => 4,
			'type' => 20,
			'sqlExpression' => 'branch_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'branch',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'branch_name',
					'lookupOrderBy' => 'branch_name' 
				) 
			),
			'tableName' => 'journal_entry',
			'viewLinkTable' => 'branch',
			'viewLinkLookup' => true 
		),
		'accounting_period_id' => array(
			'name' => 'accounting_period_id',
			'goodName' => 'accounting_period_id',
			'strField' => 'accounting_period_id',
			'index' => 5,
			'type' => 20,
			'sqlExpression' => 'accounting_period_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'accounting_period',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'period_name',
					'lookupOrderBy' => 'period_name' 
				) 
			),
			'tableName' => 'journal_entry',
			'viewLinkTable' => 'accounting_period',
			'viewLinkLookup' => true 
		),
		'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' => 'journal_entry' 
		),
		'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' => 'journal_entry' 
		),
		'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' => 'journal_entry' 
		),
		'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' => 'journal_entry' 
		),
		'source_transaction_id' => array(
			'name' => 'source_transaction_id',
			'goodName' => 'source_transaction_id',
			'strField' => 'source_transaction_id',
			'index' => 10,
			'type' => 20,
			'sqlExpression' => 'source_transaction_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'source_transaction_uuid' => array(
			'name' => 'source_transaction_uuid',
			'goodName' => 'source_transaction_uuid',
			'strField' => 'source_transaction_uuid',
			'index' => 11,
			'sqlExpression' => 'source_transaction_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'currency_code' => array(
			'name' => 'currency_code',
			'goodName' => 'currency_code',
			'strField' => 'currency_code',
			'index' => 12,
			'sqlExpression' => 'currency_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupTable' => 'currency',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'currency_code',
					'lookupDisplayField' => 'currency_code',
					'lookupOrderBy' => 'currency_code' 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'exchange_rate' => array(
			'name' => 'exchange_rate',
			'goodName' => 'exchange_rate',
			'strField' => 'exchange_rate',
			'index' => 13,
			'type' => 14,
			'sqlExpression' => 'exchange_rate',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'defaultValue' => '1' 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'description' => array(
			'name' => 'description',
			'goodName' => 'description',
			'strField' => 'description',
			'index' => 14,
			'sqlExpression' => 'description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'total_debit' => array(
			'name' => 'total_debit',
			'goodName' => 'total_debit',
			'strField' => 'total_debit',
			'index' => 15,
			'type' => 14,
			'sqlExpression' => 'total_debit',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'total_credit' => array(
			'name' => 'total_credit',
			'goodName' => 'total_credit',
			'strField' => 'total_credit',
			'index' => 16,
			'type' => 14,
			'sqlExpression' => 'total_credit',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'approval_status' => array(
			'name' => 'approval_status',
			'goodName' => 'approval_status',
			'strField' => 'approval_status',
			'index' => 17,
			'sqlExpression' => 'approval_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly' 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'posting_status' => array(
			'name' => 'posting_status',
			'goodName' => 'posting_status',
			'strField' => 'posting_status',
			'index' => 18,
			'sqlExpression' => 'posting_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly' 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'created_by_platform_user_id' => array(
			'name' => 'created_by_platform_user_id',
			'goodName' => 'created_by_platform_user_id',
			'strField' => 'created_by_platform_user_id',
			'index' => 19,
			'type' => 20,
			'sqlExpression' => 'created_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'posted_by_platform_user_id' => array(
			'name' => 'posted_by_platform_user_id',
			'goodName' => 'posted_by_platform_user_id',
			'strField' => 'posted_by_platform_user_id',
			'index' => 20,
			'type' => 20,
			'sqlExpression' => 'posted_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 21,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'journal_entry' 
		),
		'posted_at' => array(
			'name' => 'posted_at',
			'goodName' => 'posted_at',
			'strField' => 'posted_at',
			'index' => 22,
			'type' => 135,
			'sqlExpression' => 'posted_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'journal_entry' 
		) 
	),
	'detailsTables' => array( 
		'journal_entry_detail' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	journal_uuid,
	company_id,
	branch_id,
	accounting_period_id,
	journal_no,
	journal_date,
	journal_type,
	source_transaction_type,
	source_transaction_id,
	source_transaction_uuid,
	currency_code,
	exchange_rate,
	description,
	total_debit,
	total_credit,
	approval_status,
	posting_status,
	created_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	posted_at
FROM
	journal_entry',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'journal_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'journal_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'journal_uuid' 
			),
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'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' => 'journal_entry',
					'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' => 'journal_entry',
					'name' => 'accounting_period_id' 
				),
				'encrypted' => false,
				'columnName' => 'accounting_period_id' 
			),
			array(
				'sql' => 'journal_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'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' => 'journal_entry',
					'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' => 'journal_entry',
					'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' => 'journal_entry',
					'name' => 'source_transaction_type' 
				),
				'encrypted' => false,
				'columnName' => 'source_transaction_type' 
			),
			array(
				'sql' => 'source_transaction_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'source_transaction_id' 
				),
				'encrypted' => false,
				'columnName' => 'source_transaction_id' 
			),
			array(
				'sql' => 'source_transaction_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'source_transaction_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'source_transaction_uuid' 
			),
			array(
				'sql' => 'currency_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'currency_code' 
				),
				'encrypted' => false,
				'columnName' => 'currency_code' 
			),
			array(
				'sql' => 'exchange_rate',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'exchange_rate' 
				),
				'encrypted' => false,
				'columnName' => 'exchange_rate' 
			),
			array(
				'sql' => 'description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'description' 
				),
				'encrypted' => false,
				'columnName' => 'description' 
			),
			array(
				'sql' => 'total_debit',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'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' => 'journal_entry',
					'name' => 'total_credit' 
				),
				'encrypted' => false,
				'columnName' => 'total_credit' 
			),
			array(
				'sql' => 'approval_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'approval_status' 
				),
				'encrypted' => false,
				'columnName' => 'approval_status' 
			),
			array(
				'sql' => 'posting_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'posting_status' 
				),
				'encrypted' => false,
				'columnName' => 'posting_status' 
			),
			array(
				'sql' => 'created_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'created_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'created_by_platform_user_id' 
			),
			array(
				'sql' => 'posted_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'posted_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'posted_by_platform_user_id' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			),
			array(
				'sql' => 'posted_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'journal_entry',
					'name' => 'posted_at' 
				),
				'encrypted' => false,
				'columnName' => 'posted_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'journal_entry',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'journal_entry',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'journal_uuid',
						'company_id',
						'branch_id',
						'accounting_period_id',
						'journal_no',
						'journal_date',
						'journal_type',
						'source_transaction_type',
						'source_transaction_id',
						'source_transaction_uuid',
						'currency_code',
						'exchange_rate',
						'description',
						'total_debit',
						'total_credit',
						'approval_status',
						'posting_status',
						'created_by_platform_user_id',
						'posted_by_platform_user_id',
						'created_at',
						'posted_at' 
					),
					'name' => 'journal_entry' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	journal_uuid,
	company_id,
	branch_id,
	accounting_period_id,
	journal_no,
	journal_date,
	journal_type,
	source_transaction_type,
	source_transaction_id,
	source_transaction_uuid,
	currency_code,
	exchange_rate,
	description,
	total_debit,
	total_credit,
	approval_status,
	posting_status,
	created_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	posted_at',
		'fromListSql' => 'FROM
	journal_entry',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'hasJsEvents' => true,
	'originalTable' => 'journal_entry',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'journal_uuid',
			'company_id',
			'branch_id',
			'accounting_period_id',
			'journal_no',
			'journal_date',
			'journal_type',
			'source_transaction_type',
			'source_transaction_id',
			'source_transaction_uuid',
			'currency_code',
			'exchange_rate',
			'description',
			'total_debit',
			'total_credit',
			'approval_status',
			'posting_status',
			'created_by_platform_user_id',
			'posted_by_platform_user_id',
			'created_at',
			'posted_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'journal_uuid',
			'company_id',
			'branch_id',
			'accounting_period_id',
			'journal_no',
			'journal_date',
			'journal_type',
			'source_transaction_type',
			'source_transaction_id',
			'source_transaction_uuid',
			'currency_code',
			'exchange_rate',
			'description',
			'total_debit',
			'total_credit',
			'approval_status',
			'posting_status',
			'created_by_platform_user_id',
			'posted_by_platform_user_id',
			'created_at',
			'posted_at' 
		) 
	),
	'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['journal_entry'] = array(
	'tableCaption' => 'Journal Entry',
	'fieldLabels' => array(
		'id' => 'Id',
		'journal_uuid' => 'Journal Uuid',
		'company_id' => 'Company Id',
		'branch_id' => 'Branch',
		'accounting_period_id' => 'Accounting Period',
		'journal_no' => 'Journal No',
		'journal_date' => 'Journal Date',
		'journal_type' => 'Journal Type',
		'source_transaction_type' => 'Source Transaction Type',
		'source_transaction_id' => 'Source Transaction Id',
		'source_transaction_uuid' => 'Source Transaction Uuid',
		'currency_code' => 'Currency Code',
		'exchange_rate' => 'Exchange Rate',
		'description' => 'Description',
		'total_debit' => 'Total Debit',
		'total_credit' => 'Total Credit',
		'approval_status' => 'Approval Status',
		'posting_status' => 'Posting Status',
		'created_by_platform_user_id' => 'Created By Platform User Id',
		'posted_by_platform_user_id' => 'Posted By Platform User Id',
		'created_at' => 'Created At',
		'posted_at' => 'Posted At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'journal_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'journal_no' => '',
		'journal_date' => '',
		'journal_type' => '',
		'source_transaction_type' => '',
		'source_transaction_id' => '',
		'source_transaction_uuid' => '',
		'currency_code' => '',
		'exchange_rate' => '',
		'description' => '',
		'total_debit' => '',
		'total_credit' => '',
		'approval_status' => '',
		'posting_status' => '',
		'created_by_platform_user_id' => '',
		'posted_by_platform_user_id' => '',
		'created_at' => '',
		'posted_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'journal_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'journal_no' => '',
		'journal_date' => '',
		'journal_type' => '',
		'source_transaction_type' => '',
		'source_transaction_id' => '',
		'source_transaction_uuid' => '',
		'currency_code' => '',
		'exchange_rate' => '',
		'description' => '',
		'total_debit' => '',
		'total_credit' => '',
		'approval_status' => '',
		'posting_status' => '',
		'created_by_platform_user_id' => '',
		'posted_by_platform_user_id' => '',
		'created_at' => '',
		'posted_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>