<?php
global $runnerTableSettings;
$runnerTableSettings['supplier_payment_application'] = array(
	'name' => 'supplier_payment_application',
	'shortName' => 'supplier_payment_application',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'afterEditDetails' => 'supplier_payment_application',
	'afterAddDetail' => 'supplier_payment_application',
	'detailsBadgeColor' => '000',
	'sql' => 'SELECT
	id,
	supplier_payment_application_uuid,
	supplier_payment_id,
	supplier_bill_id,
	applied_amount,
	discount_taken_amount,
	withholding_applied_amount,
	applied_at
FROM
	supplier_payment_application',
	'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_application' 
		),
		'supplier_payment_application_uuid' => array(
			'name' => 'supplier_payment_application_uuid',
			'goodName' => 'supplier_payment_application_uuid',
			'strField' => 'supplier_payment_application_uuid',
			'index' => 2,
			'sqlExpression' => 'supplier_payment_application_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment_application' 
		),
		'supplier_payment_id' => array(
			'name' => 'supplier_payment_id',
			'goodName' => 'supplier_payment_id',
			'strField' => 'supplier_payment_id',
			'index' => 3,
			'type' => 20,
			'sqlExpression' => 'supplier_payment_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment_application',
			'viewLinkTable' => 'supplier_payment',
			'viewLinkLookup' => false 
		),
		'supplier_bill_id' => array(
			'name' => 'supplier_bill_id',
			'goodName' => 'supplier_bill_id',
			'strField' => 'supplier_bill_id',
			'index' => 4,
			'type' => 20,
			'sqlExpression' => 'supplier_bill_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'supplier_bill',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'bill_no',
					'lookupOrderBy' => 'bill_no' 
				) 
			),
			'tableName' => 'supplier_payment_application',
			'viewLinkTable' => 'supplier_bill',
			'viewLinkLookup' => true 
		),
		'applied_amount' => array(
			'name' => 'applied_amount',
			'goodName' => 'applied_amount',
			'strField' => 'applied_amount',
			'index' => 5,
			'type' => 14,
			'sqlExpression' => 'applied_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'supplier_payment_application' 
		),
		'discount_taken_amount' => array(
			'name' => 'discount_taken_amount',
			'goodName' => 'discount_taken_amount',
			'strField' => 'discount_taken_amount',
			'index' => 6,
			'type' => 14,
			'sqlExpression' => 'discount_taken_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'supplier_payment_application' 
		),
		'withholding_applied_amount' => array(
			'name' => 'withholding_applied_amount',
			'goodName' => 'withholding_applied_amount',
			'strField' => 'withholding_applied_amount',
			'index' => 7,
			'type' => 14,
			'sqlExpression' => 'withholding_applied_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'supplier_payment_application' 
		),
		'applied_at' => array(
			'name' => 'applied_at',
			'goodName' => 'applied_at',
			'strField' => 'applied_at',
			'index' => 8,
			'type' => 135,
			'sqlExpression' => 'applied_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'supplier_payment_application' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'supplier_payment',
			'detailsKeys' => array( 
				'supplier_payment_id' 
			),
			'masterKeys' => array( 
				'id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	supplier_payment_application_uuid,
	supplier_payment_id,
	supplier_bill_id,
	applied_amount,
	discount_taken_amount,
	withholding_applied_amount,
	applied_at
FROM
	supplier_payment_application',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment_application',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'supplier_payment_application_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment_application',
					'name' => 'supplier_payment_application_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_payment_application_uuid' 
			),
			array(
				'sql' => 'supplier_payment_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment_application',
					'name' => 'supplier_payment_id' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_payment_id' 
			),
			array(
				'sql' => 'supplier_bill_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment_application',
					'name' => 'supplier_bill_id' 
				),
				'encrypted' => false,
				'columnName' => 'supplier_bill_id' 
			),
			array(
				'sql' => 'applied_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment_application',
					'name' => 'applied_amount' 
				),
				'encrypted' => false,
				'columnName' => 'applied_amount' 
			),
			array(
				'sql' => 'discount_taken_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment_application',
					'name' => 'discount_taken_amount' 
				),
				'encrypted' => false,
				'columnName' => 'discount_taken_amount' 
			),
			array(
				'sql' => 'withholding_applied_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment_application',
					'name' => 'withholding_applied_amount' 
				),
				'encrypted' => false,
				'columnName' => 'withholding_applied_amount' 
			),
			array(
				'sql' => 'applied_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'supplier_payment_application',
					'name' => 'applied_at' 
				),
				'encrypted' => false,
				'columnName' => 'applied_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'supplier_payment_application',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'supplier_payment_application',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'supplier_payment_application_uuid',
						'supplier_payment_id',
						'supplier_bill_id',
						'applied_amount',
						'discount_taken_amount',
						'withholding_applied_amount',
						'applied_at' 
					),
					'name' => 'supplier_payment_application' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	supplier_payment_application_uuid,
	supplier_payment_id,
	supplier_bill_id,
	applied_amount,
	discount_taken_amount,
	withholding_applied_amount,
	applied_at',
		'fromListSql' => 'FROM
	supplier_payment_application',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'originalTable' => 'supplier_payment_application',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'supplier_payment_application_uuid',
			'supplier_payment_id',
			'supplier_bill_id',
			'applied_amount',
			'discount_taken_amount',
			'withholding_applied_amount',
			'applied_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'supplier_payment_application_uuid',
			'supplier_payment_id',
			'supplier_bill_id',
			'applied_amount',
			'discount_taken_amount',
			'withholding_applied_amount',
			'applied_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_application'] = array(
	'tableCaption' => 'Supplier Payment Application',
	'fieldLabels' => array(
		'id' => 'Id',
		'supplier_payment_application_uuid' => 'Supplier Payment Application Uuid',
		'supplier_payment_id' => 'Supplier Payment Id',
		'supplier_bill_id' => 'Supplier Bill Id',
		'applied_amount' => 'Applied Amount',
		'discount_taken_amount' => 'Discount Taken Amount',
		'withholding_applied_amount' => 'Withholding Applied Amount',
		'applied_at' => 'Applied At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'supplier_payment_application_uuid' => '',
		'supplier_payment_id' => '',
		'supplier_bill_id' => '',
		'applied_amount' => '',
		'discount_taken_amount' => '',
		'withholding_applied_amount' => '',
		'applied_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'supplier_payment_application_uuid' => '',
		'supplier_payment_id' => '',
		'supplier_bill_id' => '',
		'applied_amount' => '',
		'discount_taken_amount' => '',
		'withholding_applied_amount' => '',
		'applied_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>