<?php
global $runnerTableSettings;
$runnerTableSettings['constitucion_empresa_titulo'] = array(
	'name' => 'constitucion_empresa_titulo',
	'type' => 1,
	'shortName' => 'constitucion_empresa_titulo',
	'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,
	'detailsBadgeColor' => 'CD853F',
	'pageSizeSelectorRecords' => array( 
		'10',
		'20',
		'30',
		'50',
		'100',
		'500',
		'-1' 
	),
	'pageSizeSelectorGroups' => array( 
		'1',
		'3',
		'5',
		'10',
		'50',
		'100',
		'-1' 
	),
	'warnLeavingEdit' => true,
	'sql' => 'SELECT
c.id_constitucion,
c.fecha_constitucion,
c.acciones_emitidas,
c.valor_nominal,
c.capital_autorizado,
c.capital_pagado,
c.serie_acciones,
c.clases_acciones,
c.duracion,
c.domicilio,
c.lugar_constitucion,
c.matricula_comercio,
c.fecha_inicial,
c.fecha_final,
c.id_Empresa,
e.nombre,
e.nit,
a_c.acciones_Asignado,
a_c.saldo_Acciones,
a_c.acciones_emitidas AS Acciones_emita
FROM constitucion AS c
INNER JOIN empresa AS e ON c.id_Empresa = e.id_Empresa
LEFT OUTER JOIN acciones_constitucion AS a_c ON c.id_constitucion = a_c.id_constitucion
',
	'keyFields' => array( 
		'id_constitucion' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id_constitucion' => array(
			'name' => 'id_constitucion',
			'goodName' => 'id_constitucion',
			'strField' => 'id_constitucion',
			'sourceSingle' => 'id_constitucion',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'c.id_constitucion',
			'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 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'fecha_constitucion' => array(
			'name' => 'fecha_constitucion',
			'goodName' => 'fecha_constitucion',
			'strField' => 'fecha_constitucion',
			'sourceSingle' => 'fecha_constitucion',
			'index' => 2,
			'type' => 7,
			'sqlExpression' => 'c.fecha_constitucion',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date',
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'validateRegexMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'denyDuplicateMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'textHTML5Input' => '0',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'dateEditType' => 13,
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'acciones_emitidas' => array(
			'name' => 'acciones_emitidas',
			'goodName' => 'acciones_emitidas',
			'strField' => 'acciones_emitidas',
			'sourceSingle' => 'acciones_emitidas',
			'index' => 3,
			'type' => 14,
			'sqlExpression' => 'c.acciones_emitidas',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number',
					'numberFractionalDigits' => 0 
				) 
			),
			'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' 
			) 
		),
		'valor_nominal' => array(
			'name' => 'valor_nominal',
			'goodName' => 'valor_nominal',
			'strField' => 'valor_nominal',
			'sourceSingle' => 'valor_nominal',
			'index' => 4,
			'type' => 14,
			'sqlExpression' => 'c.valor_nominal',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number',
					'numberFractionalDigits' => 0 
				) 
			),
			'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' 
			) 
		),
		'capital_autorizado' => array(
			'name' => 'capital_autorizado',
			'goodName' => 'capital_autorizado',
			'strField' => 'capital_autorizado',
			'sourceSingle' => 'capital_autorizado',
			'index' => 5,
			'type' => 14,
			'sqlExpression' => 'c.capital_autorizado',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number',
					'numberFractionalDigits' => 0 
				) 
			),
			'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' 
			) 
		),
		'capital_pagado' => array(
			'name' => 'capital_pagado',
			'goodName' => 'capital_pagado',
			'strField' => 'capital_pagado',
			'sourceSingle' => 'capital_pagado',
			'index' => 6,
			'type' => 14,
			'sqlExpression' => 'c.capital_pagado',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number',
					'numberFractionalDigits' => 0 
				) 
			),
			'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' 
			) 
		),
		'serie_acciones' => array(
			'name' => 'serie_acciones',
			'goodName' => 'serie_acciones',
			'strField' => 'serie_acciones',
			'sourceSingle' => 'serie_acciones',
			'index' => 7,
			'sqlExpression' => 'c.serie_acciones',
			'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' 
			) 
		),
		'clases_acciones' => array(
			'name' => 'clases_acciones',
			'goodName' => 'clases_acciones',
			'strField' => 'clases_acciones',
			'sourceSingle' => 'clases_acciones',
			'index' => 8,
			'sqlExpression' => 'c.clases_acciones',
			'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' 
			) 
		),
		'duracion' => array(
			'name' => 'duracion',
			'goodName' => 'duracion',
			'strField' => 'duracion',
			'sourceSingle' => 'duracion',
			'index' => 9,
			'sqlExpression' => 'c.duracion',
			'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' 
			) 
		),
		'domicilio' => array(
			'name' => 'domicilio',
			'goodName' => 'domicilio',
			'strField' => 'domicilio',
			'sourceSingle' => 'domicilio',
			'index' => 10,
			'sqlExpression' => 'c.domicilio',
			'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' 
			) 
		),
		'lugar_constitucion' => array(
			'name' => 'lugar_constitucion',
			'goodName' => 'lugar_constitucion',
			'strField' => 'lugar_constitucion',
			'sourceSingle' => 'lugar_constitucion',
			'index' => 11,
			'sqlExpression' => 'c.lugar_constitucion',
			'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' 
			) 
		),
		'matricula_comercio' => array(
			'name' => 'matricula_comercio',
			'goodName' => 'matricula_comercio',
			'strField' => 'matricula_comercio',
			'sourceSingle' => 'matricula_comercio',
			'index' => 12,
			'sqlExpression' => 'c.matricula_comercio',
			'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' 
			) 
		),
		'fecha_inicial' => array(
			'name' => 'fecha_inicial',
			'goodName' => 'fecha_inicial',
			'strField' => 'fecha_inicial',
			'sourceSingle' => 'fecha_inicial',
			'index' => 13,
			'type' => 7,
			'sqlExpression' => 'c.fecha_inicial',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date',
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'validateRegexMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'denyDuplicateMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'textHTML5Input' => '0',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'dateEditType' => 13,
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'fecha_final' => array(
			'name' => 'fecha_final',
			'goodName' => 'fecha_final',
			'strField' => 'fecha_final',
			'sourceSingle' => 'fecha_final',
			'index' => 14,
			'type' => 7,
			'sqlExpression' => 'c.fecha_final',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date',
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'validateRegexMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'denyDuplicateMessage' => array(
						'text' => '',
						'type' => 0 
					),
					'textHTML5Input' => '0',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'dateEditType' => 13,
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'id_Empresa' => array(
			'name' => 'id_Empresa',
			'goodName' => 'id_Empresa',
			'strField' => 'id_Empresa',
			'sourceSingle' => 'id_Empresa',
			'index' => 15,
			'type' => 3,
			'sqlExpression' => 'c.id_Empresa',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'validateAs' => 'Number',
					'textHTML5Input' => '0',
					'lookupType' => 2,
					'lookupTable' => 'empresa',
					'lookupTableConnection' => 'bsn_dividendos_at_localhost',
					'lookupLinkField' => 'id_Empresa',
					'lookupDisplayField' => 'nombre',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'nombre' => array(
			'name' => 'nombre',
			'goodName' => 'nombre',
			'strField' => 'nombre',
			'index' => 16,
			'sqlExpression' => 'e.nombre',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'textHTML5Input' => '0',
					'lookupType' => 2,
					'lookupTable' => 'empresa',
					'lookupTableConnection' => 'bsn_dividendos_at_localhost',
					'lookupLinkField' => 'id_Empresa',
					'lookupDisplayField' => 'nombre',
					'fileMaxNumber' => 1,
					'fileThumbnailField' => 'th',
					'timeConvention' => 1 
				) 
			),
			'filterFormat' => array(
				'format' => 'Values list' 
			) 
		),
		'nit' => array(
			'name' => 'nit',
			'goodName' => 'nit',
			'strField' => 'nit',
			'index' => 17,
			'sqlExpression' => 'e.nit',
			'viewFormats' => array(
				'view' => array(
					'numberFractionalDigits' => 0 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'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' 
			) 
		),
		'acciones_Asignado' => array(
			'name' => 'acciones_Asignado',
			'goodName' => 'acciones_Asignado',
			'strField' => 'acciones_Asignado',
			'index' => 18,
			'type' => 14,
			'sqlExpression' => 'a_c.acciones_Asignado',
			'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' 
			) 
		),
		'saldo_Acciones' => array(
			'name' => 'saldo_Acciones',
			'goodName' => 'saldo_Acciones',
			'strField' => 'saldo_Acciones',
			'index' => 19,
			'type' => 14,
			'sqlExpression' => 'a_c.saldo_Acciones',
			'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' 
			) 
		),
		'Acciones_emita' => array(
			'name' => 'Acciones_emita',
			'goodName' => 'Acciones_emita',
			'strField' => 'acciones_emitidas',
			'index' => 20,
			'type' => 14,
			'sqlExpression' => 'a_c.acciones_emitidas',
			'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' 
			) 
		) 
	),
	'detailsTables' => array( 
		'Titulos_pendientes',
		'Titulos_entregados' 
	),
	'query' => array(
		'sql' => 'SELECT
c.id_constitucion,
c.fecha_constitucion,
c.acciones_emitidas,
c.valor_nominal,
c.capital_autorizado,
c.capital_pagado,
c.serie_acciones,
c.clases_acciones,
c.duracion,
c.domicilio,
c.lugar_constitucion,
c.matricula_comercio,
c.fecha_inicial,
c.fecha_final,
c.id_Empresa,
e.nombre,
e.nit,
a_c.acciones_Asignado,
a_c.saldo_Acciones,
a_c.acciones_emitidas AS Acciones_emita
FROM constitucion AS c
INNER JOIN empresa AS e ON c.id_Empresa = e.id_Empresa
LEFT OUTER JOIN acciones_constitucion AS a_c ON c.id_constitucion = a_c.id_constitucion
',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'c.id_constitucion',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'id_constitucion' 
				),
				'encrypted' => false,
				'columnName' => 'id_constitucion' 
			),
			array(
				'sql' => 'c.fecha_constitucion',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'fecha_constitucion' 
				),
				'encrypted' => false,
				'columnName' => 'fecha_constitucion' 
			),
			array(
				'sql' => 'c.acciones_emitidas',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'acciones_emitidas' 
				),
				'encrypted' => false,
				'columnName' => 'acciones_emitidas' 
			),
			array(
				'sql' => 'c.valor_nominal',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'valor_nominal' 
				),
				'encrypted' => false,
				'columnName' => 'valor_nominal' 
			),
			array(
				'sql' => 'c.capital_autorizado',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'capital_autorizado' 
				),
				'encrypted' => false,
				'columnName' => 'capital_autorizado' 
			),
			array(
				'sql' => 'c.capital_pagado',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'capital_pagado' 
				),
				'encrypted' => false,
				'columnName' => 'capital_pagado' 
			),
			array(
				'sql' => 'c.serie_acciones',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'serie_acciones' 
				),
				'encrypted' => false,
				'columnName' => 'serie_acciones' 
			),
			array(
				'sql' => 'c.clases_acciones',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'clases_acciones' 
				),
				'encrypted' => false,
				'columnName' => 'clases_acciones' 
			),
			array(
				'sql' => 'c.duracion',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'duracion' 
				),
				'encrypted' => false,
				'columnName' => 'duracion' 
			),
			array(
				'sql' => 'c.domicilio',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'domicilio' 
				),
				'encrypted' => false,
				'columnName' => 'domicilio' 
			),
			array(
				'sql' => 'c.lugar_constitucion',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'lugar_constitucion' 
				),
				'encrypted' => false,
				'columnName' => 'lugar_constitucion' 
			),
			array(
				'sql' => 'c.matricula_comercio',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'matricula_comercio' 
				),
				'encrypted' => false,
				'columnName' => 'matricula_comercio' 
			),
			array(
				'sql' => 'c.fecha_inicial',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'fecha_inicial' 
				),
				'encrypted' => false,
				'columnName' => 'fecha_inicial' 
			),
			array(
				'sql' => 'c.fecha_final',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'fecha_final' 
				),
				'encrypted' => false,
				'columnName' => 'fecha_final' 
			),
			array(
				'sql' => 'c.id_Empresa',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'c',
					'name' => 'id_Empresa' 
				),
				'encrypted' => false,
				'columnName' => 'id_Empresa' 
			),
			array(
				'sql' => 'e.nombre',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'e',
					'name' => 'nombre' 
				),
				'encrypted' => false,
				'columnName' => 'nombre' 
			),
			array(
				'sql' => 'e.nit',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'e',
					'name' => 'nit' 
				),
				'encrypted' => false,
				'columnName' => 'nit' 
			),
			array(
				'sql' => 'a_c.acciones_Asignado',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'a_c',
					'name' => 'acciones_Asignado' 
				),
				'encrypted' => false,
				'columnName' => 'acciones_Asignado' 
			),
			array(
				'sql' => 'a_c.saldo_Acciones',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'a_c',
					'name' => 'saldo_Acciones' 
				),
				'encrypted' => false,
				'columnName' => 'saldo_Acciones' 
			),
			array(
				'sql' => 'a_c.acciones_emitidas',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => 'Acciones_emita',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'a_c',
					'name' => 'acciones_emitidas' 
				),
				'encrypted' => false,
				'columnName' => 'Acciones_emita' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'constitucion AS c',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'constitucion',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id_constitucion',
						'fecha_constitucion',
						'acciones_emitidas',
						'valor_nominal',
						'capital_autorizado',
						'capital_pagado',
						'serie_acciones',
						'clases_acciones',
						'duracion',
						'domicilio',
						'lugar_constitucion',
						'matricula_comercio',
						'fecha_inicial',
						'fecha_final',
						'id_Empresa',
						'presidente_constitucion',
						'secretario_constitucion',
						'sindico_constitucion' 
					),
					'name' => 'constitucion' 
				),
				'joinOn' => array(
					'sql' => '',
					'parsed' => false,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => null 
				),
				'joinList' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						 
					),
					'field2' => array( 
						 
					) 
				),
				'alias' => 'c',
				'link' => 0 
			),
			array(
				'sql' => 'INNER JOIN empresa AS e ON c.id_Empresa = e.id_Empresa',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'empresa',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id_Empresa',
						'nombre',
						'nit',
						'matricula_Comercio',
						'capital_Autorizado',
						'capital_Pagado',
						'lugar_Constitucion',
						'fecha_Constitucion',
						'duracion',
						'domicilio',
						'url_report' 
					),
					'name' => 'empresa' 
				),
				'joinOn' => array(
					'sql' => 'e.id_Empresa = c.id_Empresa',
					'parsed' => true,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => array(
						'sql' => '',
						'parsed' => true,
						'type' => 'SQLField',
						'table' => 'e',
						'name' => 'id_Empresa' 
					),
					'case' => '= c.id_Empresa',
					'useAlias' => false 
				),
				'joinList' => array(
					'sql' => 'c.id_Empresa = e.id_Empresa',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						array(
							'sql' => '',
							'parsed' => true,
							'type' => 'SQLField',
							'table' => 'e',
							'name' => 'id_Empresa' 
						) 
					),
					'field2' => array( 
						array(
							'sql' => '',
							'parsed' => true,
							'type' => 'SQLField',
							'table' => 'c',
							'name' => 'id_Empresa' 
						) 
					) 
				),
				'alias' => 'e',
				'link' => 1 
			),
			array(
				'sql' => 'LEFT OUTER JOIN acciones_constitucion AS a_c ON c.id_constitucion = a_c.id_constitucion',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'acciones_constitucion',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						 
					),
					'name' => 'acciones_constitucion' 
				),
				'joinOn' => array(
					'sql' => 'a_c.id_constitucion = c.id_constitucion',
					'parsed' => true,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => array(
						'sql' => '',
						'parsed' => true,
						'type' => 'SQLField',
						'table' => 'a_c',
						'name' => 'id_constitucion' 
					),
					'case' => '= c.id_constitucion',
					'useAlias' => false 
				),
				'joinList' => array(
					'sql' => 'c.id_constitucion = a_c.id_constitucion',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						array(
							'sql' => '',
							'parsed' => true,
							'type' => 'SQLField',
							'table' => 'a_c',
							'name' => 'id_constitucion' 
						) 
					),
					'field2' => array( 
						array(
							'sql' => '',
							'parsed' => true,
							'type' => 'SQLField',
							'table' => 'c',
							'name' => 'id_constitucion' 
						) 
					) 
				),
				'alias' => 'a_c',
				'link' => 3 
			) 
		),
		'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 
			),
			array(
				'fieldIndex' => 15,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 16,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 17,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 18,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 19,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'c.id_constitucion,
c.fecha_constitucion,
c.acciones_emitidas,
c.valor_nominal,
c.capital_autorizado,
c.capital_pagado,
c.serie_acciones,
c.clases_acciones,
c.duracion,
c.domicilio,
c.lugar_constitucion,
c.matricula_comercio,
c.fecha_inicial,
c.fecha_final,
c.id_Empresa,
e.nombre,
e.nit,
a_c.acciones_Asignado,
a_c.saldo_Acciones,
a_c.acciones_emitidas AS Acciones_emita',
		'fromListSql' => 'FROM constitucion AS c
INNER JOIN empresa AS e ON c.id_Empresa = e.id_Empresa
LEFT OUTER JOIN acciones_constitucion AS a_c ON c.id_constitucion = a_c.id_constitucion',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasJsEvents' => true,
	'originalTable' => 'constitucion',
	'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_constitucion',
			'fecha_constitucion',
			'acciones_emitidas',
			'valor_nominal',
			'capital_autorizado',
			'capital_pagado',
			'serie_acciones',
			'clases_acciones',
			'duracion',
			'domicilio',
			'lugar_constitucion',
			'matricula_comercio',
			'fecha_inicial',
			'fecha_final',
			'id_Empresa',
			'nombre',
			'nit',
			'acciones_Asignado',
			'saldo_Acciones',
			'Acciones_emita' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'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['constitucion_empresa_titulo'] = array(
	'tableCaption' => 'Constitucion Empresa Titulo',
	'fieldLabels' => array(
		'id_constitucion' => 'Constitucion',
		'fecha_constitucion' => 'Fecha Constitucion',
		'acciones_emitidas' => 'Acciones Emitidas',
		'valor_nominal' => 'Valor Nominal',
		'capital_autorizado' => 'Capital Autorizado',
		'capital_pagado' => 'Capital Pagado',
		'serie_acciones' => 'Serie Acciones',
		'clases_acciones' => 'Clases Acciones',
		'duracion' => 'Duracion',
		'domicilio' => 'Domicilio',
		'lugar_constitucion' => 'Lugar Constitucion',
		'matricula_comercio' => 'Lista Derecho Propietario',
		'fecha_inicial' => 'Fecha Actualizacion',
		'fecha_final' => 'Fecha Final',
		'id_Empresa' => 'Id Empresa',
		'nombre' => 'Nombre',
		'nit' => 'Nit',
		'acciones_Asignado' => 'Acciones Asignado',
		'saldo_Acciones' => 'Saldo Acciones',
		'Acciones_emita' => 'Acciones Emita' 
	),
	'fieldTooltips' => array(
		'id_constitucion' => '',
		'fecha_constitucion' => '',
		'acciones_emitidas' => '',
		'valor_nominal' => '',
		'capital_autorizado' => '',
		'capital_pagado' => '',
		'serie_acciones' => '',
		'clases_acciones' => '',
		'duracion' => '',
		'domicilio' => '',
		'lugar_constitucion' => '',
		'matricula_comercio' => '',
		'fecha_inicial' => '',
		'fecha_final' => '',
		'id_Empresa' => '',
		'nombre' => '',
		'nit' => '',
		'acciones_Asignado' => '',
		'saldo_Acciones' => '',
		'Acciones_emita' => '' 
	),
	'fieldPlaceholders' => array(
		'id_constitucion' => '',
		'fecha_constitucion' => '',
		'acciones_emitidas' => '',
		'valor_nominal' => '',
		'capital_autorizado' => '',
		'capital_pagado' => '',
		'serie_acciones' => '',
		'clases_acciones' => '',
		'duracion' => '',
		'domicilio' => '',
		'lugar_constitucion' => '',
		'matricula_comercio' => '',
		'fecha_inicial' => '',
		'fecha_final' => '',
		'id_Empresa' => '',
		'nombre' => '',
		'nit' => '',
		'acciones_Asignado' => '',
		'saldo_Acciones' => '',
		'Acciones_emita' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>