<?php
global $runnerTableSettings;
$runnerTableSettings['derecho_propietario_2'] = array(
	'name' => 'derecho_propietario_2',
	'shortName' => 'derecho_propietario_2',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'edit' => array( 
			'edit' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		),
		'view' => array( 
			'view' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'edit' => 'edit',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'print' => 'print',
		'search' => 'search',
		'view' => 'view' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'edit' => 'edit',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'print' => 'print',
		'search' => 'search',
		'view' => 'view' 
	),
	'audit' => true,
	'locking' => true,
	'afterAddAction' => 2,
	'detailsBadgeColor' => '4682b4',
	'pageSizeSelectorRecords' => array( 
		'10',
		'20',
		'30',
		'50',
		'100',
		'500',
		'-1' 
	),
	'pageSizeSelectorGroups' => array( 
		'1',
		'3',
		'5',
		'10',
		'50',
		'100',
		'-1' 
	),
	'warnLeavingEdit' => true,
	'sql' => 'SELECT
	derecho_propietario_2.id_derecho_Propietario,
	derecho_propietario_2.gestion,
	derecho_propietario_2.accionista,
	derecho_propietario_2.fecha_Emision,
	derecho_propietario_2.nro_Acciones_Literal,
	derecho_propietario_2.total_bs,
	derecho_propietario_2.total_bs_literal,
	derecho_propietario_2.estado_titulo,
	derecho_propietario_2.id_constitucion,
	derecho_propietario_2.responsable,
	derecho_propietario_2.nro_Acciones_2,
	union_acciones_total.total_Acciones,
	derecho_propietario_2.sub_total_acciones,
	derecho_propietario_2.total_acumulado,
	derecho_propietario_2.responsable_devolucion
FROM
	derecho_propietario_2
	INNER JOIN union_acciones_total ON union_acciones_total.id_socio = derecho_propietario_2.accionista
',
	'keyFields' => array( 
		'id_derecho_Propietario' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id_derecho_Propietario' => array(
			'name' => 'id_derecho_Propietario',
			'goodName' => 'id_derecho_Propietario',
			'strField' => 'id_derecho_Propietario',
			'sourceSingle' => 'id_derecho_Propietario',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'derecho_propietario_2.id_derecho_Propietario',
			'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' 
			) 
		),
		'gestion' => array(
			'name' => 'gestion',
			'goodName' => 'gestion',
			'strField' => 'gestion',
			'sourceSingle' => 'gestion',
			'index' => 2,
			'type' => 3,
			'sqlExpression' => 'derecho_propietario_2.gestion',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'validateAs' => 'Number',
					'textHTML5Input' => '0',
					'lookupType' => 2,
					'lookupTable' => 'gestion',
					'lookupTableConnection' => 'bsn_dividendos_at_localhost',
					'lookupLinkField' => 'id_Gestion',
					'lookupDisplayField' => 'nombre',
					'lookupWhere' => 'estado = 1',
					'lookupDependent' => true,
					'lookupDependentFields' => array( 
						array(
							'masterField' => 'id_constitucion',
							'lookupField' => 'id_constitucion' 
						) 
					),
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'accionista' => array(
			'name' => 'accionista',
			'goodName' => 'accionista',
			'strField' => 'accionista',
			'sourceSingle' => 'accionista',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'derecho_propietario_2.accionista',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'validateAs' => 'Number',
					'denyDuplicateMessage' => array(
						'text' => 'Accionista %value% ya tiene datos registrados',
						'type' => 0 
					),
					'textHTML5Input' => '0',
					'lookupType' => 2,
					'lookupTable' => 'socio',
					'lookupTableConnection' => 'bsn_dividendos_at_localhost',
					'lookupLinkField' => 'id_Socio',
					'lookupDisplayField' => ' 
 concat(ci,\'- \',apellido_Paterno ,\' \',nombres ) 
',
					'lookupCustomDisplay' => true,
					'lookupControlType' => 2,
					'lookupWhere' => 'tipo_accionista=29',
					'lookupListPage' => 'list',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'defaultSearchOption' => 'Contains',
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'fecha_Emision' => array(
			'name' => 'fecha_Emision',
			'goodName' => 'fecha_Emision',
			'strField' => 'fecha_Emision',
			'sourceSingle' => 'fecha_Emision',
			'index' => 4,
			'type' => 135,
			'sqlExpression' => 'derecho_propietario_2.fecha_Emision',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date',
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'required' => true,
					'defaultValue' => 'now()',
					'autoUpdateValue' => 'now()',
					'validateRegexMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'textHTML5Input' => '0',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'dateEditType' => 2,
					'dateShowTime' => true,
					'dateFirstYearFactor' => 50,
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'nro_Acciones_Literal' => array(
			'name' => 'nro_Acciones_Literal',
			'goodName' => 'nro_Acciones_Literal',
			'strField' => 'nro_Acciones_Literal',
			'sourceSingle' => 'nro_Acciones_Literal',
			'index' => 5,
			'sqlExpression' => 'derecho_propietario_2.nro_Acciones_Literal',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'validateRegexMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'denyDuplicateMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'textboxMaxLenth' => 255,
					'textHTML5Input' => '0',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'defaultSearchOption' => 'Contains',
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'total_bs' => array(
			'name' => 'total_bs',
			'goodName' => 'total_bs',
			'strField' => 'total_bs',
			'sourceSingle' => 'total_bs',
			'index' => 6,
			'type' => 14,
			'sqlExpression' => 'derecho_propietario_2.total_bs',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number',
					'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' 
			) 
		),
		'total_bs_literal' => array(
			'name' => 'total_bs_literal',
			'goodName' => 'total_bs_literal',
			'strField' => 'total_bs_literal',
			'sourceSingle' => 'total_bs_literal',
			'index' => 7,
			'sqlExpression' => 'derecho_propietario_2.total_bs_literal',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'validateRegexMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'denyDuplicateMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'textboxMaxLenth' => 255,
					'textHTML5Input' => '0',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'defaultSearchOption' => 'Contains',
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'estado_titulo' => array(
			'name' => 'estado_titulo',
			'goodName' => 'estado_titulo',
			'strField' => 'estado_titulo',
			'sourceSingle' => 'estado_titulo',
			'index' => 8,
			'type' => 3,
			'sqlExpression' => 'derecho_propietario_2.estado_titulo',
			'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' => 'nombre like \'PRE-VENTA\'',
					'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' => 9,
			'type' => 3,
			'sqlExpression' => 'derecho_propietario_2.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' 
			) 
		),
		'responsable' => array(
			'name' => 'responsable',
			'goodName' => 'responsable',
			'strField' => 'responsable',
			'sourceSingle' => 'responsable',
			'index' => 10,
			'sqlExpression' => 'derecho_propietario_2.responsable',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'defaultValue' => '$_SESSION[\'user_id\']',
					'autoUpdateValue' => '$_SESSION[\'user_id\']',
					'textboxMaxLenth' => 255,
					'textHTML5Input' => '0',
					'lookupType' => 2,
					'lookupTable' => 'sta_rosa_users',
					'lookupTableConnection' => 'bsn_dividendos_at_localhost',
					'lookupLinkField' => 'ID',
					'lookupDisplayField' => 'fullname',
					'lookupWhere' => 'ID = \':session.user_id\'',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'nro_Acciones_2' => array(
			'name' => 'nro_Acciones_2',
			'goodName' => 'nro_Acciones_2',
			'strField' => 'nro_Acciones_2',
			'sourceSingle' => 'nro_Acciones_2',
			'index' => 11,
			'type' => 14,
			'sqlExpression' => 'derecho_propietario_2.nro_Acciones_2',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number',
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'validateAs' => 'Number',
					'textHTML5Input' => '0',
					'lookupType' => 0,
					'lookupValues' => array( 
						'15',
						'30',
						'45',
						'60',
						'75',
						'90',
						'105',
						'120' 
					),
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'total_Acciones' => array(
			'name' => 'total_Acciones',
			'goodName' => 'total_Acciones',
			'strField' => 'total_Acciones',
			'sourceSingle' => 'total_acciones',
			'index' => 12,
			'type' => 14,
			'sqlExpression' => 'union_acciones_total.total_Acciones',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'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' 
			) 
		),
		'sub_total_acciones' => array(
			'name' => 'sub_total_acciones',
			'goodName' => 'sub_total_acciones',
			'strField' => 'sub_total_acciones',
			'sourceSingle' => 'sub_total_acciones',
			'index' => 13,
			'type' => 14,
			'sqlExpression' => 'derecho_propietario_2.sub_total_acciones',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'validateAs' => 'Number',
					'textHTML5Input' => '0',
					'lookupTable' => 'union_acciones_total',
					'lookupTableConnection' => 'bsn_dividendos_at_localhost',
					'lookupLinkField' => 'total_Acciones',
					'lookupDisplayField' => 'total_Acciones',
					'lookupDependent' => true,
					'lookupDependentFields' => array( 
						array(
							'masterField' => 'accionista',
							'lookupField' => 'id_socio' 
						) 
					),
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'total_acumulado' => array(
			'name' => 'total_acumulado',
			'goodName' => 'total_acumulado',
			'strField' => 'total_acumulado',
			'sourceSingle' => 'total_acumulado',
			'index' => 14,
			'type' => 14,
			'sqlExpression' => 'derecho_propietario_2.total_acumulado',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'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' 
			) 
		),
		'responsable_devolucion' => array(
			'name' => 'responsable_devolucion',
			'goodName' => 'responsable_devolucion',
			'strField' => 'responsable_devolucion',
			'index' => 15,
			'sqlExpression' => 'derecho_propietario_2.responsable_devolucion',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'required' => true,
					'defaultValue' => '$_SESSION[\'user_id\']',
					'autoUpdateValue' => '$_SESSION[\'user_id\']',
					'textboxMaxLenth' => 255,
					'textHTML5Input' => '0',
					'lookupType' => 2,
					'lookupTable' => 'sta_rosa_users',
					'lookupTableConnection' => 'bsn_dividendos_at_localhost',
					'lookupLinkField' => 'ID',
					'lookupDisplayField' => 'fullname',
					'lookupWhere' => 'ID = \':session.user_id\'',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		) 
	),
	'masterTables' => array( 
		array(
			'table' => 'constitucion_empresa',
			'detailsKeys' => array( 
				'id_constitucion' 
			),
			'masterKeys' => array( 
				'id_constitucion' 
			) 
		) 
	),
	'query' => array(
		'sql' => 'SELECT
	derecho_propietario_2.id_derecho_Propietario,
	derecho_propietario_2.gestion,
	derecho_propietario_2.accionista,
	derecho_propietario_2.fecha_Emision,
	derecho_propietario_2.nro_Acciones_Literal,
	derecho_propietario_2.total_bs,
	derecho_propietario_2.total_bs_literal,
	derecho_propietario_2.estado_titulo,
	derecho_propietario_2.id_constitucion,
	derecho_propietario_2.responsable,
	derecho_propietario_2.nro_Acciones_2,
	union_acciones_total.total_Acciones,
	derecho_propietario_2.sub_total_acciones,
	derecho_propietario_2.total_acumulado,
	derecho_propietario_2.responsable_devolucion
FROM
	derecho_propietario_2
	INNER JOIN union_acciones_total ON union_acciones_total.id_socio = derecho_propietario_2.accionista
',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'derecho_propietario_2.id_derecho_Propietario',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'id_derecho_Propietario' 
				),
				'encrypted' => false,
				'columnName' => 'id_derecho_Propietario' 
			),
			array(
				'sql' => 'derecho_propietario_2.gestion',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'gestion' 
				),
				'encrypted' => false,
				'columnName' => 'gestion' 
			),
			array(
				'sql' => 'derecho_propietario_2.accionista',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'accionista' 
				),
				'encrypted' => false,
				'columnName' => 'accionista' 
			),
			array(
				'sql' => 'derecho_propietario_2.fecha_Emision',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'fecha_Emision' 
				),
				'encrypted' => false,
				'columnName' => 'fecha_Emision' 
			),
			array(
				'sql' => 'derecho_propietario_2.nro_Acciones_Literal',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'nro_Acciones_Literal' 
				),
				'encrypted' => false,
				'columnName' => 'nro_Acciones_Literal' 
			),
			array(
				'sql' => 'derecho_propietario_2.total_bs',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'total_bs' 
				),
				'encrypted' => false,
				'columnName' => 'total_bs' 
			),
			array(
				'sql' => 'derecho_propietario_2.total_bs_literal',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'total_bs_literal' 
				),
				'encrypted' => false,
				'columnName' => 'total_bs_literal' 
			),
			array(
				'sql' => 'derecho_propietario_2.estado_titulo',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'estado_titulo' 
				),
				'encrypted' => false,
				'columnName' => 'estado_titulo' 
			),
			array(
				'sql' => 'derecho_propietario_2.id_constitucion',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'id_constitucion' 
				),
				'encrypted' => false,
				'columnName' => 'id_constitucion' 
			),
			array(
				'sql' => 'derecho_propietario_2.responsable',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'responsable' 
				),
				'encrypted' => false,
				'columnName' => 'responsable' 
			),
			array(
				'sql' => 'derecho_propietario_2.nro_Acciones_2',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'nro_Acciones_2' 
				),
				'encrypted' => false,
				'columnName' => 'nro_Acciones_2' 
			),
			array(
				'sql' => 'union_acciones_total.total_Acciones',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'union_acciones_total',
					'name' => 'total_Acciones' 
				),
				'encrypted' => false,
				'columnName' => 'total_Acciones' 
			),
			array(
				'sql' => 'derecho_propietario_2.sub_total_acciones',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'sub_total_acciones' 
				),
				'encrypted' => false,
				'columnName' => 'sub_total_acciones' 
			),
			array(
				'sql' => 'derecho_propietario_2.total_acumulado',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'total_acumulado' 
				),
				'encrypted' => false,
				'columnName' => 'total_acumulado' 
			),
			array(
				'sql' => 'derecho_propietario_2.responsable_devolucion',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'derecho_propietario_2',
					'name' => 'responsable_devolucion' 
				),
				'encrypted' => false,
				'columnName' => 'responsable_devolucion' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'derecho_propietario_2',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'derecho_propietario_2',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id_derecho_Propietario',
						'gestion',
						'nro_Partido',
						'nro_Folio',
						'accionista',
						'nro_Titulo',
						'nro_Acciones_2',
						'serie_Acciones',
						'estado_Pago',
						'tipo_Acciones',
						'gravamen',
						'fecha_Emision',
						'fecha_Inscripcion',
						'clase_Acciones',
						'nro_Acciones_Literal',
						'total_bs',
						'total_bs_literal',
						'estado_titulo',
						'saldo_Acciones_A',
						'saldo_Acciones',
						'id_constitucion',
						'responsable',
						'sub_total_acciones',
						'total_acumulado',
						'responsable_devolucion',
						'fecha_devolucion' 
					),
					'name' => 'derecho_propietario_2' 
				),
				'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 
			),
			array(
				'sql' => 'INNER JOIN union_acciones_total ON union_acciones_total.id_socio = derecho_propietario_2.accionista',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'union_acciones_total',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id_socio',
						'total_Acciones' 
					),
					'name' => 'union_acciones_total' 
				),
				'joinOn' => array(
					'sql' => 'union_acciones_total.id_socio = derecho_propietario_2.accionista',
					'parsed' => true,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => array(
						'sql' => '',
						'parsed' => true,
						'type' => 'SQLField',
						'table' => 'union_acciones_total',
						'name' => 'id_socio' 
					),
					'case' => '= derecho_propietario_2.accionista',
					'useAlias' => false 
				),
				'joinList' => array(
					'sql' => 'union_acciones_total.id_socio = derecho_propietario_2.accionista',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						array(
							'sql' => '',
							'parsed' => true,
							'type' => 'SQLField',
							'table' => 'union_acciones_total',
							'name' => 'id_socio' 
						) 
					),
					'field2' => array( 
						array(
							'sql' => '',
							'parsed' => true,
							'type' => 'SQLField',
							'table' => 'derecho_propietario_2',
							'name' => 'accionista' 
						) 
					) 
				),
				'link' => 1 
			) 
		),
		'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 
			),
			array(
				'fieldIndex' => 13,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 14,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'derecho_propietario_2.id_derecho_Propietario,
	derecho_propietario_2.gestion,
	derecho_propietario_2.accionista,
	derecho_propietario_2.fecha_Emision,
	derecho_propietario_2.nro_Acciones_Literal,
	derecho_propietario_2.total_bs,
	derecho_propietario_2.total_bs_literal,
	derecho_propietario_2.estado_titulo,
	derecho_propietario_2.id_constitucion,
	derecho_propietario_2.responsable,
	derecho_propietario_2.nro_Acciones_2,
	union_acciones_total.total_Acciones,
	derecho_propietario_2.sub_total_acciones,
	derecho_propietario_2.total_acumulado,
	derecho_propietario_2.responsable_devolucion',
		'fromListSql' => 'FROM
	derecho_propietario_2
	INNER JOIN union_acciones_total ON union_acciones_total.id_socio = derecho_propietario_2.accionista',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'hasJsEvents' => true,
	'originalTable' => 'derecho_propietario_2',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'edit' => array( 
			'edit' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'list' => array( 
			'list' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'print' => array( 
			'print' 
		),
		'search' => array( 
			'search' 
		),
		'view' => array( 
			'view' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'edit' => 'edit',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'print' => 'print',
		'search' => 'search',
		'view' => 'view' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'edit' => 'edit',
		'export' => 'export',
		'import' => 'import',
		'list' => 'list',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'print' => 'print',
		'search' => 'search',
		'view' => 'view' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => '',
		'searchableFields' => array( 
			'id_derecho_Propietario',
			'gestion',
			'accionista',
			'fecha_Emision',
			'nro_Acciones_Literal',
			'total_bs',
			'total_bs_literal',
			'estado_titulo',
			'id_constitucion',
			'responsable',
			'nro_Acciones_2',
			'total_Acciones',
			'sub_total_acciones',
			'total_acumulado',
			'responsable_devolucion' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id_derecho_Propietario',
			'gestion',
			'accionista',
			'fecha_Emision',
			'nro_Acciones_Literal',
			'total_bs',
			'total_bs_literal',
			'estado_titulo',
			'id_constitucion',
			'responsable',
			'nro_Acciones_2',
			'total_Acciones',
			'sub_total_acciones',
			'total_acumulado',
			'responsable_devolucion' 
		) 
	),
	'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['derecho_propietario_2'] = array(
	'tableCaption' => 'Pre Ventas',
	'fieldLabels' => array(
		'id_derecho_Propietario' => 'Id Pre Venta',
		'gestion' => 'Gestion',
		'accionista' => 'Accionista',
		'fecha_Emision' => 'Fecha',
		'nro_Acciones_Literal' => 'Nro Acciones Literal',
		'total_bs' => 'Total Bs',
		'total_bs_literal' => 'Total Bs Literal',
		'estado_titulo' => 'Estado Titulo',
		'id_constitucion' => 'Id Constitucion',
		'responsable' => 'Responsable',
		'nro_Acciones_2' => 'Acciones Preventa',
		'total_Acciones' => 'Total Acciones',
		'sub_total_acciones' => 'Acumulado Acciones',
		'total_acumulado' => 'Total Acciones',
		'responsable_devolucion' => 'Responsable Devolucion' 
	),
	'fieldTooltips' => array(
		'id_derecho_Propietario' => '',
		'gestion' => '',
		'accionista' => '',
		'fecha_Emision' => '',
		'nro_Acciones_Literal' => '',
		'total_bs' => '',
		'total_bs_literal' => '',
		'estado_titulo' => '',
		'id_constitucion' => '',
		'responsable' => '',
		'nro_Acciones_2' => '',
		'total_Acciones' => '',
		'sub_total_acciones' => '',
		'total_acumulado' => '',
		'responsable_devolucion' => '' 
	),
	'fieldPlaceholders' => array(
		'id_derecho_Propietario' => '',
		'gestion' => '',
		'accionista' => '',
		'fecha_Emision' => '',
		'nro_Acciones_Literal' => '',
		'total_bs' => '',
		'total_bs_literal' => '',
		'estado_titulo' => '',
		'id_constitucion' => '',
		'responsable' => '',
		'nro_Acciones_2' => '',
		'total_Acciones' => '',
		'sub_total_acciones' => '',
		'total_acumulado' => '',
		'responsable_devolucion' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>