<?php
global $runnerTableSettings;
$runnerTableSettings['socio_dp'] = array(
	'name' => 'socio_dp',
	'shortName' => 'socio_dp',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'edit' => array( 
			'edit' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		),
		'view' => array( 
			'view' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'edit' => 'edit',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search',
		'view' => 'view' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'edit' => 'edit',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search',
		'view' => 'view' 
	),
	'audit' => true,
	'locking' => true,
	'detailsBadgeColor' => '778899',
	'pageSizeSelectorRecords' => array( 
		'10',
		'20',
		'30',
		'50',
		'100',
		'500',
		'-1' 
	),
	'pageSizeSelectorGroups' => array( 
		'1',
		'3',
		'5',
		'10',
		'50',
		'100',
		'-1' 
	),
	'warnLeavingEdit' => true,
	'sql' => 'SELECT
	id_s_dp ,
	id_Socio,
	tipo_accionista,
	id_dp,

	id_constitucion

FROM socio_dp',
	'keyFields' => array( 
		'id_s_dp' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id_s_dp' => array(
			'name' => 'id_s_dp',
			'goodName' => 'id_s_dp',
			'strField' => 'id_s_dp',
			'sourceSingle' => 'id_s_dp',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'id_s_dp',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'required' => true,
					'validateAs' => 'Number',
					'validateRegexMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'denyDuplicateMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'textHTML5Input' => '0',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'defaultSearchOption' => 'Contains',
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'id_Socio' => array(
			'name' => 'id_Socio',
			'goodName' => 'id_Socio',
			'strField' => 'id_Socio',
			'sourceSingle' => 'id_Socio',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'id_Socio',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'validateAs' => 'Number',
					'textHTML5Input' => '0',
					'lookupType' => 2,
					'lookupTable' => 'socio',
					'lookupTableConnection' => 'bsn_dividendos_at_localhost',
					'lookupLinkField' => 'id_Socio',
					'lookupDisplayField' => 'concat( ci, \' - \', apellido_Paterno, \' \', apellido_Materno, \' \', apellido_Casada, \' \', nombres )',
					'lookupCustomDisplay' => true,
					'lookupControlType' => 2,
					'lookupListPage' => 'list',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'tipo_accionista' => array(
			'name' => 'tipo_accionista',
			'goodName' => 'tipo_accionista',
			'strField' => 'tipo_accionista',
			'sourceSingle' => 'tipo_accionista',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'tipo_accionista',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'validateAs' => 'Number',
					'textHTML5Input' => '0',
					'lookupType' => 2,
					'lookupTable' => 'aux',
					'lookupTableConnection' => 'bsn_dividendos_at_localhost',
					'lookupLinkField' => 'id_aux',
					'lookupDisplayField' => 'nombre',
					'lookupWhere' => 'valor  like \'TIPO_SOCIO\'',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'id_dp' => array(
			'name' => 'id_dp',
			'goodName' => 'id_dp',
			'strField' => 'id_dp',
			'sourceSingle' => 'id_dp',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'id_dp',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'validateAs' => 'Number',
					'textHTML5Input' => '0',
					'lookupType' => 2,
					'lookupTable' => 'derecho_propietario',
					'lookupTableConnection' => 'bsn_dividendos_at_localhost',
					'lookupLinkField' => 'id_derecho_Propietario',
					'lookupDisplayField' => 'id_derecho_Propietario',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'id_constitucion' => array(
			'name' => 'id_constitucion',
			'goodName' => 'id_constitucion',
			'strField' => 'id_constitucion',
			'sourceSingle' => 'id_constitucion',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'id_constitucion',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'validateAs' => 'Number',
					'textHTML5Input' => '0',
					'lookupType' => 2,
					'lookupTable' => 'constitucion',
					'lookupTableConnection' => 'bsn_dividendos_at_localhost',
					'lookupLinkField' => 'id_constitucion',
					'lookupDisplayField' => 'id_constitucion',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'derecho_propietario',
			'detailsKeys' => array( 
				'id_dp',
				'id_constitucion' 
			),
			'masterKeys' => array( 
				'id_derecho_Propietario',
				'id_constitucion' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	id_s_dp ,
	id_Socio,
	tipo_accionista,
	id_dp,

	id_constitucion

FROM socio_dp',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id_s_dp',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'socio_dp',
					'name' => 'id_s_dp' 
				),
				'encrypted' => false,
				'columnName' => 'id_s_dp' 
			),
			array(
				'sql' => 'id_Socio',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'socio_dp',
					'name' => 'id_Socio' 
				),
				'encrypted' => false,
				'columnName' => 'id_Socio' 
			),
			array(
				'sql' => 'tipo_accionista',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'socio_dp',
					'name' => 'tipo_accionista' 
				),
				'encrypted' => false,
				'columnName' => 'tipo_accionista' 
			),
			array(
				'sql' => 'id_dp',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'socio_dp',
					'name' => 'id_dp' 
				),
				'encrypted' => false,
				'columnName' => 'id_dp' 
			),
			array(
				'sql' => 'id_constitucion',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'socio_dp',
					'name' => 'id_constitucion' 
				),
				'encrypted' => false,
				'columnName' => 'id_constitucion' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'socio_dp',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'socio_dp',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id_Socio',
						'tipo_accionista',
						'id_dp',
						'id_gestion',
						'id_constitucion',
						'id_s_dp' 
					),
					'name' => 'socio_dp' 
				),
				'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 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id_s_dp ,
	id_Socio,
	tipo_accionista,
	id_dp,

	id_constitucion',
		'fromListSql' => 'FROM socio_dp',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'originalTable' => 'socio_dp',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'edit' => array( 
			'edit' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		),
		'view' => array( 
			'view' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'edit' => 'edit',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search',
		'view' => 'view' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'edit' => 'edit',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'print' => 'print',
		'search' => 'search',
		'view' => 'view' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => '',
		'searchableFields' => array( 
			'id_s_dp',
			'id_Socio',
			'tipo_accionista',
			'id_dp',
			'id_constitucion' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id_s_dp',
			'id_Socio',
			'tipo_accionista',
			'id_dp',
			'id_constitucion' 
		) 
	),
	'connId' => 'bsn_dividendos_at_localhost',
	'sortByFields' => array(
		'sortOrder' => array( 
			 
		) 
	),
	'clickActions' => array(
		'row' => array(
			'action' => 'noaction' 
		),
		'fields' => array(
			 
		) 
	),
	'geoCoding' => array(
		'enabled' => false,
		'latField' => '',
		'lonField' => '',
		'addressFields' => array( 
			 
		) 
	),
	'whereTabs' => array( 
		 
	),
	'labels' => array(
		 
	),
	'chartSettings' => array(
		 
	),
	'dataSourceOperations' => array(
		 
	) 
);

global $runnerTableLabels;
if( mlang_getcurrentlang() === 'Spanish' ) {
	$runnerTableLabels['socio_dp'] = array(
	'tableCaption' => 'Derecho P. Socio',
	'fieldLabels' => array(
		'id_s_dp' => 'Id S Dp',
		'id_Socio' => 'Id Socio',
		'tipo_accionista' => 'Tipo Accionista',
		'id_dp' => 'Id Dp',
		'id_constitucion' => 'Id Constitucion' 
	),
	'fieldTooltips' => array(
		'id_s_dp' => '',
		'id_Socio' => '',
		'tipo_accionista' => '',
		'id_dp' => '',
		'id_constitucion' => '' 
	),
	'fieldPlaceholders' => array(
		'id_s_dp' => '',
		'id_Socio' => '',
		'tipo_accionista' => '',
		'id_dp' => '',
		'id_constitucion' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>