<?php
global $runnerTableSettings;
$runnerTableSettings['vw_vat_purchase_report'] = array(
	'name' => 'vw_vat_purchase_report',
	'shortName' => 'vw_vat_purchase_report',
	'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_vat_purchase_report',
	'afterAddDetail' => 'vw_vat_purchase_report',
	'detailsBadgeColor' => '4682b4',
	'sql' => 'SELECT
	vat_purchase_report_id,
	company_id,
	branch_id,
	accounting_period_id,
	supplier_bill_id,
	bill_no,
	supplier_invoice_no,
	bill_date,
	due_date,
	supplier_id,
	supplier_name,
	supplier_tin,
	currency_code,
	exchange_rate,
	taxable_purchase_amount,
	input_vat_amount,
	gross_purchase_amount,
	withholding_amount,
	document_status,
	posting_status
FROM
	vw_vat_purchase_report',
	'keyFields' => array( 
		'vat_purchase_report_id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'vat_purchase_report_id' => array(
			'name' => 'vat_purchase_report_id',
			'goodName' => 'vat_purchase_report_id',
			'strField' => 'vat_purchase_report_id',
			'index' => 1,
			'type' => 20,
			'sqlExpression' => 'vat_purchase_report_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'company_id' => array(
			'name' => 'company_id',
			'goodName' => 'company_id',
			'strField' => 'company_id',
			'index' => 2,
			'type' => 20,
			'sqlExpression' => 'company_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'branch_id' => array(
			'name' => 'branch_id',
			'goodName' => 'branch_id',
			'strField' => 'branch_id',
			'index' => 3,
			'type' => 20,
			'sqlExpression' => 'branch_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'accounting_period_id' => array(
			'name' => 'accounting_period_id',
			'goodName' => 'accounting_period_id',
			'strField' => 'accounting_period_id',
			'index' => 4,
			'type' => 20,
			'sqlExpression' => 'accounting_period_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'supplier_bill_id' => array(
			'name' => 'supplier_bill_id',
			'goodName' => 'supplier_bill_id',
			'strField' => 'supplier_bill_id',
			'index' => 5,
			'type' => 20,
			'sqlExpression' => 'supplier_bill_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'bill_no' => array(
			'name' => 'bill_no',
			'goodName' => 'bill_no',
			'strField' => 'bill_no',
			'index' => 6,
			'sqlExpression' => 'bill_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'supplier_invoice_no' => array(
			'name' => 'supplier_invoice_no',
			'goodName' => 'supplier_invoice_no',
			'strField' => 'supplier_invoice_no',
			'index' => 7,
			'sqlExpression' => 'supplier_invoice_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'bill_date' => array(
			'name' => 'bill_date',
			'goodName' => 'bill_date',
			'strField' => 'bill_date',
			'index' => 8,
			'type' => 7,
			'sqlExpression' => 'bill_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'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_vat_purchase_report' 
		),
		'supplier_id' => array(
			'name' => 'supplier_id',
			'goodName' => 'supplier_id',
			'strField' => 'supplier_id',
			'index' => 10,
			'type' => 20,
			'sqlExpression' => 'supplier_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'supplier_name' => array(
			'name' => 'supplier_name',
			'goodName' => 'supplier_name',
			'strField' => 'supplier_name',
			'index' => 11,
			'sqlExpression' => 'supplier_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'supplier_tin' => array(
			'name' => 'supplier_tin',
			'goodName' => 'supplier_tin',
			'strField' => 'supplier_tin',
			'index' => 12,
			'sqlExpression' => 'supplier_tin',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'currency_code' => array(
			'name' => 'currency_code',
			'goodName' => 'currency_code',
			'strField' => 'currency_code',
			'index' => 13,
			'sqlExpression' => 'currency_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'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_vat_purchase_report' 
		),
		'taxable_purchase_amount' => array(
			'name' => 'taxable_purchase_amount',
			'goodName' => 'taxable_purchase_amount',
			'strField' => 'taxable_purchase_amount',
			'index' => 15,
			'type' => 14,
			'sqlExpression' => 'taxable_purchase_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'input_vat_amount' => array(
			'name' => 'input_vat_amount',
			'goodName' => 'input_vat_amount',
			'strField' => 'input_vat_amount',
			'index' => 16,
			'type' => 14,
			'sqlExpression' => 'input_vat_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'gross_purchase_amount' => array(
			'name' => 'gross_purchase_amount',
			'goodName' => 'gross_purchase_amount',
			'strField' => 'gross_purchase_amount',
			'index' => 17,
			'type' => 14,
			'sqlExpression' => 'gross_purchase_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'withholding_amount' => array(
			'name' => 'withholding_amount',
			'goodName' => 'withholding_amount',
			'strField' => 'withholding_amount',
			'index' => 18,
			'type' => 14,
			'sqlExpression' => 'withholding_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'document_status' => array(
			'name' => 'document_status',
			'goodName' => 'document_status',
			'strField' => 'document_status',
			'index' => 19,
			'sqlExpression' => 'document_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		),
		'posting_status' => array(
			'name' => 'posting_status',
			'goodName' => 'posting_status',
			'strField' => 'posting_status',
			'index' => 20,
			'sqlExpression' => 'posting_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_vat_purchase_report' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	vat_purchase_report_id,
	company_id,
	branch_id,
	accounting_period_id,
	supplier_bill_id,
	bill_no,
	supplier_invoice_no,
	bill_date,
	due_date,
	supplier_id,
	supplier_name,
	supplier_tin,
	currency_code,
	exchange_rate,
	taxable_purchase_amount,
	input_vat_amount,
	gross_purchase_amount,
	withholding_amount,
	document_status,
	posting_status
FROM
	vw_vat_purchase_report',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'vat_purchase_report_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_purchase_report',
					'name' => 'vat_purchase_report_id' 
				),
				'encrypted' => false,
				'columnName' => 'vat_purchase_report_id' 
			),
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_purchase_report',
					'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_vat_purchase_report',
					'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_vat_purchase_report',
					'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_vat_purchase_report',
					'name' => 'supplier_bill_id' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_bill_id' 
			),
			array(
				'sql' => 'bill_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_purchase_report',
					'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_vat_purchase_report',
					'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_vat_purchase_report',
					'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_vat_purchase_report',
					'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_vat_purchase_report',
					'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_vat_purchase_report',
					'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_vat_purchase_report',
					'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_vat_purchase_report',
					'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_vat_purchase_report',
					'name' => 'exchange_rate' 
				),
				'encrypted' => false,
				'columnName' => 'exchange_rate' 
			),
			array(
				'sql' => 'taxable_purchase_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_purchase_report',
					'name' => 'taxable_purchase_amount' 
				),
				'encrypted' => false,
				'columnName' => 'taxable_purchase_amount' 
			),
			array(
				'sql' => 'input_vat_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_purchase_report',
					'name' => 'input_vat_amount' 
				),
				'encrypted' => false,
				'columnName' => 'input_vat_amount' 
			),
			array(
				'sql' => 'gross_purchase_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_purchase_report',
					'name' => 'gross_purchase_amount' 
				),
				'encrypted' => false,
				'columnName' => 'gross_purchase_amount' 
			),
			array(
				'sql' => 'withholding_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_purchase_report',
					'name' => 'withholding_amount' 
				),
				'encrypted' => false,
				'columnName' => 'withholding_amount' 
			),
			array(
				'sql' => 'document_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_vat_purchase_report',
					'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_vat_purchase_report',
					'name' => 'posting_status' 
				),
				'encrypted' => false,
				'columnName' => 'posting_status' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_vat_purchase_report',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_vat_purchase_report',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'vat_purchase_report_id',
						'company_id',
						'branch_id',
						'accounting_period_id',
						'supplier_bill_id',
						'bill_no',
						'supplier_invoice_no',
						'bill_date',
						'due_date',
						'supplier_id',
						'supplier_name',
						'supplier_tin',
						'currency_code',
						'exchange_rate',
						'taxable_purchase_amount',
						'input_vat_amount',
						'gross_purchase_amount',
						'withholding_amount',
						'document_status',
						'posting_status' 
					),
					'name' => 'vw_vat_purchase_report' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'vat_purchase_report_id,
	company_id,
	branch_id,
	accounting_period_id,
	supplier_bill_id,
	bill_no,
	supplier_invoice_no,
	bill_date,
	due_date,
	supplier_id,
	supplier_name,
	supplier_tin,
	currency_code,
	exchange_rate,
	taxable_purchase_amount,
	input_vat_amount,
	gross_purchase_amount,
	withholding_amount,
	document_status,
	posting_status',
		'fromListSql' => 'FROM
	vw_vat_purchase_report',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_vat_purchase_report',
	'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( 
			'vat_purchase_report_id',
			'company_id',
			'branch_id',
			'accounting_period_id',
			'supplier_bill_id',
			'bill_no',
			'supplier_invoice_no',
			'bill_date',
			'due_date',
			'supplier_id',
			'supplier_name',
			'supplier_tin',
			'currency_code',
			'exchange_rate',
			'taxable_purchase_amount',
			'input_vat_amount',
			'gross_purchase_amount',
			'withholding_amount',
			'document_status',
			'posting_status' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'vat_purchase_report_id',
			'company_id',
			'branch_id',
			'accounting_period_id',
			'supplier_bill_id',
			'bill_no',
			'supplier_invoice_no',
			'bill_date',
			'due_date',
			'supplier_id',
			'supplier_name',
			'supplier_tin',
			'currency_code',
			'exchange_rate',
			'taxable_purchase_amount',
			'input_vat_amount',
			'gross_purchase_amount',
			'withholding_amount',
			'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_vat_purchase_report'] = array(
	'tableCaption' => 'Vw Vat Purchase Report',
	'fieldLabels' => array(
		'vat_purchase_report_id' => 'Vat Purchase Report Id',
		'company_id' => 'Company Id',
		'branch_id' => 'Branch Id',
		'accounting_period_id' => 'Accounting Period Id',
		'supplier_bill_id' => 'Supplier Bill Id',
		'bill_no' => 'Bill No',
		'supplier_invoice_no' => 'Supplier Invoice No',
		'bill_date' => 'Bill Date',
		'due_date' => 'Due Date',
		'supplier_id' => 'Supplier Id',
		'supplier_name' => 'Supplier Name',
		'supplier_tin' => 'Supplier Tin',
		'currency_code' => 'Currency Code',
		'exchange_rate' => 'Exchange Rate',
		'taxable_purchase_amount' => 'Taxable Purchase Amount',
		'input_vat_amount' => 'Input Vat Amount',
		'gross_purchase_amount' => 'Gross Purchase Amount',
		'withholding_amount' => 'Withholding Amount',
		'document_status' => 'Document Status',
		'posting_status' => 'Posting Status' 
	),
	'fieldTooltips' => array(
		'vat_purchase_report_id' => '',
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'supplier_bill_id' => '',
		'bill_no' => '',
		'supplier_invoice_no' => '',
		'bill_date' => '',
		'due_date' => '',
		'supplier_id' => '',
		'supplier_name' => '',
		'supplier_tin' => '',
		'currency_code' => '',
		'exchange_rate' => '',
		'taxable_purchase_amount' => '',
		'input_vat_amount' => '',
		'gross_purchase_amount' => '',
		'withholding_amount' => '',
		'document_status' => '',
		'posting_status' => '' 
	),
	'fieldPlaceholders' => array(
		'vat_purchase_report_id' => '',
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'supplier_bill_id' => '',
		'bill_no' => '',
		'supplier_invoice_no' => '',
		'bill_date' => '',
		'due_date' => '',
		'supplier_id' => '',
		'supplier_name' => '',
		'supplier_tin' => '',
		'currency_code' => '',
		'exchange_rate' => '',
		'taxable_purchase_amount' => '',
		'input_vat_amount' => '',
		'gross_purchase_amount' => '',
		'withholding_amount' => '',
		'document_status' => '',
		'posting_status' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>