<?php
global $runnerTableSettings;
$runnerTableSettings['vw_ap_aging'] = array(
	'name' => 'vw_ap_aging',
	'shortName' => 'vw_ap_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_ap_aging',
	'afterAddDetail' => 'vw_ap_aging',
	'detailsBadgeColor' => 'cd853f',
	'sql' => 'SELECT
	ap_aging_id,
	company_id,
	branch_id,
	accounting_period_id,
	supplier_bill_id,
	supplier_bill_uuid,
	bill_no,
	supplier_invoice_no,
	bill_date,
	due_date,
	supplier_id,
	supplier_name,
	supplier_tin,
	currency_code,
	exchange_rate,
	bill_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_ap_aging',
	'keyFields' => array( 
		'ap_aging_id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'supplier_bill_uuid' => array(
			'name' => 'supplier_bill_uuid',
			'goodName' => 'supplier_bill_uuid',
			'strField' => 'supplier_bill_uuid',
			'index' => 6,
			'type' => 129,
			'sqlExpression' => 'supplier_bill_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_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_ap_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_ap_aging' 
		),
		'bill_no' => array(
			'name' => 'bill_no',
			'goodName' => 'bill_no',
			'strField' => 'bill_no',
			'index' => 7,
			'sqlExpression' => 'bill_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'supplier_invoice_no' => array(
			'name' => 'supplier_invoice_no',
			'goodName' => 'supplier_invoice_no',
			'strField' => 'supplier_invoice_no',
			'index' => 8,
			'sqlExpression' => 'supplier_invoice_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'bill_date' => array(
			'name' => 'bill_date',
			'goodName' => 'bill_date',
			'strField' => 'bill_date',
			'index' => 9,
			'type' => 7,
			'sqlExpression' => 'bill_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'due_date' => array(
			'name' => 'due_date',
			'goodName' => 'due_date',
			'strField' => 'due_date',
			'index' => 10,
			'type' => 7,
			'sqlExpression' => 'due_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'supplier_id' => array(
			'name' => 'supplier_id',
			'goodName' => 'supplier_id',
			'strField' => 'supplier_id',
			'index' => 11,
			'type' => 3,
			'sqlExpression' => 'supplier_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'currency_code' => array(
			'name' => 'currency_code',
			'goodName' => 'currency_code',
			'strField' => 'currency_code',
			'index' => 14,
			'type' => 129,
			'sqlExpression' => 'currency_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'ap_aging_id' => array(
			'name' => 'ap_aging_id',
			'goodName' => 'ap_aging_id',
			'strField' => 'ap_aging_id',
			'index' => 1,
			'type' => 3,
			'sqlExpression' => 'ap_aging_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_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_ap_aging' 
		),
		'supplier_bill_id' => array(
			'name' => 'supplier_bill_id',
			'goodName' => 'supplier_bill_id',
			'strField' => 'supplier_bill_id',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'supplier_bill_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'supplier_name' => array(
			'name' => 'supplier_name',
			'goodName' => 'supplier_name',
			'strField' => 'supplier_name',
			'index' => 12,
			'sqlExpression' => 'supplier_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'supplier_tin' => array(
			'name' => 'supplier_tin',
			'goodName' => 'supplier_tin',
			'strField' => 'supplier_tin',
			'index' => 13,
			'sqlExpression' => 'supplier_tin',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'exchange_rate' => array(
			'name' => 'exchange_rate',
			'goodName' => 'exchange_rate',
			'strField' => 'exchange_rate',
			'index' => 15,
			'type' => 14,
			'sqlExpression' => 'exchange_rate',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'bill_amount' => array(
			'name' => 'bill_amount',
			'goodName' => 'bill_amount',
			'strField' => 'bill_amount',
			'index' => 16,
			'type' => 14,
			'sqlExpression' => 'bill_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'applied_amount' => array(
			'name' => 'applied_amount',
			'goodName' => 'applied_amount',
			'strField' => 'applied_amount',
			'index' => 17,
			'type' => 14,
			'sqlExpression' => 'applied_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'outstanding_amount' => array(
			'name' => 'outstanding_amount',
			'goodName' => 'outstanding_amount',
			'strField' => 'outstanding_amount',
			'index' => 18,
			'type' => 14,
			'sqlExpression' => 'outstanding_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'days_overdue' => array(
			'name' => 'days_overdue',
			'goodName' => 'days_overdue',
			'strField' => 'days_overdue',
			'index' => 19,
			'type' => 3,
			'sqlExpression' => 'days_overdue',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'current_amount' => array(
			'name' => 'current_amount',
			'goodName' => 'current_amount',
			'strField' => 'current_amount',
			'index' => 20,
			'type' => 14,
			'sqlExpression' => 'current_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'days_1_30' => array(
			'name' => 'days_1_30',
			'goodName' => 'days_1_30',
			'strField' => 'days_1_30',
			'index' => 21,
			'type' => 14,
			'sqlExpression' => 'days_1_30',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'days_31_60' => array(
			'name' => 'days_31_60',
			'goodName' => 'days_31_60',
			'strField' => 'days_31_60',
			'index' => 22,
			'type' => 14,
			'sqlExpression' => 'days_31_60',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'days_61_90' => array(
			'name' => 'days_61_90',
			'goodName' => 'days_61_90',
			'strField' => 'days_61_90',
			'index' => 23,
			'type' => 14,
			'sqlExpression' => 'days_61_90',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'over_90' => array(
			'name' => 'over_90',
			'goodName' => 'over_90',
			'strField' => 'over_90',
			'index' => 24,
			'type' => 14,
			'sqlExpression' => 'over_90',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'document_status' => array(
			'name' => 'document_status',
			'goodName' => 'document_status',
			'strField' => 'document_status',
			'index' => 25,
			'sqlExpression' => 'document_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		),
		'posting_status' => array(
			'name' => 'posting_status',
			'goodName' => 'posting_status',
			'strField' => 'posting_status',
			'index' => 26,
			'sqlExpression' => 'posting_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_ap_aging' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	ap_aging_id,
	company_id,
	branch_id,
	accounting_period_id,
	supplier_bill_id,
	supplier_bill_uuid,
	bill_no,
	supplier_invoice_no,
	bill_date,
	due_date,
	supplier_id,
	supplier_name,
	supplier_tin,
	currency_code,
	exchange_rate,
	bill_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_ap_aging',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'ap_aging_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_aging',
					'name' => 'ap_aging_id' 
				),
				'encrypted' => false,
				'columnName' => 'ap_aging_id' 
			),
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_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_ap_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_ap_aging',
					'name' => 'accounting_period_id' 
				),
				'encrypted' => false,
				'columnName' => 'accounting_period_id' 
			),
			array(
				'sql' => 'supplier_bill_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_aging',
					'name' => 'supplier_bill_id' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_bill_id' 
			),
			array(
				'sql' => 'supplier_bill_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_aging',
					'name' => 'supplier_bill_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_bill_uuid' 
			),
			array(
				'sql' => 'bill_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_aging',
					'name' => 'bill_no' 
				),
				'encrypted' => false,
				'columnName' => 'bill_no' 
			),
			array(
				'sql' => 'supplier_invoice_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_aging',
					'name' => 'supplier_invoice_no' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_invoice_no' 
			),
			array(
				'sql' => 'bill_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_aging',
					'name' => 'bill_date' 
				),
				'encrypted' => false,
				'columnName' => 'bill_date' 
			),
			array(
				'sql' => 'due_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_aging',
					'name' => 'due_date' 
				),
				'encrypted' => false,
				'columnName' => 'due_date' 
			),
			array(
				'sql' => 'supplier_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_aging',
					'name' => 'supplier_id' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_id' 
			),
			array(
				'sql' => 'supplier_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_aging',
					'name' => 'supplier_name' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_name' 
			),
			array(
				'sql' => 'supplier_tin',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_aging',
					'name' => 'supplier_tin' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_tin' 
			),
			array(
				'sql' => 'currency_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_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_ap_aging',
					'name' => 'exchange_rate' 
				),
				'encrypted' => false,
				'columnName' => 'exchange_rate' 
			),
			array(
				'sql' => 'bill_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_aging',
					'name' => 'bill_amount' 
				),
				'encrypted' => false,
				'columnName' => 'bill_amount' 
			),
			array(
				'sql' => 'applied_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_ap_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_ap_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_ap_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_ap_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_ap_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_ap_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_ap_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_ap_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_ap_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_ap_aging',
					'name' => 'posting_status' 
				),
				'encrypted' => false,
				'columnName' => 'posting_status' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_ap_aging',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_ap_aging',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'ap_aging_id',
						'company_id',
						'branch_id',
						'accounting_period_id',
						'supplier_bill_id',
						'supplier_bill_uuid',
						'bill_no',
						'supplier_invoice_no',
						'bill_date',
						'due_date',
						'supplier_id',
						'supplier_name',
						'supplier_tin',
						'currency_code',
						'exchange_rate',
						'bill_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_ap_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 
			),
			array(
				'fieldIndex' => 25,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'ap_aging_id,
	company_id,
	branch_id,
	accounting_period_id,
	supplier_bill_id,
	supplier_bill_uuid,
	bill_no,
	supplier_invoice_no,
	bill_date,
	due_date,
	supplier_id,
	supplier_name,
	supplier_tin,
	currency_code,
	exchange_rate,
	bill_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_ap_aging',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_ap_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( 
			'supplier_bill_uuid',
			'company_id',
			'branch_id',
			'bill_no',
			'supplier_invoice_no',
			'bill_date',
			'due_date',
			'supplier_id',
			'currency_code',
			'ap_aging_id',
			'accounting_period_id',
			'supplier_bill_id',
			'supplier_name',
			'supplier_tin',
			'exchange_rate',
			'bill_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( 
			'supplier_bill_uuid',
			'company_id',
			'branch_id',
			'bill_no',
			'supplier_invoice_no',
			'bill_date',
			'due_date',
			'supplier_id',
			'currency_code',
			'ap_aging_id',
			'accounting_period_id',
			'supplier_bill_id',
			'supplier_name',
			'supplier_tin',
			'exchange_rate',
			'bill_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_ap_aging'] = array(
	'tableCaption' => 'Vw Ap Aging',
	'fieldLabels' => array(
		'supplier_bill_uuid' => 'Supplier Bill Uuid',
		'company_id' => 'Company Id',
		'branch_id' => 'Branch Id',
		'bill_no' => 'Bill No',
		'supplier_invoice_no' => 'Supplier Invoice No',
		'bill_date' => 'Bill Date',
		'due_date' => 'Due Date',
		'supplier_id' => 'Supplier Id',
		'currency_code' => 'Currency Code',
		'ap_aging_id' => 'Ap Aging Id',
		'accounting_period_id' => 'Accounting Period Id',
		'supplier_bill_id' => 'Supplier Bill Id',
		'supplier_name' => 'Supplier Name',
		'supplier_tin' => 'Supplier Tin',
		'exchange_rate' => 'Exchange Rate',
		'bill_amount' => 'Bill 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(
		'supplier_bill_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'bill_no' => '',
		'supplier_invoice_no' => '',
		'bill_date' => '',
		'due_date' => '',
		'supplier_id' => '',
		'currency_code' => '',
		'ap_aging_id' => '',
		'accounting_period_id' => '',
		'supplier_bill_id' => '',
		'supplier_name' => '',
		'supplier_tin' => '',
		'exchange_rate' => '',
		'bill_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(
		'supplier_bill_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'bill_no' => '',
		'supplier_invoice_no' => '',
		'bill_date' => '',
		'due_date' => '',
		'supplier_id' => '',
		'currency_code' => '',
		'ap_aging_id' => '',
		'accounting_period_id' => '',
		'supplier_bill_id' => '',
		'supplier_name' => '',
		'supplier_tin' => '',
		'exchange_rate' => '',
		'bill_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(
		 
	) 
);
}
?>