<?php
global $runnerTableSettings;
$runnerTableSettings['supplier_payment'] = array(
	'name' => 'supplier_payment',
	'shortName' => 'supplier_payment',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'afterEditDetails' => 'supplier_payment',
	'afterAddDetail' => 'supplier_payment',
	'detailsBadgeColor' => 'db7093',
	'sql' => 'SELECT
	id,
	supplier_payment_uuid,
	company_id,
	branch_id,
	accounting_period_id,
	payment_no,
	payment_date,
	supplier_id,
	currency_code,
	exchange_rate,
	payment_method_id,
	bank_account_id,
	reference_no,
	gross_payment_amount,
	withholding_amount,
	bank_charge_amount,
	net_cash_amount,
	applied_amount,
	unapplied_amount,
	approval_status,
	document_status,
	posting_status,
	remarks,
	created_by_platform_user_id,
	approved_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	approved_at,
	posted_at
FROM
	supplier_payment',
	'keyFields' => array( 
		'id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 20,
			'autoinc' => true,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'supplier_payment_uuid' => array(
			'name' => 'supplier_payment_uuid',
			'goodName' => 'supplier_payment_uuid',
			'strField' => 'supplier_payment_uuid',
			'index' => 2,
			'sqlExpression' => 'supplier_payment_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'company_id' => array(
			'name' => 'company_id',
			'goodName' => 'company_id',
			'strField' => 'company_id',
			'index' => 3,
			'type' => 20,
			'sqlExpression' => 'company_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'branch_id' => array(
			'name' => 'branch_id',
			'goodName' => 'branch_id',
			'strField' => 'branch_id',
			'index' => 4,
			'type' => 20,
			'sqlExpression' => 'branch_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'branch',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'branch_name',
					'lookupOrderBy' => 'branch_name' 
				) 
			),
			'tableName' => 'supplier_payment',
			'viewLinkTable' => 'branch',
			'viewLinkLookup' => true 
		),
		'accounting_period_id' => array(
			'name' => 'accounting_period_id',
			'goodName' => 'accounting_period_id',
			'strField' => 'accounting_period_id',
			'index' => 5,
			'type' => 20,
			'sqlExpression' => 'accounting_period_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'payment_no' => array(
			'name' => 'payment_no',
			'goodName' => 'payment_no',
			'strField' => 'payment_no',
			'index' => 6,
			'sqlExpression' => 'payment_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly' 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'payment_date' => array(
			'name' => 'payment_date',
			'goodName' => 'payment_date',
			'strField' => 'payment_date',
			'index' => 7,
			'type' => 7,
			'sqlExpression' => 'payment_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'supplier_id' => array(
			'name' => 'supplier_id',
			'goodName' => 'supplier_id',
			'strField' => 'supplier_id',
			'index' => 8,
			'type' => 20,
			'sqlExpression' => 'supplier_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'supplier',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'registered_name',
					'lookupOrderBy' => 'registered_name' 
				) 
			),
			'tableName' => 'supplier_payment',
			'viewLinkTable' => 'supplier',
			'viewLinkLookup' => true 
		),
		'currency_code' => array(
			'name' => 'currency_code',
			'goodName' => 'currency_code',
			'strField' => 'currency_code',
			'index' => 9,
			'sqlExpression' => 'currency_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupTable' => 'currency',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'currency_code',
					'lookupDisplayField' => 'currency_code',
					'lookupOrderBy' => 'currency_code' 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'exchange_rate' => array(
			'name' => 'exchange_rate',
			'goodName' => 'exchange_rate',
			'strField' => 'exchange_rate',
			'index' => 10,
			'type' => 14,
			'sqlExpression' => 'exchange_rate',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'payment_method_id' => array(
			'name' => 'payment_method_id',
			'goodName' => 'payment_method_id',
			'strField' => 'payment_method_id',
			'index' => 11,
			'type' => 20,
			'sqlExpression' => 'payment_method_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'payment_method',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'method_name',
					'lookupOrderBy' => 'method_name' 
				) 
			),
			'tableName' => 'supplier_payment',
			'viewLinkTable' => 'payment_method',
			'viewLinkLookup' => true 
		),
		'bank_account_id' => array(
			'name' => 'bank_account_id',
			'goodName' => 'bank_account_id',
			'strField' => 'bank_account_id',
			'index' => 12,
			'type' => 20,
			'sqlExpression' => 'bank_account_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'bank_account',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'account_name',
					'lookupOrderBy' => 'account_name' 
				) 
			),
			'tableName' => 'supplier_payment',
			'viewLinkTable' => 'bank_account',
			'viewLinkLookup' => true 
		),
		'reference_no' => array(
			'name' => 'reference_no',
			'goodName' => 'reference_no',
			'strField' => 'reference_no',
			'index' => 13,
			'sqlExpression' => 'reference_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'gross_payment_amount' => array(
			'name' => 'gross_payment_amount',
			'goodName' => 'gross_payment_amount',
			'strField' => 'gross_payment_amount',
			'index' => 14,
			'type' => 14,
			'sqlExpression' => 'gross_payment_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'withholding_amount' => array(
			'name' => 'withholding_amount',
			'goodName' => 'withholding_amount',
			'strField' => 'withholding_amount',
			'index' => 15,
			'type' => 14,
			'sqlExpression' => 'withholding_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'bank_charge_amount' => array(
			'name' => 'bank_charge_amount',
			'goodName' => 'bank_charge_amount',
			'strField' => 'bank_charge_amount',
			'index' => 16,
			'type' => 14,
			'sqlExpression' => 'bank_charge_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'net_cash_amount' => array(
			'name' => 'net_cash_amount',
			'goodName' => 'net_cash_amount',
			'strField' => 'net_cash_amount',
			'index' => 17,
			'type' => 14,
			'sqlExpression' => 'net_cash_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'applied_amount' => array(
			'name' => 'applied_amount',
			'goodName' => 'applied_amount',
			'strField' => 'applied_amount',
			'index' => 18,
			'type' => 14,
			'sqlExpression' => 'applied_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'unapplied_amount' => array(
			'name' => 'unapplied_amount',
			'goodName' => 'unapplied_amount',
			'strField' => 'unapplied_amount',
			'index' => 19,
			'type' => 14,
			'sqlExpression' => 'unapplied_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'approval_status' => array(
			'name' => 'approval_status',
			'goodName' => 'approval_status',
			'strField' => 'approval_status',
			'index' => 20,
			'sqlExpression' => 'approval_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly' 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'document_status' => array(
			'name' => 'document_status',
			'goodName' => 'document_status',
			'strField' => 'document_status',
			'index' => 21,
			'sqlExpression' => 'document_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly' 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'posting_status' => array(
			'name' => 'posting_status',
			'goodName' => 'posting_status',
			'strField' => 'posting_status',
			'index' => 22,
			'sqlExpression' => 'posting_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly' 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'remarks' => array(
			'name' => 'remarks',
			'goodName' => 'remarks',
			'strField' => 'remarks',
			'index' => 23,
			'type' => 201,
			'sqlExpression' => 'remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'created_by_platform_user_id' => array(
			'name' => 'created_by_platform_user_id',
			'goodName' => 'created_by_platform_user_id',
			'strField' => 'created_by_platform_user_id',
			'index' => 24,
			'type' => 20,
			'sqlExpression' => 'created_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'approved_by_platform_user_id' => array(
			'name' => 'approved_by_platform_user_id',
			'goodName' => 'approved_by_platform_user_id',
			'strField' => 'approved_by_platform_user_id',
			'index' => 25,
			'type' => 20,
			'sqlExpression' => 'approved_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'posted_by_platform_user_id' => array(
			'name' => 'posted_by_platform_user_id',
			'goodName' => 'posted_by_platform_user_id',
			'strField' => 'posted_by_platform_user_id',
			'index' => 26,
			'type' => 20,
			'sqlExpression' => 'posted_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 27,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'approved_at' => array(
			'name' => 'approved_at',
			'goodName' => 'approved_at',
			'strField' => 'approved_at',
			'index' => 28,
			'type' => 135,
			'sqlExpression' => 'approved_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'supplier_payment' 
		),
		'posted_at' => array(
			'name' => 'posted_at',
			'goodName' => 'posted_at',
			'strField' => 'posted_at',
			'index' => 29,
			'type' => 135,
			'sqlExpression' => 'posted_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'supplier_payment' 
		) 
	),
	'detailsTables' => array( 
		'supplier_payment_application' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	supplier_payment_uuid,
	company_id,
	branch_id,
	accounting_period_id,
	payment_no,
	payment_date,
	supplier_id,
	currency_code,
	exchange_rate,
	payment_method_id,
	bank_account_id,
	reference_no,
	gross_payment_amount,
	withholding_amount,
	bank_charge_amount,
	net_cash_amount,
	applied_amount,
	unapplied_amount,
	approval_status,
	document_status,
	posting_status,
	remarks,
	created_by_platform_user_id,
	approved_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	approved_at,
	posted_at
FROM
	supplier_payment',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'supplier_payment_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'supplier_payment_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_payment_uuid' 
			),
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'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' => 'supplier_payment',
					'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' => 'supplier_payment',
					'name' => 'accounting_period_id' 
				),
				'encrypted' => false,
				'columnName' => 'accounting_period_id' 
			),
			array(
				'sql' => 'payment_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'payment_no' 
				),
				'encrypted' => false,
				'columnName' => 'payment_no' 
			),
			array(
				'sql' => 'payment_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'payment_date' 
				),
				'encrypted' => false,
				'columnName' => 'payment_date' 
			),
			array(
				'sql' => 'supplier_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'supplier_id' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_id' 
			),
			array(
				'sql' => 'currency_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'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' => 'supplier_payment',
					'name' => 'exchange_rate' 
				),
				'encrypted' => false,
				'columnName' => 'exchange_rate' 
			),
			array(
				'sql' => 'payment_method_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'payment_method_id' 
				),
				'encrypted' => false,
				'columnName' => 'payment_method_id' 
			),
			array(
				'sql' => 'bank_account_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'bank_account_id' 
				),
				'encrypted' => false,
				'columnName' => 'bank_account_id' 
			),
			array(
				'sql' => 'reference_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'reference_no' 
				),
				'encrypted' => false,
				'columnName' => 'reference_no' 
			),
			array(
				'sql' => 'gross_payment_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'gross_payment_amount' 
				),
				'encrypted' => false,
				'columnName' => 'gross_payment_amount' 
			),
			array(
				'sql' => 'withholding_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'withholding_amount' 
				),
				'encrypted' => false,
				'columnName' => 'withholding_amount' 
			),
			array(
				'sql' => 'bank_charge_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'bank_charge_amount' 
				),
				'encrypted' => false,
				'columnName' => 'bank_charge_amount' 
			),
			array(
				'sql' => 'net_cash_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'net_cash_amount' 
				),
				'encrypted' => false,
				'columnName' => 'net_cash_amount' 
			),
			array(
				'sql' => 'applied_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'applied_amount' 
				),
				'encrypted' => false,
				'columnName' => 'applied_amount' 
			),
			array(
				'sql' => 'unapplied_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'unapplied_amount' 
				),
				'encrypted' => false,
				'columnName' => 'unapplied_amount' 
			),
			array(
				'sql' => 'approval_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'approval_status' 
				),
				'encrypted' => false,
				'columnName' => 'approval_status' 
			),
			array(
				'sql' => 'document_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'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' => 'supplier_payment',
					'name' => 'posting_status' 
				),
				'encrypted' => false,
				'columnName' => 'posting_status' 
			),
			array(
				'sql' => 'remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'remarks' 
				),
				'encrypted' => false,
				'columnName' => 'remarks' 
			),
			array(
				'sql' => 'created_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'created_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'created_by_platform_user_id' 
			),
			array(
				'sql' => 'approved_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'approved_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by_platform_user_id' 
			),
			array(
				'sql' => 'posted_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'posted_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'posted_by_platform_user_id' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			),
			array(
				'sql' => 'approved_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'approved_at' 
				),
				'encrypted' => false,
				'columnName' => 'approved_at' 
			),
			array(
				'sql' => 'posted_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment',
					'name' => 'posted_at' 
				),
				'encrypted' => false,
				'columnName' => 'posted_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'supplier_payment',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'supplier_payment',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'supplier_payment_uuid',
						'company_id',
						'branch_id',
						'accounting_period_id',
						'payment_no',
						'payment_date',
						'supplier_id',
						'currency_code',
						'exchange_rate',
						'payment_method_id',
						'bank_account_id',
						'reference_no',
						'gross_payment_amount',
						'withholding_amount',
						'bank_charge_amount',
						'net_cash_amount',
						'applied_amount',
						'unapplied_amount',
						'approval_status',
						'document_status',
						'posting_status',
						'remarks',
						'created_by_platform_user_id',
						'approved_by_platform_user_id',
						'posted_by_platform_user_id',
						'created_at',
						'approved_at',
						'posted_at' 
					),
					'name' => 'supplier_payment' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	supplier_payment_uuid,
	company_id,
	branch_id,
	accounting_period_id,
	payment_no,
	payment_date,
	supplier_id,
	currency_code,
	exchange_rate,
	payment_method_id,
	bank_account_id,
	reference_no,
	gross_payment_amount,
	withholding_amount,
	bank_charge_amount,
	net_cash_amount,
	applied_amount,
	unapplied_amount,
	approval_status,
	document_status,
	posting_status,
	remarks,
	created_by_platform_user_id,
	approved_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	approved_at,
	posted_at',
		'fromListSql' => 'FROM
	supplier_payment',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'hasJsEvents' => true,
	'originalTable' => 'supplier_payment',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'supplier_payment_uuid',
			'company_id',
			'branch_id',
			'accounting_period_id',
			'payment_no',
			'payment_date',
			'supplier_id',
			'currency_code',
			'exchange_rate',
			'payment_method_id',
			'bank_account_id',
			'reference_no',
			'gross_payment_amount',
			'withholding_amount',
			'bank_charge_amount',
			'net_cash_amount',
			'applied_amount',
			'unapplied_amount',
			'approval_status',
			'document_status',
			'posting_status',
			'remarks',
			'created_by_platform_user_id',
			'approved_by_platform_user_id',
			'posted_by_platform_user_id',
			'created_at',
			'approved_at',
			'posted_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'supplier_payment_uuid',
			'company_id',
			'branch_id',
			'accounting_period_id',
			'payment_no',
			'payment_date',
			'supplier_id',
			'currency_code',
			'exchange_rate',
			'payment_method_id',
			'bank_account_id',
			'reference_no',
			'gross_payment_amount',
			'withholding_amount',
			'bank_charge_amount',
			'net_cash_amount',
			'applied_amount',
			'unapplied_amount',
			'approval_status',
			'document_status',
			'posting_status',
			'remarks',
			'created_by_platform_user_id',
			'approved_by_platform_user_id',
			'posted_by_platform_user_id',
			'created_at',
			'approved_at',
			'posted_at' 
		) 
	),
	'connId' => 'conn',
	'clickActions' => array(
		'row' => array(
			'action' => 'noaction' 
		),
		'fields' => array(
			 
		) 
	),
	'geoCoding' => array(
		'enabled' => false,
		'latField' => '',
		'lonField' => '',
		'addressFields' => array( 
			 
		) 
	),
	'whereTabs' => array( 
		 
	),
	'labels' => array(
		 
	),
	'chartSettings' => array(
		 
	),
	'dataSourceOperations' => array(
		 
	),
	'calendarSettings' => array(
		'categoryColors' => array( 
			 
		) 
	),
	'ganttSettings' => array(
		'categoryColors' => array( 
			 
		) 
	) 
);

