<?php
global $runnerTableSettings;
$runnerTableSettings['reconditioning_output'] = array(
	'name' => 'reconditioning_output',
	'shortName' => 'reconditioning_output',
	'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' => 'reconditioning_output',
	'afterAddDetail' => 'reconditioning_output',
	'detailsBadgeColor' => 'bc8f8f',
	'sql' => 'SELECT
	reconditioning_output_id,
	reconditioning_wo_id,
	output_item_id,
	output_batch_no,
	output_lot_no,
	output_qty,
	expiry_date,
	remarks
FROM
	reconditioning_output',
	'keyFields' => array( 
		'reconditioning_output_id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'reconditioning_output_id' => array(
			'name' => 'reconditioning_output_id',
			'goodName' => 'reconditioning_output_id',
			'strField' => 'reconditioning_output_id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'reconditioning_output_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'reconditioning_output' 
		),
		'reconditioning_wo_id' => array(
			'name' => 'reconditioning_wo_id',
			'goodName' => 'reconditioning_wo_id',
			'strField' => 'reconditioning_wo_id',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'reconditioning_wo_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'reconditioning_output' 
		),
		'output_item_id' => array(
			'name' => 'output_item_id',
			'goodName' => 'output_item_id',
			'strField' => 'output_item_id',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'output_item_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupTable' => 'component',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'reference_number' 
				) 
			),
			'tableName' => 'reconditioning_output' 
		),
		'output_batch_no' => array(
			'name' => 'output_batch_no',
			'goodName' => 'output_batch_no',
			'strField' => 'output_batch_no',
			'index' => 4,
			'sqlExpression' => 'output_batch_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'reconditioning_output' 
		),
		'output_lot_no' => array(
			'name' => 'output_lot_no',
			'goodName' => 'output_lot_no',
			'strField' => 'output_lot_no',
			'index' => 5,
			'sqlExpression' => 'output_lot_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'reconditioning_output' 
		),
		'output_qty' => array(
			'name' => 'output_qty',
			'goodName' => 'output_qty',
			'strField' => 'output_qty',
			'index' => 6,
			'type' => 14,
			'sqlExpression' => 'output_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'reconditioning_output' 
		),
		'expiry_date' => array(
			'name' => 'expiry_date',
			'goodName' => 'expiry_date',
			'strField' => 'expiry_date',
			'index' => 7,
			'type' => 7,
			'sqlExpression' => 'expiry_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'reconditioning_output' 
		),
		'remarks' => array(
			'name' => 'remarks',
			'goodName' => 'remarks',
			'strField' => 'remarks',
			'index' => 8,
			'type' => 201,
			'sqlExpression' => 'remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'reconditioning_output' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	reconditioning_output_id,
	reconditioning_wo_id,
	output_item_id,
	output_batch_no,
	output_lot_no,
	output_qty,
	expiry_date,
	remarks
FROM
	reconditioning_output',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'reconditioning_output_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'reconditioning_output',
					'name' => 'reconditioning_output_id' 
				),
				'encrypted' => false,
				'columnName' => 'reconditioning_output_id' 
			),
			array(
				'sql' => 'reconditioning_wo_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'reconditioning_output',
					'name' => 'reconditioning_wo_id' 
				),
				'encrypted' => false,
				'columnName' => 'reconditioning_wo_id' 
			),
			array(
				'sql' => 'output_item_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'reconditioning_output',
					'name' => 'output_item_id' 
				),
				'encrypted' => false,
				'columnName' => 'output_item_id' 
			),
			array(
				'sql' => 'output_batch_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'reconditioning_output',
					'name' => 'output_batch_no' 
				),
				'encrypted' => false,
				'columnName' => 'output_batch_no' 
			),
			array(
				'sql' => 'output_lot_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'reconditioning_output',
					'name' => 'output_lot_no' 
				),
				'encrypted' => false,
				'columnName' => 'output_lot_no' 
			),
			array(
				'sql' => 'output_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'reconditioning_output',
					'name' => 'output_qty' 
				),
				'encrypted' => false,
				'columnName' => 'output_qty' 
			),
			array(
				'sql' => 'expiry_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'reconditioning_output',
					'name' => 'expiry_date' 
				),
				'encrypted' => false,
				'columnName' => 'expiry_date' 
			),
			array(
				'sql' => 'remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'reconditioning_output',
					'name' => 'remarks' 
				),
				'encrypted' => false,
				'columnName' => 'remarks' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'reconditioning_output',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'reconditioning_output',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'reconditioning_output_id',
						'reconditioning_wo_id',
						'output_item_id',
						'output_batch_no',
						'output_lot_no',
						'output_qty',
						'expiry_date',
						'remarks' 
					),
					'name' => 'reconditioning_output' 
				),
				'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' => 'reconditioning_output_id,
	reconditioning_wo_id,
	output_item_id,
	output_batch_no,
	output_lot_no,
	output_qty,
	expiry_date,
	remarks',
		'fromListSql' => 'FROM
	reconditioning_output',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'reconditioning_output',
	'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( 
			'reconditioning_output_id',
			'reconditioning_wo_id',
			'output_item_id',
			'output_batch_no',
			'output_lot_no',
			'output_qty',
			'expiry_date',
			'remarks' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'reconditioning_output_id',
			'reconditioning_wo_id',
			'output_item_id',
			'output_batch_no',
			'output_lot_no',
			'output_qty',
			'expiry_date',
			'remarks' 
		) 
	),
	'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['reconditioning_output'] = array(
	'tableCaption' => 'Reconditioning Output',
	'fieldLabels' => array(
		'reconditioning_output_id' => 'Reconditioning Output ID',
		'reconditioning_wo_id' => 'Reconditioning Wo ID',
		'output_item_id' => 'Output Item ID',
		'output_batch_no' => 'Output Batch No.',
		'output_lot_no' => 'Output Lot No.',
		'output_qty' => 'Output Qty',
		'expiry_date' => 'Expiry Date',
		'remarks' => 'Remarks' 
	),
	'fieldTooltips' => array(
		'reconditioning_output_id' => '',
		'reconditioning_wo_id' => '',
		'output_item_id' => '',
		'output_batch_no' => '',
		'output_lot_no' => '',
		'output_qty' => '',
		'expiry_date' => '',
		'remarks' => '' 
	),
	'fieldPlaceholders' => array(
		'reconditioning_output_id' => '',
		'reconditioning_wo_id' => '',
		'output_item_id' => '',
		'output_batch_no' => '',
		'output_lot_no' => '',
		'output_qty' => '',
		'expiry_date' => '',
		'remarks' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>