<?php
global $runnerTableSettings;
$runnerTableSettings['vw_ar_aging'] = array(
	'name' => 'vw_ar_aging',
	'shortName' => 'vw_ar_aging',
	'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_ar_aging',
	'afterAddDetail' => 'vw_ar_aging',
	'detailsBadgeColor' => 'dc143c',
	'sql' => 'SELECT
	ar_aging_id,
	company_id,
	branch_id,
	accounting_period_id,
	sales_id,
	sales_uuid,
	document_no,
	transaction_date,
	due_date,
	customer_id,
	customer_name,
	customer_tin_snapshot,
	currency_code,
	exchange_rate,
	invoice_amount,
	applied_amount,
	outstanding_amount,
	days_overdue,
	current_amount,
	days_1_30,
	days_31_60,
	days_61_90,
	over_90,
	document_status,
	posting_status
FROM
	vw_ar_aging',
	'keyFields' => array( 
		'ar_aging_id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'sales_uuid' => array(
			'name' => 'sales_uuid',
			'goodName' => 'sales_uuid',
			'strField' => 'sales_uuid',
			'index' => 6,
			'type' => 129,
			'sqlExpression' => 'sales_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'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_ar_aging' 
		),
		'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_ar_aging' 
		),
		'document_no' => array(
			'name' => 'document_no',
			'goodName' => 'document_no',
			'strField' => 'document_no',
			'index' => 7,
			'sqlExpression' => 'document_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'transaction_date' => array(
			'name' => 'transaction_date',
			'goodName' => 'transaction_date',
			'strField' => 'transaction_date',
			'index' => 8,
			'type' => 7,
			'sqlExpression' => 'transaction_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'due_date' => array(
			'name' => 'due_date',
			'goodName' => 'due_date',
			'strField' => 'due_date',
			'index' => 9,
			'type' => 7,
			'sqlExpression' => 'due_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'customer_id' => array(
			'name' => 'customer_id',
			'goodName' => 'customer_id',
			'strField' => 'customer_id',
			'index' => 10,
			'type' => 3,
			'sqlExpression' => 'customer_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'currency_code' => array(
			'name' => 'currency_code',
			'goodName' => 'currency_code',
			'strField' => 'currency_code',
			'index' => 13,
			'type' => 129,
			'sqlExpression' => 'currency_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'ar_aging_id' => array(
			'name' => 'ar_aging_id',
			'goodName' => 'ar_aging_id',
			'strField' => 'ar_aging_id',
			'index' => 1,
			'type' => 3,
			'sqlExpression' => 'ar_aging_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'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_ar_aging' 
		),
		'sales_id' => array(
			'name' => 'sales_id',
			'goodName' => 'sales_id',
			'strField' => 'sales_id',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'sales_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'customer_name' => array(
			'name' => 'customer_name',
			'goodName' => 'customer_name',
			'strField' => 'customer_name',
			'index' => 11,
			'sqlExpression' => 'customer_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'customer_tin_snapshot' => array(
			'name' => 'customer_tin_snapshot',
			'goodName' => 'customer_tin_snapshot',
			'strField' => 'customer_tin_snapshot',
			'index' => 12,
			'sqlExpression' => 'customer_tin_snapshot',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'exchange_rate' => array(
			'name' => 'exchange_rate',
			'goodName' => 'exchange_rate',
			'strField' => 'exchange_rate',
			'index' => 14,
			'type' => 14,
			'sqlExpression' => 'exchange_rate',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'invoice_amount' => array(
			'name' => 'invoice_amount',
			'goodName' => 'invoice_amount',
			'strField' => 'invoice_amount',
			'index' => 15,
			'type' => 14,
			'sqlExpression' => 'invoice_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'applied_amount' => array(
			'name' => 'applied_amount',
			'goodName' => 'applied_amount',
			'strField' => 'applied_amount',
			'index' => 16,
			'type' => 14,
			'sqlExpression' => 'applied_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'outstanding_amount' => array(
			'name' => 'outstanding_amount',
			'goodName' => 'outstanding_amount',
			'strField' => 'outstanding_amount',
			'index' => 17,
			'type' => 14,
			'sqlExpression' => 'outstanding_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'days_overdue' => array(
			'name' => 'days_overdue',
			'goodName' => 'days_overdue',
			'strField' => 'days_overdue',
			'index' => 18,
			'type' => 3,
			'sqlExpression' => 'days_overdue',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'current_amount' => array(
			'name' => 'current_amount',
			'goodName' => 'current_amount',
			'strField' => 'current_amount',
			'index' => 19,
			'type' => 14,
			'sqlExpression' => 'current_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'days_1_30' => array(
			'name' => 'days_1_30',
			'goodName' => 'days_1_30',
			'strField' => 'days_1_30',
			'index' => 20,
			'type' => 14,
			'sqlExpression' => 'days_1_30',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'days_31_60' => array(
			'name' => 'days_31_60',
			'goodName' => 'days_31_60',
			'strField' => 'days_31_60',
			'index' => 21,
			'type' => 14,
			'sqlExpression' => 'days_31_60',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'days_61_90' => array(
			'name' => 'days_61_90',
			'goodName' => 'days_61_90',
			'strField' => 'days_61_90',
			'index' => 22,
			'type' => 14,
			'sqlExpression' => 'days_61_90',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'over_90' => array(
			'name' => 'over_90',
			'goodName' => 'over_90',
			'strField' => 'over_90',
			'index' => 23,
			'type' => 14,
			'sqlExpression' => 'over_90',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'document_status' => array(
			'name' => 'document_status',
			'goodName' => 'document_status',
			'strField' => 'document_status',
			'index' => 24,
			'sqlExpression' => 'document_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		),
		'posting_status' => array(
			'name' => 'posting_status',
			'goodName' => 'posting_status',
			'strField' => 'posting_status',
			'index' => 25,
			'sqlExpression' => 'posting_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ar_aging' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	ar_aging_id,
	company_id,
	branch_id,
	accounting_period_id,
	sales_id,
	sales_uuid,
	document_no,
	transaction_date,
	due_date,
	customer_id,
	customer_name,
	customer_tin_snapshot,
	currency_code,
	exchange_rate,
	invoice_amount,
	applied_amount,
	outstanding_amount,
	days_overdue,
	current_amount,
	days_1_30,
	days_31_60,
	days_61_90,
	over_90,
	document_status,
	posting_status
FROM
	vw_ar_aging',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'ar_aging_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'ar_aging_id' 
				),
				'encrypted' => false,
				'columnName' => 'ar_aging_id' 
			),
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'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_ar_aging',
					'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_ar_aging',
					'name' => 'accounting_period_id' 
				),
				'encrypted' => false,
				'columnName' => 'accounting_period_id' 
			),
			array(
				'sql' => 'sales_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'sales_id' 
				),
				'encrypted' => false,
				'columnName' => 'sales_id' 
			),
			array(
				'sql' => 'sales_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'sales_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'sales_uuid' 
			),
			array(
				'sql' => 'document_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'document_no' 
				),
				'encrypted' => false,
				'columnName' => 'document_no' 
			),
			array(
				'sql' => 'transaction_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'transaction_date' 
				),
				'encrypted' => false,
				'columnName' => 'transaction_date' 
			),
			array(
				'sql' => 'due_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'due_date' 
				),
				'encrypted' => false,
				'columnName' => 'due_date' 
			),
			array(
				'sql' => 'customer_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'customer_id' 
				),
				'encrypted' => false,
				'columnName' => 'customer_id' 
			),
			array(
				'sql' => 'customer_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'customer_name' 
				),
				'encrypted' => false,
				'columnName' => 'customer_name' 
			),
			array(
				'sql' => 'customer_tin_snapshot',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'customer_tin_snapshot' 
				),
				'encrypted' => false,
				'columnName' => 'customer_tin_snapshot' 
			),
			array(
				'sql' => 'currency_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'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' => 'vw_ar_aging',
					'name' => 'exchange_rate' 
				),
				'encrypted' => false,
				'columnName' => 'exchange_rate' 
			),
			array(
				'sql' => 'invoice_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'invoice_amount' 
				),
				'encrypted' => false,
				'columnName' => 'invoice_amount' 
			),
			array(
				'sql' => 'applied_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'applied_amount' 
				),
				'encrypted' => false,
				'columnName' => 'applied_amount' 
			),
			array(
				'sql' => 'outstanding_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'outstanding_amount' 
				),
				'encrypted' => false,
				'columnName' => 'outstanding_amount' 
			),
			array(
				'sql' => 'days_overdue',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'days_overdue' 
				),
				'encrypted' => false,
				'columnName' => 'days_overdue' 
			),
			array(
				'sql' => 'current_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'current_amount' 
				),
				'encrypted' => false,
				'columnName' => 'current_amount' 
			),
			array(
				'sql' => 'days_1_30',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'days_1_30' 
				),
				'encrypted' => false,
				'columnName' => 'days_1_30' 
			),
			array(
				'sql' => 'days_31_60',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'days_31_60' 
				),
				'encrypted' => false,
				'columnName' => 'days_31_60' 
			),
			array(
				'sql' => 'days_61_90',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'days_61_90' 
				),
				'encrypted' => false,
				'columnName' => 'days_61_90' 
			),
			array(
				'sql' => 'over_90',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'over_90' 
				),
				'encrypted' => false,
				'columnName' => 'over_90' 
			),
			array(
				'sql' => 'document_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'document_status' 
				),
				'encrypted' => false,
				'columnName' => 'document_status' 
			),
			array(
				'sql' => 'posting_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ar_aging',
					'name' => 'posting_status' 
				),
				'encrypted' => false,
				'columnName' => 'posting_status' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_ar_aging',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_ar_aging',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'ar_aging_id',
						'company_id',
						'branch_id',
						'accounting_period_id',
						'sales_id',
						'sales_uuid',
						'document_no',
						'transaction_date',
						'due_date',
						'customer_id',
						'customer_name',
						'customer_tin_snapshot',
						'currency_code',
						'exchange_rate',
						'invoice_amount',
						'applied_amount',
						'outstanding_amount',
						'days_overdue',
						'current_amount',
						'days_1_30',
						'days_31_60',
						'days_61_90',
						'over_90',
						'document_status',
						'posting_status' 
					),
					'name' => 'vw_ar_aging' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'ar_aging_id,
	company_id,
	branch_id,
	accounting_period_id,
	sales_id,
	sales_uuid,
	document_no,
	transaction_date,
	due_date,
	customer_id,
	customer_name,
	customer_tin_snapshot,
	currency_code,
	exchange_rate,
	invoice_amount,
	applied_amount,
	outstanding_amount,
	days_overdue,
	current_amount,
	days_1_30,
	days_31_60,
	days_61_90,
	over_90,
	document_status,
	posting_status',
		'fromListSql' => 'FROM
	vw_ar_aging',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_ar_aging',
	'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( 
			'sales_uuid',
			'company_id',
			'branch_id',
			'document_no',
			'transaction_date',
			'due_date',
			'customer_id',
			'currency_code',
			'ar_aging_id',
			'accounting_period_id',
			'sales_id',
			'customer_name',
			'customer_tin_snapshot',
			'exchange_rate',
			'invoice_amount',
			'applied_amount',
			'outstanding_amount',
			'days_overdue',
			'current_amount',
			'days_1_30',
			'days_31_60',
			'days_61_90',
			'over_90',
			'document_status',
			'posting_status' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'sales_uuid',
			'company_id',
			'branch_id',
			'document_no',
			'transaction_date',
			'due_date',
			'customer_id',
			'currency_code',
			'ar_aging_id',
			'accounting_period_id',
			'sales_id',
			'customer_name',
			'customer_tin_snapshot',
			'exchange_rate',
			'invoice_amount',
			'applied_amount',
			'outstanding_amount',
			'days_overdue',
			'current_amount',
			'days_1_30',
			'days_31_60',
			'days_61_90',
			'over_90',
			'document_status',
			'posting_status' 
		) 
	),
	'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_ar_aging'] = array(
	'tableCaption' => 'Vw Ar Aging',
	'fieldLabels' => array(
		'sales_uuid' => 'Sales Uuid',
		'company_id' => 'Company Id',
		'branch_id' => 'Branch Id',
		'document_no' => 'Document No',
		'transaction_date' => 'Transaction Date',
		'due_date' => 'Due Date',
		'customer_id' => 'Customer Id',
		'currency_code' => 'Currency Code',
		'ar_aging_id' => 'Ar Aging Id',
		'accounting_period_id' => 'Accounting Period Id',
		'sales_id' => 'Sales Id',
		'customer_name' => 'Customer Name',
		'customer_tin_snapshot' => 'Customer Tin Snapshot',
		'exchange_rate' => 'Exchange Rate',
		'invoice_amount' => 'Invoice Amount',
		'applied_amount' => 'Applied Amount',
		'outstanding_amount' => 'Outstanding Amount',
		'days_overdue' => 'Days Overdue',
		'current_amount' => 'Current Amount',
		'days_1_30' => 'Days 1 30',
		'days_31_60' => 'Days 31 60',
		'days_61_90' => 'Days 61 90',
		'over_90' => 'Over 90',
		'document_status' => 'Document Status',
		'posting_status' => 'Posting Status' 
	),
	'fieldTooltips' => array(
		'sales_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'document_no' => '',
		'transaction_date' => '',
		'due_date' => '',
		'customer_id' => '',
		'currency_code' => '',
		'ar_aging_id' => '',
		'accounting_period_id' => '',
		'sales_id' => '',
		'customer_name' => '',
		'customer_tin_snapshot' => '',
		'exchange_rate' => '',
		'invoice_amount' => '',
		'applied_amount' => '',
		'outstanding_amount' => '',
		'days_overdue' => '',
		'current_amount' => '',
		'days_1_30' => '',
		'days_31_60' => '',
		'days_61_90' => '',
		'over_90' => '',
		'document_status' => '',
		'posting_status' => '' 
	),
	'fieldPlaceholders' => array(
		'sales_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'document_no' => '',
		'transaction_date' => '',
		'due_date' => '',
		'customer_id' => '',
		'currency_code' => '',
		'ar_aging_id' => '',
		'accounting_period_id' => '',
		'sales_id' => '',
		'customer_name' => '',
		'customer_tin_snapshot' => '',
		'exchange_rate' => '',
		'invoice_amount' => '',
		'applied_amount' => '',
		'outstanding_amount' => '',
		'days_overdue' => '',
		'current_amount' => '',
		'days_1_30' => '',
		'days_31_60' => '',
		'days_61_90' => '',
		'over_90' => '',
		'document_status' => '',
		'posting_status' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>