global $runnerTableLabels;
if( mlang_getcurrentlang() === 'English' ) {
	$runnerTableLabels['supplier_payment'] = array(
	'tableCaption' => 'Supplier Payment',
	'fieldLabels' => array(
		'id' => 'Id',
		'supplier_payment_uuid' => 'Supplier Payment Uuid',
		'company_id' => 'Company Id',
		'branch_id' => 'Branch Id',
		'accounting_period_id' => 'Accounting Period Id',
		'payment_no' => 'Payment No',
		'payment_date' => 'Payment Date',
		'supplier_id' => 'Supplier Id',
		'currency_code' => 'Currency Code',
		'exchange_rate' => 'Exchange Rate',
		'payment_method_id' => 'Payment Method Id',
		'bank_account_id' => 'Bank Account Id',
		'reference_no' => 'Reference No',
		'gross_payment_amount' => 'Payment Amount',
		'withholding_amount' => 'Withholding Amount',
		'bank_charge_amount' => 'Bank Charge Amount',
		'net_cash_amount' => 'Net Cash Amount',
		'applied_amount' => 'Applied Amount',
		'unapplied_amount' => 'Unapplied Amount',
		'approval_status' => 'Approval Status',
		'document_status' => 'Document Status',
		'posting_status' => 'Posting Status',
		'remarks' => 'Remarks',
		'created_by_platform_user_id' => 'Created By Platform User Id',
		'approved_by_platform_user_id' => 'Approved By Platform User Id',
		'posted_by_platform_user_id' => 'Posted By Platform User Id',
		'created_at' => 'Created At',
		'approved_at' => 'Approved At',
		'posted_at' => 'Posted At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'supplier_payment_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'payment_no' => '',
		'payment_date' => '',
		'supplier_id' => '',
		'currency_code' => '',
		'exchange_rate' => '',
		'payment_method_id' => '',
		'bank_account_id' => '',
		'reference_no' => '',
		'gross_payment_amount' => '',
		'withholding_amount' => '',
		'bank_charge_amount' => '',
		'net_cash_amount' => '',
		'applied_amount' => '',
		'unapplied_amount' => '',
		'approval_status' => '',
		'document_status' => '',
		'posting_status' => '',
		'remarks' => '',
		'created_by_platform_user_id' => '',
		'approved_by_platform_user_id' => '',
		'posted_by_platform_user_id' => '',
		'created_at' => '',
		'approved_at' => '',
		'posted_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'supplier_payment_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'accounting_period_id' => '',
		'payment_no' => '',
		'payment_date' => '',
		'supplier_id' => '',
		'currency_code' => '',
		'exchange_rate' => '',
		'payment_method_id' => '',
		'bank_account_id' => '',
		'reference_no' => '',
		'gross_payment_amount' => '',
		'withholding_amount' => '',
		'bank_charge_amount' => '',
		'net_cash_amount' => '',
		'applied_amount' => '',
		'unapplied_amount' => '',
		'approval_status' => '',
		'document_status' => '',
		'posting_status' => '',
		'remarks' => '',
		'created_by_platform_user_id' => '',
		'approved_by_platform_user_id' => '',
		'posted_by_platform_user_id' => '',
		'created_at' => '',
		'approved_at' => '',
		'posted_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>