<?php
global $runnerTableSettings;
$runnerTableSettings['vw_pending_risp_for_stf'] = array(
	'name' => 'vw_pending_risp_for_stf',
	'shortName' => 'vw_pending_risp_for_stf',
	'pagesByType' => array(
		'list' => array( 
			'list' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'list' => 'list',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'list' => 'list',
		'search' => 'search' 
	),
	'afterEditDetails' => 'vw_pending_risp_for_stf',
	'afterAddDetail' => 'vw_pending_risp_for_stf',
	'detailsBadgeColor' => '7b68ee',
	'sql' => 'SELECT
	risp_id,
	risp_no,
	risp_date,
	production_work_order_id,
	production_plan_id,
	requesting_unit,
	receiving_warehouse_id,
	production_area,
	method_of_transfer,
	status,
	total_items,
	total_approved_qty,
	total_requested_qty
FROM
	vw_pending_risp_for_stf',
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'risp_id' => array(
			'name' => 'risp_id',
			'goodName' => 'risp_id',
			'strField' => 'risp_id',
			'index' => 1,
			'type' => 3,
			'sqlExpression' => 'risp_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'risp_no' => array(
			'name' => 'risp_no',
			'goodName' => 'risp_no',
			'strField' => 'risp_no',
			'index' => 2,
			'sqlExpression' => 'risp_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'risp_date' => array(
			'name' => 'risp_date',
			'goodName' => 'risp_date',
			'strField' => 'risp_date',
			'index' => 3,
			'type' => 7,
			'sqlExpression' => 'risp_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'production_work_order_id' => array(
			'name' => 'production_work_order_id',
			'goodName' => 'production_work_order_id',
			'strField' => 'production_work_order_id',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'production_work_order_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'production_plan_id' => array(
			'name' => 'production_plan_id',
			'goodName' => 'production_plan_id',
			'strField' => 'production_plan_id',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'production_plan_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'requesting_unit' => array(
			'name' => 'requesting_unit',
			'goodName' => 'requesting_unit',
			'strField' => 'requesting_unit',
			'index' => 6,
			'sqlExpression' => 'requesting_unit',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'receiving_warehouse_id' => array(
			'name' => 'receiving_warehouse_id',
			'goodName' => 'receiving_warehouse_id',
			'strField' => 'receiving_warehouse_id',
			'index' => 7,
			'type' => 3,
			'sqlExpression' => 'receiving_warehouse_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'production_area' => array(
			'name' => 'production_area',
			'goodName' => 'production_area',
			'strField' => 'production_area',
			'index' => 8,
			'sqlExpression' => 'production_area',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'method_of_transfer' => array(
			'name' => 'method_of_transfer',
			'goodName' => 'method_of_transfer',
			'strField' => 'method_of_transfer',
			'index' => 9,
			'sqlExpression' => 'method_of_transfer',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'status' => array(
			'name' => 'status',
			'goodName' => 'status',
			'strField' => 'status',
			'index' => 10,
			'sqlExpression' => 'status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'total_items' => array(
			'name' => 'total_items',
			'goodName' => 'total_items',
			'strField' => 'total_items',
			'index' => 11,
			'type' => 3,
			'sqlExpression' => 'total_items',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'total_approved_qty' => array(
			'name' => 'total_approved_qty',
			'goodName' => 'total_approved_qty',
			'strField' => 'total_approved_qty',
			'index' => 12,
			'type' => 14,
			'sqlExpression' => 'total_approved_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		),
		'total_requested_qty' => array(
			'name' => 'total_requested_qty',
			'goodName' => 'total_requested_qty',
			'strField' => 'total_requested_qty',
			'index' => 13,
			'type' => 14,
			'sqlExpression' => 'total_requested_qty',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'vw_pending_risp_for_stf' 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	risp_id,
	risp_no,
	risp_date,
	production_work_order_id,
	production_plan_id,
	requesting_unit,
	receiving_warehouse_id,
	production_area,
	method_of_transfer,
	status,
	total_items,
	total_approved_qty,
	total_requested_qty
FROM
	vw_pending_risp_for_stf',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'risp_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'risp_id' 
				),
				'encrypted' => false,
				'columnName' => 'risp_id' 
			),
			array(
				'sql' => 'risp_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'risp_no' 
				),
				'encrypted' => false,
				'columnName' => 'risp_no' 
			),
			array(
				'sql' => 'risp_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'risp_date' 
				),
				'encrypted' => false,
				'columnName' => 'risp_date' 
			),
			array(
				'sql' => 'production_work_order_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'production_work_order_id' 
				),
				'encrypted' => false,
				'columnName' => 'production_work_order_id' 
			),
			array(
				'sql' => 'production_plan_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'production_plan_id' 
				),
				'encrypted' => false,
				'columnName' => 'production_plan_id' 
			),
			array(
				'sql' => 'requesting_unit',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'requesting_unit' 
				),
				'encrypted' => false,
				'columnName' => 'requesting_unit' 
			),
			array(
				'sql' => 'receiving_warehouse_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'receiving_warehouse_id' 
				),
				'encrypted' => false,
				'columnName' => 'receiving_warehouse_id' 
			),
			array(
				'sql' => 'production_area',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'production_area' 
				),
				'encrypted' => false,
				'columnName' => 'production_area' 
			),
			array(
				'sql' => 'method_of_transfer',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'method_of_transfer' 
				),
				'encrypted' => false,
				'columnName' => 'method_of_transfer' 
			),
			array(
				'sql' => 'status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'status' 
				),
				'encrypted' => false,
				'columnName' => 'status' 
			),
			array(
				'sql' => 'total_items',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'total_items' 
				),
				'encrypted' => false,
				'columnName' => 'total_items' 
			),
			array(
				'sql' => 'total_approved_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'total_approved_qty' 
				),
				'encrypted' => false,
				'columnName' => 'total_approved_qty' 
			),
			array(
				'sql' => 'total_requested_qty',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'vw_pending_risp_for_stf',
					'name' => 'total_requested_qty' 
				),
				'encrypted' => false,
				'columnName' => 'total_requested_qty' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'vw_pending_risp_for_stf',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'vw_pending_risp_for_stf',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'risp_id',
						'risp_no',
						'risp_date',
						'production_work_order_id',
						'production_plan_id',
						'requesting_unit',
						'receiving_warehouse_id',
						'production_area',
						'method_of_transfer',
						'status',
						'total_items',
						'total_approved_qty',
						'total_requested_qty' 
					),
					'name' => 'vw_pending_risp_for_stf' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'risp_id,
	risp_no,
	risp_date,
	production_work_order_id,
	production_plan_id,
	requesting_unit,
	receiving_warehouse_id,
	production_area,
	method_of_transfer,
	status,
	total_items,
	total_approved_qty,
	total_requested_qty',
		'fromListSql' => 'FROM
	vw_pending_risp_for_stf',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasJsEvents' => true,
	'originalTable' => 'vw_pending_risp_for_stf',
	'originalPagesByType' => array(
		'list' => array( 
			'list' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'list' => 'list',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'list' => 'list',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'risp_id',
			'risp_no',
			'risp_date',
			'production_work_order_id',
			'production_plan_id',
			'requesting_unit',
			'receiving_warehouse_id',
			'production_area',
			'method_of_transfer',
			'status',
			'total_items',
			'total_approved_qty',
			'total_requested_qty' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'risp_id',
			'risp_no',
			'risp_date',
			'production_work_order_id',
			'production_plan_id',
			'requesting_unit',
			'receiving_warehouse_id',
			'production_area',
			'method_of_transfer',
			'status',
			'total_items',
			'total_approved_qty',
			'total_requested_qty' 
		) 
	),
	'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_pending_risp_for_stf'] = array(
	'tableCaption' => 'View Pending RISP for STF',
	'fieldLabels' => array(
		'risp_id' => 'RISP ID',
		'risp_no' => 'RISP No.',
		'risp_date' => 'RISP Date',
		'production_work_order_id' => 'Production Work Order ID',
		'production_plan_id' => 'Production Plan ID',
		'requesting_unit' => 'Requesting Unit',
		'receiving_warehouse_id' => 'Receiving Warehouse ID',
		'production_area' => 'Production Area',
		'method_of_transfer' => 'Method of Transfer',
		'status' => 'Status',
		'total_items' => 'Total Items',
		'total_approved_qty' => 'Total Approved Qty',
		'total_requested_qty' => 'Total Requested Qty' 
	),
	'fieldTooltips' => array(
		'risp_id' => '',
		'risp_no' => '',
		'risp_date' => '',
		'production_work_order_id' => '',
		'production_plan_id' => '',
		'requesting_unit' => '',
		'receiving_warehouse_id' => '',
		'production_area' => '',
		'method_of_transfer' => '',
		'status' => '',
		'total_items' => '',
		'total_approved_qty' => '',
		'total_requested_qty' => '' 
	),
	'fieldPlaceholders' => array(
		'risp_id' => '',
		'risp_no' => '',
		'risp_date' => '',
		'production_work_order_id' => '',
		'production_plan_id' => '',
		'requesting_unit' => '',
		'receiving_warehouse_id' => '',
		'production_area' => '',
		'method_of_transfer' => '',
		'status' => '',
		'total_items' => '',
		'total_approved_qty' => '',
		'total_requested_qty' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>