<?php
global $runnerTableSettings;
$runnerTableSettings['vw_tax_purchase_register'] = array(
	'name' => 'vw_tax_purchase_register',
	'shortName' => 'vw_tax_purchase_register',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditDetails' => 'vw_tax_purchase_register',
	'afterAddDetail' => 'vw_tax_purchase_register',
	'detailsBadgeColor' => '9acd32',
	'sql' => 'SELECT
	company_id,
	branch_id,
	supplier_bill_id,
	supplier_bill_uuid,
	bill_no,
	supplier_invoice_no,
	document_type,
	bill_date,
	supplier_id,
	supplier_name_snapshot,
	supplier_tin_snapshot,
	supplier_bill_detail_id,
	supplier_bill_detail_uuid,
	line_no,
	item_id,
	description,
	quantity,
	unit_price,
	gross_amount,
	discount_amount,
	net_before_tax,
	input_vat_amount,
	withholding_amount,
	line_total_amount,
	tax_code,
	tax_type,
	atc_code,
	bir_form_code,
	bir_schedule_code,
	report_classification_code,
	relief_transaction_code
FROM
	vw_tax_purchase_register',
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'company_id' => array(
			'name' => 'company_id',
			'goodName' => 'company_id',
			'strField' => 'company_id',
			'index' => 1,
			'type' => 20,
			'sqlExpression' => 'company_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'branch_id' => array(
			'name' => 'branch_id',
			'goodName' => 'branch_id',
			'strField' => 'branch_id',
			'index' => 2,
			'type' => 20,
			'sqlExpression' => 'branch_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'supplier_bill_id' => array(
			'name' => 'supplier_bill_id',
			'goodName' => 'supplier_bill_id',
			'strField' => 'supplier_bill_id',
			'index' => 3,
			'type' => 20,
			'sqlExpression' => 'supplier_bill_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'supplier_bill_uuid' => array(
			'name' => 'supplier_bill_uuid',
			'goodName' => 'supplier_bill_uuid',
			'strField' => 'supplier_bill_uuid',
			'index' => 4,
			'sqlExpression' => 'supplier_bill_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'bill_no' => array(
			'name' => 'bill_no',
			'goodName' => 'bill_no',
			'strField' => 'bill_no',
			'index' => 5,
			'sqlExpression' => 'bill_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'supplier_invoice_no' => array(
			'name' => 'supplier_invoice_no',
			'goodName' => 'supplier_invoice_no',
			'strField' => 'supplier_invoice_no',
			'index' => 6,
			'sqlExpression' => 'supplier_invoice_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'document_type' => array(
			'name' => 'document_type',
			'goodName' => 'document_type',
			'strField' => 'document_type',
			'index' => 7,
			'sqlExpression' => 'document_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'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_tax_purchase_register' 
		),
		'supplier_id' => array(
			'name' => 'supplier_id',
			'goodName' => 'supplier_id',
			'strField' => 'supplier_id',
			'index' => 9,
			'type' => 20,
			'sqlExpression' => 'supplier_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'supplier_name_snapshot' => array(
			'name' => 'supplier_name_snapshot',
			'goodName' => 'supplier_name_snapshot',
			'strField' => 'supplier_name_snapshot',
			'index' => 10,
			'sqlExpression' => 'supplier_name_snapshot',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'supplier_tin_snapshot' => array(
			'name' => 'supplier_tin_snapshot',
			'goodName' => 'supplier_tin_snapshot',
			'strField' => 'supplier_tin_snapshot',
			'index' => 11,
			'sqlExpression' => 'supplier_tin_snapshot',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'supplier_bill_detail_id' => array(
			'name' => 'supplier_bill_detail_id',
			'goodName' => 'supplier_bill_detail_id',
			'strField' => 'supplier_bill_detail_id',
			'index' => 12,
			'type' => 20,
			'sqlExpression' => 'supplier_bill_detail_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'supplier_bill_detail_uuid' => array(
			'name' => 'supplier_bill_detail_uuid',
			'goodName' => 'supplier_bill_detail_uuid',
			'strField' => 'supplier_bill_detail_uuid',
			'index' => 13,
			'sqlExpression' => 'supplier_bill_detail_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'line_no' => array(
			'name' => 'line_no',
			'goodName' => 'line_no',
			'strField' => 'line_no',
			'index' => 14,
			'type' => 3,
			'sqlExpression' => 'line_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'item_id' => array(
			'name' => 'item_id',
			'goodName' => 'item_id',
			'strField' => 'item_id',
			'index' => 15,
			'type' => 20,
			'sqlExpression' => 'item_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'description' => array(
			'name' => 'description',
			'goodName' => 'description',
			'strField' => 'description',
			'index' => 16,
			'sqlExpression' => 'description',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'quantity' => array(
			'name' => 'quantity',
			'goodName' => 'quantity',
			'strField' => 'quantity',
			'index' => 17,
			'type' => 14,
			'sqlExpression' => 'quantity',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'unit_price' => array(
			'name' => 'unit_price',
			'goodName' => 'unit_price',
			'strField' => 'unit_price',
			'index' => 18,
			'type' => 14,
			'sqlExpression' => 'unit_price',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'gross_amount' => array(
			'name' => 'gross_amount',
			'goodName' => 'gross_amount',
			'strField' => 'gross_amount',
			'index' => 19,
			'type' => 14,
			'sqlExpression' => 'gross_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'discount_amount' => array(
			'name' => 'discount_amount',
			'goodName' => 'discount_amount',
			'strField' => 'discount_amount',
			'index' => 20,
			'type' => 14,
			'sqlExpression' => 'discount_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'net_before_tax' => array(
			'name' => 'net_before_tax',
			'goodName' => 'net_before_tax',
			'strField' => 'net_before_tax',
			'index' => 21,
			'type' => 14,
			'sqlExpression' => 'net_before_tax',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'input_vat_amount' => array(
			'name' => 'input_vat_amount',
			'goodName' => 'input_vat_amount',
			'strField' => 'input_vat_amount',
			'index' => 22,
			'type' => 14,
			'sqlExpression' => 'input_vat_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'withholding_amount' => array(
			'name' => 'withholding_amount',
			'goodName' => 'withholding_amount',
			'strField' => 'withholding_amount',
			'index' => 23,
			'type' => 14,
			'sqlExpression' => 'withholding_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'line_total_amount' => array(
			'name' => 'line_total_amount',
			'goodName' => 'line_total_amount',
			'strField' => 'line_total_amount',
			'index' => 24,
			'type' => 14,
			'sqlExpression' => 'line_total_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'tax_code' => array(
			'name' => 'tax_code',
			'goodName' => 'tax_code',
			'strField' => 'tax_code',
			'index' => 25,
			'sqlExpression' => 'tax_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'tax_type' => array(
			'name' => 'tax_type',
			'goodName' => 'tax_type',
			'strField' => 'tax_type',
			'index' => 26,
			'sqlExpression' => 'tax_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'atc_code' => array(
			'name' => 'atc_code',
			'goodName' => 'atc_code',
			'strField' => 'atc_code',
			'index' => 27,
			'sqlExpression' => 'atc_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'bir_form_code' => array(
			'name' => 'bir_form_code',
			'goodName' => 'bir_form_code',
			'strField' => 'bir_form_code',
			'index' => 28,
			'sqlExpression' => 'bir_form_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'bir_schedule_code' => array(
			'name' => 'bir_schedule_code',
			'goodName' => 'bir_schedule_code',
			'strField' => 'bir_schedule_code',
			'index' => 29,
			'sqlExpression' => 'bir_schedule_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'report_classification_code' => array(
			'name' => 'report_classification_code',
			'goodName' => 'report_classification_code',
			'strField' => 'report_classification_code',
			'index' => 30,
			'sqlExpression' => 'report_classification_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		),
		'relief_transaction_code' => array(
			'name' => 'relief_transaction_code',
			'goodName' => 'relief_transaction_code',
			'strField' => 'relief_transaction_code',
			'index' => 31,
			'sqlExpression' => 'relief_transaction_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_tax_purchase_register' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	company_id,
	branch_id,
	supplier_bill_id,
	supplier_bill_uuid,
	bill_no,
	supplier_invoice_no,
	document_type,
	bill_date,
	supplier_id,
	supplier_name_snapshot,
	supplier_tin_snapshot,
	supplier_bill_detail_id,
	supplier_bill_detail_uuid,
	line_no,
	item_id,
	description,
	quantity,
	unit_price,
	gross_amount,
	discount_amount,
	net_before_tax,
	input_vat_amount,
	withholding_amount,
	line_total_amount,
	tax_code,
	tax_type,
	atc_code,
	bir_form_code,
	bir_schedule_code,
	report_classification_code,
	relief_transaction_code
FROM
	vw_tax_purchase_register',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'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_tax_purchase_register',
					'name' => 'branch_id' 
				),
				'encrypted' => false,
				'columnName' => 'branch_id' 
			),
			array(
				'sql' => 'supplier_bill_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'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_tax_purchase_register',
					'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_tax_purchase_register',
					'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_tax_purchase_register',
					'name' => 'supplier_invoice_no' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_invoice_no' 
			),
			array(
				'sql' => 'document_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'document_type' 
				),
				'encrypted' => false,
				'columnName' => 'document_type' 
			),
			array(
				'sql' => 'bill_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'bill_date' 
				),
				'encrypted' => false,
				'columnName' => 'bill_date' 
			),
			array(
				'sql' => 'supplier_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'supplier_id' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_id' 
			),
			array(
				'sql' => 'supplier_name_snapshot',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'supplier_name_snapshot' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_name_snapshot' 
			),
			array(
				'sql' => 'supplier_tin_snapshot',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'supplier_tin_snapshot' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_tin_snapshot' 
			),
			array(
				'sql' => 'supplier_bill_detail_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'supplier_bill_detail_id' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_bill_detail_id' 
			),
			array(
				'sql' => 'supplier_bill_detail_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'supplier_bill_detail_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_bill_detail_uuid' 
			),
			array(
				'sql' => 'line_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'line_no' 
				),
				'encrypted' => false,
				'columnName' => 'line_no' 
			),
			array(
				'sql' => 'item_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'item_id' 
				),
				'encrypted' => false,
				'columnName' => 'item_id' 
			),
			array(
				'sql' => 'description',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'description' 
				),
				'encrypted' => false,
				'columnName' => 'description' 
			),
			array(
				'sql' => 'quantity',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'quantity' 
				),
				'encrypted' => false,
				'columnName' => 'quantity' 
			),
			array(
				'sql' => 'unit_price',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'unit_price' 
				),
				'encrypted' => false,
				'columnName' => 'unit_price' 
			),
			array(
				'sql' => 'gross_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'gross_amount' 
				),
				'encrypted' => false,
				'columnName' => 'gross_amount' 
			),
			array(
				'sql' => 'discount_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'discount_amount' 
				),
				'encrypted' => false,
				'columnName' => 'discount_amount' 
			),
			array(
				'sql' => 'net_before_tax',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'net_before_tax' 
				),
				'encrypted' => false,
				'columnName' => 'net_before_tax' 
			),
			array(
				'sql' => 'input_vat_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'input_vat_amount' 
				),
				'encrypted' => false,
				'columnName' => 'input_vat_amount' 
			),
			array(
				'sql' => 'withholding_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'withholding_amount' 
				),
				'encrypted' => false,
				'columnName' => 'withholding_amount' 
			),
			array(
				'sql' => 'line_total_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'line_total_amount' 
				),
				'encrypted' => false,
				'columnName' => 'line_total_amount' 
			),
			array(
				'sql' => 'tax_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'tax_code' 
				),
				'encrypted' => false,
				'columnName' => 'tax_code' 
			),
			array(
				'sql' => 'tax_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'tax_type' 
				),
				'encrypted' => false,
				'columnName' => 'tax_type' 
			),
			array(
				'sql' => 'atc_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'atc_code' 
				),
				'encrypted' => false,
				'columnName' => 'atc_code' 
			),
			array(
				'sql' => 'bir_form_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'bir_form_code' 
				),
				'encrypted' => false,
				'columnName' => 'bir_form_code' 
			),
			array(
				'sql' => 'bir_schedule_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'bir_schedule_code' 
				),
				'encrypted' => false,
				'columnName' => 'bir_schedule_code' 
			),
			array(
				'sql' => 'report_classification_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'report_classification_code' 
				),
				'encrypted' => false,
				'columnName' => 'report_classification_code' 
			),
			array(
				'sql' => 'relief_transaction_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_tax_purchase_register',
					'name' => 'relief_transaction_code' 
				),
				'encrypted' => false,
				'columnName' => 'relief_transaction_code' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_tax_purchase_register',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_tax_purchase_register',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'company_id',
						'branch_id',
						'supplier_bill_id',
						'supplier_bill_uuid',
						'bill_no',
						'supplier_invoice_no',
						'document_type',
						'bill_date',
						'supplier_id',
						'supplier_name_snapshot',
						'supplier_tin_snapshot',
						'supplier_bill_detail_id',
						'supplier_bill_detail_uuid',
						'line_no',
						'item_id',
						'description',
						'quantity',
						'unit_price',
						'gross_amount',
						'discount_amount',
						'net_before_tax',
						'input_vat_amount',
						'withholding_amount',
						'line_total_amount',
						'tax_code',
						'tax_type',
						'atc_code',
						'bir_form_code',
						'bir_schedule_code',
						'report_classification_code',
						'relief_transaction_code' 
					),
					'name' => 'vw_tax_purchase_register' 
				),
				'joinOn' => array(
					'sql' => '',
					'parsed' => false,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => null 
				),
				'joinList' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						 
					),
					'field2' => array( 
						 
					) 
				),
				'link' => 0 
			) 
		),
		'where' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'groupBy' => array( 
			 
		),
		'having' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'orderBy' => array( 
			 
		),
		'colsIndex' => array( 
			array(
				'fieldIndex' => 0,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 1,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 2,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 3,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 4,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 5,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 6,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 7,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 8,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 9,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 10,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 11,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 12,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 13,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 14,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 15,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 16,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 17,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 18,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 19,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 20,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 21,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 22,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 23,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 24,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 25,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 26,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 27,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 28,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 29,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 30,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'company_id,
	branch_id,
	supplier_bill_id,
	supplier_bill_uuid,
	bill_no,
	supplier_invoice_no,
	document_type,
	bill_date,
	supplier_id,
	supplier_name_snapshot,
	supplier_tin_snapshot,
	supplier_bill_detail_id,
	supplier_bill_detail_uuid,
	line_no,
	item_id,
	description,
	quantity,
	unit_price,
	gross_amount,
	discount_amount,
	net_before_tax,
	input_vat_amount,
	withholding_amount,
	line_total_amount,
	tax_code,
	tax_type,
	atc_code,
	bir_form_code,
	bir_schedule_code,
	report_classification_code,
	relief_transaction_code',
		'fromListSql' => 'FROM
	vw_tax_purchase_register',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'vw_tax_purchase_register',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'company_id',
			'branch_id',
			'supplier_bill_id',
			'supplier_bill_uuid',
			'bill_no',
			'supplier_invoice_no',
			'document_type',
			'bill_date',
			'supplier_id',
			'supplier_name_snapshot',
			'supplier_tin_snapshot',
			'supplier_bill_detail_id',
			'supplier_bill_detail_uuid',
			'line_no',
			'item_id',
			'description',
			'quantity',
			'unit_price',
			'gross_amount',
			'discount_amount',
			'net_before_tax',
			'input_vat_amount',
			'withholding_amount',
			'line_total_amount',
			'tax_code',
			'tax_type',
			'atc_code',
			'bir_form_code',
			'bir_schedule_code',
			'report_classification_code',
			'relief_transaction_code' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'company_id',
			'branch_id',
			'supplier_bill_id',
			'supplier_bill_uuid',
			'bill_no',
			'supplier_invoice_no',
			'document_type',
			'bill_date',
			'supplier_id',
			'supplier_name_snapshot',
			'supplier_tin_snapshot',
			'supplier_bill_detail_id',
			'supplier_bill_detail_uuid',
			'line_no',
			'item_id',
			'description',
			'quantity',
			'unit_price',
			'gross_amount',
			'discount_amount',
			'net_before_tax',
			'input_vat_amount',
			'withholding_amount',
			'line_total_amount',
			'tax_code',
			'tax_type',
			'atc_code',
			'bir_form_code',
			'bir_schedule_code',
			'report_classification_code',
			'relief_transaction_code' 
		) 
	),
	'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_tax_purchase_register'] = array(
	'tableCaption' => 'Vw Tax Purchase Register',
	'fieldLabels' => array(
		'company_id' => 'Company Id',
		'branch_id' => 'Branch Id',
		'supplier_bill_id' => 'Supplier Bill Id',
		'supplier_bill_uuid' => 'Supplier Bill Uuid',
		'bill_no' => 'Bill No',
		'supplier_invoice_no' => 'Supplier Invoice No',
		'document_type' => 'Document Type',
		'bill_date' => 'Bill Date',
		'supplier_id' => 'Supplier Id',
		'supplier_name_snapshot' => 'Supplier Name Snapshot',
		'supplier_tin_snapshot' => 'Supplier Tin Snapshot',
		'supplier_bill_detail_id' => 'Supplier Bill Detail Id',
		'supplier_bill_detail_uuid' => 'Supplier Bill Detail Uuid',
		'line_no' => 'Line No',
		'item_id' => 'Item Id',
		'description' => 'Description',
		'quantity' => 'Quantity',
		'unit_price' => 'Unit Price',
		'gross_amount' => 'Gross Amount',
		'discount_amount' => 'Discount Amount',
		'net_before_tax' => 'Net Before Tax',
		'input_vat_amount' => 'Input Vat Amount',
		'withholding_amount' => 'Withholding Amount',
		'line_total_amount' => 'Line Total Amount',
		'tax_code' => 'Tax Code',
		'tax_type' => 'Tax Type',
		'atc_code' => 'Atc Code',
		'bir_form_code' => 'Bir Form Code',
		'bir_schedule_code' => 'Bir Schedule Code',
		'report_classification_code' => 'Report Classification Code',
		'relief_transaction_code' => 'Relief Transaction Code' 
	),
	'fieldTooltips' => array(
		'company_id' => '',
		'branch_id' => '',
		'supplier_bill_id' => '',
		'supplier_bill_uuid' => '',
		'bill_no' => '',
		'supplier_invoice_no' => '',
		'document_type' => '',
		'bill_date' => '',
		'supplier_id' => '',
		'supplier_name_snapshot' => '',
		'supplier_tin_snapshot' => '',
		'supplier_bill_detail_id' => '',
		'supplier_bill_detail_uuid' => '',
		'line_no' => '',
		'item_id' => '',
		'description' => '',
		'quantity' => '',
		'unit_price' => '',
		'gross_amount' => '',
		'discount_amount' => '',
		'net_before_tax' => '',
		'input_vat_amount' => '',
		'withholding_amount' => '',
		'line_total_amount' => '',
		'tax_code' => '',
		'tax_type' => '',
		'atc_code' => '',
		'bir_form_code' => '',
		'bir_schedule_code' => '',
		'report_classification_code' => '',
		'relief_transaction_code' => '' 
	),
	'fieldPlaceholders' => array(
		'company_id' => '',
		'branch_id' => '',
		'supplier_bill_id' => '',
		'supplier_bill_uuid' => '',
		'bill_no' => '',
		'supplier_invoice_no' => '',
		'document_type' => '',
		'bill_date' => '',
		'supplier_id' => '',
		'supplier_name_snapshot' => '',
		'supplier_tin_snapshot' => '',
		'supplier_bill_detail_id' => '',
		'supplier_bill_detail_uuid' => '',
		'line_no' => '',
		'item_id' => '',
		'description' => '',
		'quantity' => '',
		'unit_price' => '',
		'gross_amount' => '',
		'discount_amount' => '',
		'net_before_tax' => '',
		'input_vat_amount' => '',
		'withholding_amount' => '',
		'line_total_amount' => '',
		'tax_code' => '',
		'tax_type' => '',
		'atc_code' => '',
		'bir_form_code' => '',
		'bir_schedule_code' => '',
		'report_classification_code' => '',
		'relief_transaction_code' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>