<?php
global $runnerTableSettings;
$runnerTableSettings['subscription_suite'] = array(
	'name' => 'subscription_suite',
	'shortName' => 'subscription_suite',
	'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' => 'subscription_suite',
	'afterAddDetail' => 'subscription_suite',
	'detailsBadgeColor' => 'dc143c',
	'sql' => 'SELECT
	id,
	subscription_id,
	suite_id,
	suite_status,
	quantity,
	unit_price,
	discount_amount,
	activated_at,
	deactivates_at,
	price_locked_until,
	created_at,
	updated_at
FROM
	subscription_suite',
	'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' => 'subscription_suite' 
		),
		'subscription_id' => array(
			'name' => 'subscription_id',
			'goodName' => 'subscription_id',
			'strField' => 'subscription_id',
			'index' => 2,
			'type' => 20,
			'sqlExpression' => 'subscription_id',
			'viewFormats' => array(
				'view' => array(
					'viewLink' => true 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'subscription',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'subscription_no' 
				) 
			),
			'tableName' => 'subscription_suite',
			'viewLinkTable' => 'subscription',
			'viewLinkLookup' => true 
		),
		'suite_id' => array(
			'name' => 'suite_id',
			'goodName' => 'suite_id',
			'strField' => 'suite_id',
			'index' => 3,
			'type' => 20,
			'sqlExpression' => 'suite_id',
			'viewFormats' => array(
				'view' => array(
					'viewLink' => true 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'suite',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'suite_code' 
				) 
			),
			'tableName' => 'subscription_suite',
			'viewLinkTable' => 'suite',
			'viewLinkLookup' => true 
		),
		'suite_status' => array(
			'name' => 'suite_status',
			'goodName' => 'suite_status',
			'strField' => 'suite_status',
			'index' => 4,
			'sqlExpression' => 'suite_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'subscription_suite' 
		),
		'quantity' => array(
			'name' => 'quantity',
			'goodName' => 'quantity',
			'strField' => 'quantity',
			'index' => 5,
			'type' => 14,
			'sqlExpression' => 'quantity',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'subscription_suite' 
		),
		'unit_price' => array(
			'name' => 'unit_price',
			'goodName' => 'unit_price',
			'strField' => 'unit_price',
			'index' => 6,
			'type' => 14,
			'sqlExpression' => 'unit_price',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'subscription_suite' 
		),
		'discount_amount' => array(
			'name' => 'discount_amount',
			'goodName' => 'discount_amount',
			'strField' => 'discount_amount',
			'index' => 7,
			'type' => 14,
			'sqlExpression' => 'discount_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'subscription_suite' 
		),
		'activated_at' => array(
			'name' => 'activated_at',
			'goodName' => 'activated_at',
			'strField' => 'activated_at',
			'index' => 8,
			'type' => 135,
			'sqlExpression' => 'activated_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'subscription_suite' 
		),
		'deactivates_at' => array(
			'name' => 'deactivates_at',
			'goodName' => 'deactivates_at',
			'strField' => 'deactivates_at',
			'index' => 9,
			'type' => 135,
			'sqlExpression' => 'deactivates_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'subscription_suite' 
		),
		'price_locked_until' => array(
			'name' => 'price_locked_until',
			'goodName' => 'price_locked_until',
			'strField' => 'price_locked_until',
			'index' => 10,
			'type' => 135,
			'sqlExpression' => 'price_locked_until',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'subscription_suite' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 11,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'subscription_suite' 
		),
		'updated_at' => array(
			'name' => 'updated_at',
			'goodName' => 'updated_at',
			'strField' => 'updated_at',
			'index' => 12,
			'type' => 135,
			'sqlExpression' => 'updated_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'subscription_suite' 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'subscription',
			'detailsKeys' => array( 
				'subscription_id' 
			),
			'masterKeys' => array( 
				'id' 
			) 
		),
		array(
			'table' => 'suite',
			'detailsKeys' => array( 
				'suite_id' 
			),
			'masterKeys' => array( 
				'id' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	subscription_id,
	suite_id,
	suite_status,
	quantity,
	unit_price,
	discount_amount,
	activated_at,
	deactivates_at,
	price_locked_until,
	created_at,
	updated_at
FROM
	subscription_suite',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'subscription_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'subscription_id' 
				),
				'encrypted' => false,
				'columnName' => 'subscription_id' 
			),
			array(
				'sql' => 'suite_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'suite_id' 
				),
				'encrypted' => false,
				'columnName' => 'suite_id' 
			),
			array(
				'sql' => 'suite_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'suite_status' 
				),
				'encrypted' => false,
				'columnName' => 'suite_status' 
			),
			array(
				'sql' => 'quantity',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'quantity' 
				),
				'encrypted' => false,
				'columnName' => 'quantity' 
			),
			array(
				'sql' => 'unit_price',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'unit_price' 
				),
				'encrypted' => false,
				'columnName' => 'unit_price' 
			),
			array(
				'sql' => 'discount_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'discount_amount' 
				),
				'encrypted' => false,
				'columnName' => 'discount_amount' 
			),
			array(
				'sql' => 'activated_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'activated_at' 
				),
				'encrypted' => false,
				'columnName' => 'activated_at' 
			),
			array(
				'sql' => 'deactivates_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'deactivates_at' 
				),
				'encrypted' => false,
				'columnName' => 'deactivates_at' 
			),
			array(
				'sql' => 'price_locked_until',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'price_locked_until' 
				),
				'encrypted' => false,
				'columnName' => 'price_locked_until' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			),
			array(
				'sql' => 'updated_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'subscription_suite',
					'name' => 'updated_at' 
				),
				'encrypted' => false,
				'columnName' => 'updated_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'subscription_suite',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'subscription_suite',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'subscription_id',
						'suite_id',
						'suite_status',
						'quantity',
						'unit_price',
						'discount_amount',
						'activated_at',
						'deactivates_at',
						'price_locked_until',
						'created_at',
						'updated_at' 
					),
					'name' => 'subscription_suite' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	subscription_id,
	suite_id,
	suite_status,
	quantity,
	unit_price,
	discount_amount,
	activated_at,
	deactivates_at,
	price_locked_until,
	created_at,
	updated_at',
		'fromListSql' => 'FROM
	subscription_suite',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'subscription_suite',
	'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',
			'subscription_id',
			'suite_id',
			'suite_status',
			'quantity',
			'unit_price',
			'discount_amount',
			'activated_at',
			'deactivates_at',
			'price_locked_until',
			'created_at',
			'updated_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'subscription_id',
			'suite_id',
			'suite_status',
			'quantity',
			'unit_price',
			'discount_amount',
			'activated_at',
			'deactivates_at',
			'price_locked_until',
			'created_at',
			'updated_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['subscription_suite'] = array(
	'tableCaption' => 'Subscription Suite',
	'fieldLabels' => array(
		'id' => 'Id',
		'subscription_id' => 'Subscription Id',
		'suite_id' => 'Suite Id',
		'suite_status' => 'Suite Status',
		'quantity' => 'Quantity',
		'unit_price' => 'Unit Price',
		'discount_amount' => 'Discount Amount',
		'activated_at' => 'Activated At',
		'deactivates_at' => 'Deactivates At',
		'price_locked_until' => 'Price Locked Until',
		'created_at' => 'Created At',
		'updated_at' => 'Updated At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'subscription_id' => '',
		'suite_id' => '',
		'suite_status' => '',
		'quantity' => '',
		'unit_price' => '',
		'discount_amount' => '',
		'activated_at' => '',
		'deactivates_at' => '',
		'price_locked_until' => '',
		'created_at' => '',
		'updated_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'subscription_id' => '',
		'suite_id' => '',
		'suite_status' => '',
		'quantity' => '',
		'unit_price' => '',
		'discount_amount' => '',
		'activated_at' => '',
		'deactivates_at' => '',
		'price_locked_until' => '',
		'created_at' => '',
		'updated_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>