<?php
$tdataderecho_propietario = array();
$tdataderecho_propietario[".searchableFields"] = array();
$tdataderecho_propietario[".ShortName"] = "derecho_propietario";
$tdataderecho_propietario[".OwnerID"] = "";
$tdataderecho_propietario[".OriginalTable"] = "derecho_propietario";


$tdataderecho_propietario[".pagesByType"] = my_json_decode( "{\"add\":[\"add\"],\"edit\":[\"edit\"],\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"masterlist\":[\"masterlist\"],\"masterprint\":[\"masterprint\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" );
$tdataderecho_propietario[".originalPagesByType"] = $tdataderecho_propietario[".pagesByType"];
$tdataderecho_propietario[".pages"] = types2pages( my_json_decode( "{\"add\":[\"add\"],\"edit\":[\"edit\"],\"export\":[\"export\"],\"import\":[\"import\"],\"list\":[\"list\"],\"masterlist\":[\"masterlist\"],\"masterprint\":[\"masterprint\"],\"print\":[\"print\"],\"search\":[\"search\"],\"view\":[\"view\"]}" ) );
$tdataderecho_propietario[".originalPages"] = $tdataderecho_propietario[".pages"];
$tdataderecho_propietario[".defaultPages"] = my_json_decode( "{\"add\":\"add\",\"edit\":\"edit\",\"export\":\"export\",\"import\":\"import\",\"list\":\"list\",\"masterlist\":\"masterlist\",\"masterprint\":\"masterprint\",\"print\":\"print\",\"search\":\"search\",\"view\":\"view\"}" );
$tdataderecho_propietario[".originalDefaultPages"] = $tdataderecho_propietario[".defaultPages"];

//	field labels
$fieldLabelsderecho_propietario = array();
$fieldToolTipsderecho_propietario = array();
$pageTitlesderecho_propietario = array();
$placeHoldersderecho_propietario = array();

if(mlang_getcurrentlang()=="Spanish")
{
	$fieldLabelsderecho_propietario["Spanish"] = array();
	$fieldToolTipsderecho_propietario["Spanish"] = array();
	$placeHoldersderecho_propietario["Spanish"] = array();
	$pageTitlesderecho_propietario["Spanish"] = array();
	$fieldLabelsderecho_propietario["Spanish"]["clase_Acciones"] = "Clase Acciones";
	$fieldToolTipsderecho_propietario["Spanish"]["clase_Acciones"] = "";
	$placeHoldersderecho_propietario["Spanish"]["clase_Acciones"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["estado_Pago"] = "Estado Pago";
	$fieldToolTipsderecho_propietario["Spanish"]["estado_Pago"] = "";
	$placeHoldersderecho_propietario["Spanish"]["estado_Pago"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["fecha_Emision"] = "Fecha Emision";
	$fieldToolTipsderecho_propietario["Spanish"]["fecha_Emision"] = "";
	$placeHoldersderecho_propietario["Spanish"]["fecha_Emision"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["fecha_Inscripcion"] = "Fecha Inscripcion";
	$fieldToolTipsderecho_propietario["Spanish"]["fecha_Inscripcion"] = "";
	$placeHoldersderecho_propietario["Spanish"]["fecha_Inscripcion"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["gestion"] = "Gestion";
	$fieldToolTipsderecho_propietario["Spanish"]["gestion"] = "";
	$placeHoldersderecho_propietario["Spanish"]["gestion"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["gravamen"] = "Gravamen";
	$fieldToolTipsderecho_propietario["Spanish"]["gravamen"] = "";
	$placeHoldersderecho_propietario["Spanish"]["gravamen"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["id_derecho_Propietario"] = "Id Derecho Propietario";
	$fieldToolTipsderecho_propietario["Spanish"]["id_derecho_Propietario"] = "";
	$placeHoldersderecho_propietario["Spanish"]["id_derecho_Propietario"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["nro_Acciones"] = "Nro Acciones";
	$fieldToolTipsderecho_propietario["Spanish"]["nro_Acciones"] = "";
	$placeHoldersderecho_propietario["Spanish"]["nro_Acciones"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["nro_Acciones_Literal"] = "Nro Acciones Literal";
	$fieldToolTipsderecho_propietario["Spanish"]["nro_Acciones_Literal"] = "";
	$placeHoldersderecho_propietario["Spanish"]["nro_Acciones_Literal"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["nro_Folio"] = "Nro Folio";
	$fieldToolTipsderecho_propietario["Spanish"]["nro_Folio"] = "";
	$placeHoldersderecho_propietario["Spanish"]["nro_Folio"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["nro_Partido"] = "Nro Partida";
	$fieldToolTipsderecho_propietario["Spanish"]["nro_Partido"] = "";
	$placeHoldersderecho_propietario["Spanish"]["nro_Partido"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["nro_Titulo"] = "Nro Titulo";
	$fieldToolTipsderecho_propietario["Spanish"]["nro_Titulo"] = "";
	$placeHoldersderecho_propietario["Spanish"]["nro_Titulo"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["serie_Acciones"] = "Serie Acciones";
	$fieldToolTipsderecho_propietario["Spanish"]["serie_Acciones"] = "";
	$placeHoldersderecho_propietario["Spanish"]["serie_Acciones"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["tipo_Acciones"] = "Tipo Acciones";
	$fieldToolTipsderecho_propietario["Spanish"]["tipo_Acciones"] = "";
	$placeHoldersderecho_propietario["Spanish"]["tipo_Acciones"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["accionista"] = "Accionista";
	$fieldToolTipsderecho_propietario["Spanish"]["accionista"] = "";
	$placeHoldersderecho_propietario["Spanish"]["accionista"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["total_bs"] = "Total Bs";
	$fieldToolTipsderecho_propietario["Spanish"]["total_bs"] = "";
	$placeHoldersderecho_propietario["Spanish"]["total_bs"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["estado_titulo"] = "Estado Titulo";
	$fieldToolTipsderecho_propietario["Spanish"]["estado_titulo"] = "";
	$placeHoldersderecho_propietario["Spanish"]["estado_titulo"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["saldo_Acciones_A"] = "Acciones Diponibles";
	$fieldToolTipsderecho_propietario["Spanish"]["saldo_Acciones_A"] = "";
	$placeHoldersderecho_propietario["Spanish"]["saldo_Acciones_A"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["saldo_Acciones"] = "Saldo Acciones";
	$fieldToolTipsderecho_propietario["Spanish"]["saldo_Acciones"] = "";
	$placeHoldersderecho_propietario["Spanish"]["saldo_Acciones"] = "";
	$fieldLabelsderecho_propietario["Spanish"]["utilidad_gestion"] = "Utilidad Gestion";
	$fieldToolTipsderecho_propietario["Spanish"]["utilidad_gestion"] = "";
	$placeHoldersderecho_propietario["Spanish"]["utilidad_gestion"] = "";
	if (count($fieldToolTipsderecho_propietario["Spanish"]))
		$tdataderecho_propietario[".isUseToolTips"] = true;
}


	$tdataderecho_propietario[".NCSearch"] = true;



$tdataderecho_propietario[".shortTableName"] = "derecho_propietario";
$tdataderecho_propietario[".nSecOptions"] = 0;

$tdataderecho_propietario[".mainTableOwnerID"] = "";
$tdataderecho_propietario[".entityType"] = 0;
$tdataderecho_propietario[".connId"] = "bsn_dividendos_at_localhost";


$tdataderecho_propietario[".strOriginalTableName"] = "derecho_propietario";

	



$tdataderecho_propietario[".showAddInPopup"] = false;

$tdataderecho_propietario[".showEditInPopup"] = false;

$tdataderecho_propietario[".showViewInPopup"] = false;

$tdataderecho_propietario[".listAjax"] = false;
//	temporary
//$tdataderecho_propietario[".listAjax"] = false;

	$tdataderecho_propietario[".audit"] = true;

	$tdataderecho_propietario[".locking"] = true;


$pages = $tdataderecho_propietario[".defaultPages"];

if( $pages[PAGE_EDIT] ) {
	$tdataderecho_propietario[".edit"] = true;
	$tdataderecho_propietario[".afterEditAction"] = 1;
	$tdataderecho_propietario[".closePopupAfterEdit"] = 1;
	$tdataderecho_propietario[".afterEditActionDetTable"] = "";
}

if( $pages[PAGE_ADD] ) {
$tdataderecho_propietario[".add"] = true;
$tdataderecho_propietario[".afterAddAction"] = 3;
$tdataderecho_propietario[".closePopupAfterAdd"] = 1;
$tdataderecho_propietario[".afterAddActionDetTable"] = "socio";
}

if( $pages[PAGE_LIST] ) {
	$tdataderecho_propietario[".list"] = true;
}



$tdataderecho_propietario[".strSortControlSettingsJSON"] = "";




if( $pages[PAGE_VIEW] ) {
$tdataderecho_propietario[".view"] = true;
}

if( $pages[PAGE_IMPORT] ) {
$tdataderecho_propietario[".import"] = true;
}

if( $pages[PAGE_EXPORT] ) {
$tdataderecho_propietario[".exportTo"] = true;
}

if( $pages[PAGE_PRINT] ) {
$tdataderecho_propietario[".printFriendly"] = true;
}



$tdataderecho_propietario[".showSimpleSearchOptions"] = true; // temp fix #13449

// Allow Show/Hide Fields in GRID
$tdataderecho_propietario[".allowShowHideFields"] = true; // temp fix #13449
//

// Allow Fields Reordering in GRID
$tdataderecho_propietario[".allowFieldsReordering"] = true; // temp fix #13449
//

$tdataderecho_propietario[".isUseAjaxSuggest"] = true;



																																																												

$tdataderecho_propietario[".ajaxCodeSnippetAdded"] = false;

$tdataderecho_propietario[".buttonsAdded"] = false;

$tdataderecho_propietario[".addPageEvents"] = true;

// use timepicker for search panel
$tdataderecho_propietario[".isUseTimeForSearch"] = false;


$tdataderecho_propietario[".badgeColor"] = "808000";


$tdataderecho_propietario[".allSearchFields"] = array();
$tdataderecho_propietario[".filterFields"] = array();
$tdataderecho_propietario[".requiredSearchFields"] = array();

$tdataderecho_propietario[".googleLikeFields"] = array();
$tdataderecho_propietario[".googleLikeFields"][] = "id_derecho_Propietario";
$tdataderecho_propietario[".googleLikeFields"][] = "accionista";
$tdataderecho_propietario[".googleLikeFields"][] = "clase_Acciones";
$tdataderecho_propietario[".googleLikeFields"][] = "estado_Pago";
$tdataderecho_propietario[".googleLikeFields"][] = "fecha_Emision";
$tdataderecho_propietario[".googleLikeFields"][] = "fecha_Inscripcion";
$tdataderecho_propietario[".googleLikeFields"][] = "gestion";
$tdataderecho_propietario[".googleLikeFields"][] = "gravamen";
$tdataderecho_propietario[".googleLikeFields"][] = "nro_Acciones";
$tdataderecho_propietario[".googleLikeFields"][] = "nro_Acciones_Literal";
$tdataderecho_propietario[".googleLikeFields"][] = "nro_Folio";
$tdataderecho_propietario[".googleLikeFields"][] = "nro_Partido";
$tdataderecho_propietario[".googleLikeFields"][] = "nro_Titulo";
$tdataderecho_propietario[".googleLikeFields"][] = "serie_Acciones";
$tdataderecho_propietario[".googleLikeFields"][] = "tipo_Acciones";
$tdataderecho_propietario[".googleLikeFields"][] = "total_bs";
$tdataderecho_propietario[".googleLikeFields"][] = "estado_titulo";
$tdataderecho_propietario[".googleLikeFields"][] = "saldo_Acciones_A";
$tdataderecho_propietario[".googleLikeFields"][] = "saldo_Acciones";
$tdataderecho_propietario[".googleLikeFields"][] = "utilidad_gestion";



$tdataderecho_propietario[".tableType"] = "list";

$tdataderecho_propietario[".printerPageOrientation"] = 0;
$tdataderecho_propietario[".nPrinterPageScale"] = 100;

$tdataderecho_propietario[".nPrinterSplitRecords"] = 40;

$tdataderecho_propietario[".geocodingEnabled"] = false;










$tdataderecho_propietario[".pageSize"] = 20;

$tdataderecho_propietario[".warnLeavingPages"] = true;



$tstrOrderBy = "ORDER BY derecho_propietario.id_derecho_Propietario";
$tdataderecho_propietario[".strOrderBy"] = $tstrOrderBy;

$tdataderecho_propietario[".orderindexes"] = array();
	$tdataderecho_propietario[".orderindexes"][] = array(1, (1 ? "ASC" : "DESC"), "derecho_propietario.id_derecho_Propietario");



$tdataderecho_propietario[".sqlHead"] = "SELECT derecho_propietario.id_derecho_Propietario,  derecho_propietario.accionista,  derecho_propietario.clase_Acciones,  derecho_propietario.estado_Pago,  derecho_propietario.fecha_Emision,  derecho_propietario.fecha_Inscripcion,  derecho_propietario.gestion,  derecho_propietario.gravamen,  derecho_propietario.nro_Acciones,  derecho_propietario.nro_Acciones_Literal,  derecho_propietario.nro_Folio,  derecho_propietario.nro_Partido,  derecho_propietario.nro_Titulo,  derecho_propietario.serie_Acciones,  derecho_propietario.tipo_Acciones,  derecho_propietario.total_bs,  derecho_propietario.estado_titulo,  derecho_propietario.saldo_Acciones_A,  acciones.saldo_Acciones,  gestion.utilidad_gestion";
$tdataderecho_propietario[".sqlFrom"] = "FROM derecho_propietario  INNER JOIN acciones ON derecho_propietario.gestion = acciones.id_Gestion  INNER JOIN gestion ON derecho_propietario.gestion = gestion.id_Gestion";
$tdataderecho_propietario[".sqlWhereExpr"] = "(gestion.estado = 1)";
$tdataderecho_propietario[".sqlTail"] = "";

//fill array of tabs for list page
$arrGridTabs = array();
$arrGridTabs[] = array(
	'tabId' => "",
	'name' => "All data",
	'nameType' => 'Text',
	'where' => "",
	'showRowCount' => 0,
	'hideEmpty' => 0,
);
$tdataderecho_propietario[".arrGridTabs"] = $arrGridTabs;









//fill array of records per page for list and report without group fields
$arrRPP = array();
$arrRPP[] = 10;
$arrRPP[] = 20;
$arrRPP[] = 30;
$arrRPP[] = 50;
$arrRPP[] = 100;
$arrRPP[] = 500;
$arrRPP[] = -1;
$tdataderecho_propietario[".arrRecsPerPage"] = $arrRPP;

//fill array of groups per page for report with group fields
$arrGPP = array();
$arrGPP[] = 1;
$arrGPP[] = 3;
$arrGPP[] = 5;
$arrGPP[] = 10;
$arrGPP[] = 50;
$arrGPP[] = 100;
$arrGPP[] = -1;
$tdataderecho_propietario[".arrGroupsPerPage"] = $arrGPP;

$tdataderecho_propietario[".highlightSearchResults"] = true;

$tableKeysderecho_propietario = array();
$tableKeysderecho_propietario[] = "id_derecho_Propietario";
$tdataderecho_propietario[".Keys"] = $tableKeysderecho_propietario;


$tdataderecho_propietario[".hideMobileList"] = array();




//	id_derecho_Propietario
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 1;
	$fdata["strName"] = "id_derecho_Propietario";
	$fdata["GoodName"] = "id_derecho_Propietario";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","id_derecho_Propietario");
	$fdata["FieldType"] = 3;


		$fdata["AutoInc"] = true;

	
			

		$fdata["strField"] = "id_derecho_Propietario";

		$fdata["sourceSingle"] = "id_derecho_Propietario";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.id_derecho_Propietario";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["id_derecho_Propietario"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "id_derecho_Propietario";
//	accionista
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "accionista";
	$fdata["GoodName"] = "accionista";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","accionista");
	$fdata["FieldType"] = 3;


	
	
			

		$fdata["strField"] = "accionista";

		$fdata["sourceSingle"] = "accionista";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.accionista";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "socio";
		$edata["listPageId"] = "list";
		$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 2;

	
		
	$edata["LinkField"] = "id_Socio";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "    concat(ci,'- ',apellido_Paterno ,' ',nombres )   ";

	

		$edata["CustomDisplay"] = "true";

	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
	
// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["accionista"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "accionista";
//	clase_Acciones
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "clase_Acciones";
	$fdata["GoodName"] = "clase_Acciones";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","clase_Acciones");
	$fdata["FieldType"] = 3;


	
	
			

		$fdata["strField"] = "clase_Acciones";

		$fdata["sourceSingle"] = "clase_Acciones";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.clase_Acciones";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "aux";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "id_aux";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "nombre";

				$edata["LookupWhere"] = "VALOR  LIKE  'CLASE_A'";


	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["clase_Acciones"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "clase_Acciones";
//	estado_Pago
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "estado_Pago";
	$fdata["GoodName"] = "estado_Pago";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","estado_Pago");
	$fdata["FieldType"] = 3;


	
	
			

		$fdata["strField"] = "estado_Pago";

		$fdata["sourceSingle"] = "estado_Pago";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.estado_Pago";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "aux";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "id_aux";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "nombre";

				$edata["LookupWhere"] = "VALOR like 'ESTADO_PAGO_A'";


	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["estado_Pago"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "estado_Pago";
//	fecha_Emision
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "fecha_Emision";
	$fdata["GoodName"] = "fecha_Emision";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","fecha_Emision");
	$fdata["FieldType"] = 7;


	
	
			

		$fdata["strField"] = "fecha_Emision";

		$fdata["sourceSingle"] = "fecha_Emision";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.fecha_Emision";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Short Date");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Date");

	
		$edata["weekdayMessage"] = array("message" => "Invalid week day", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
		$edata["DateEditType"] = 5;
	$edata["InitialYearFactor"] = 50;
	$edata["LastYearFactor"] = 10;

	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["fecha_Emision"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "fecha_Emision";
//	fecha_Inscripcion
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "fecha_Inscripcion";
	$fdata["GoodName"] = "fecha_Inscripcion";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","fecha_Inscripcion");
	$fdata["FieldType"] = 7;


	
	
			

		$fdata["strField"] = "fecha_Inscripcion";

		$fdata["sourceSingle"] = "fecha_Inscripcion";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.fecha_Inscripcion";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Short Date");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Date");

	
		$edata["weekdayMessage"] = array("message" => "Invalid week day", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
		$edata["DateEditType"] = 5;
	$edata["InitialYearFactor"] = 50;
	$edata["LastYearFactor"] = 10;

	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Equals", "More than", "Less than", "Between", EMPTY_SEARCH, NOT_EMPTY );
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["fecha_Inscripcion"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "fecha_Inscripcion";
//	gestion
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "gestion";
	$fdata["GoodName"] = "gestion";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","gestion");
	$fdata["FieldType"] = 3;


	
	
			

		$fdata["strField"] = "gestion";

		$fdata["sourceSingle"] = "gestion";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.gestion";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "gestion";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "id_Gestion";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "nombre";

				$edata["LookupWhere"] = "estado = 1";


	
	$edata["LookupOrderBy"] = "";

	
	
	
	
				//dependent dropdowns @deprecated data ?
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "saldo_Acciones";

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["gestion"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "gestion";
//	gravamen
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "gravamen";
	$fdata["GoodName"] = "gravamen";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","gravamen");
	$fdata["FieldType"] = 3;


	
	
			

		$fdata["strField"] = "gravamen";

		$fdata["sourceSingle"] = "gravamen";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.gravamen";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "aux";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "id_aux";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "nombre";

				$edata["LookupWhere"] = "VALOR  LIKE 'GRAVAMENES'";


	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["gravamen"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "gravamen";
//	nro_Acciones
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "nro_Acciones";
	$fdata["GoodName"] = "nro_Acciones";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","nro_Acciones");
	$fdata["FieldType"] = 14;


	
	
			

		$fdata["strField"] = "nro_Acciones";

		$fdata["sourceSingle"] = "nro_Acciones";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.nro_Acciones";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Number");

	
	
	
	
	
	
	
		$vdata["DecimalDigits"] = 0;

	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["nro_Acciones"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "nro_Acciones";
//	nro_Acciones_Literal
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "nro_Acciones_Literal";
	$fdata["GoodName"] = "nro_Acciones_Literal";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","nro_Acciones_Literal");
	$fdata["FieldType"] = 200;


	
	
			

		$fdata["strField"] = "nro_Acciones_Literal";

		$fdata["sourceSingle"] = "nro_Acciones_Literal";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.nro_Acciones_Literal";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
			$edata["EditParams"].= " maxlength=255";

		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
	
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["nro_Acciones_Literal"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "nro_Acciones_Literal";
//	nro_Folio
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "nro_Folio";
	$fdata["GoodName"] = "nro_Folio";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","nro_Folio");
	$fdata["FieldType"] = 14;


	
	
			

		$fdata["strField"] = "nro_Folio";

		$fdata["sourceSingle"] = "nro_Folio";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.nro_Folio";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Number");

	
	
	
	
	
	
	
		$vdata["DecimalDigits"] = 0;

	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "correlativo_folio";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "Nro_folio";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "Nro_folio";

	

	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["nro_Folio"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "nro_Folio";
//	nro_Partido
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "nro_Partido";
	$fdata["GoodName"] = "nro_Partido";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","nro_Partido");
	$fdata["FieldType"] = 14;


	
	
			

		$fdata["strField"] = "nro_Partido";

		$fdata["sourceSingle"] = "nro_Partido";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.nro_Partido";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Number");

	
	
	
	
	
	
	
		$vdata["DecimalDigits"] = 0;

	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "correlativo_partida";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "Nro_Partida";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "Nro_Partida";

	

	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["nro_Partido"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "nro_Partido";
//	nro_Titulo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "nro_Titulo";
	$fdata["GoodName"] = "nro_Titulo";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","nro_Titulo");
	$fdata["FieldType"] = 14;


	
	
			

		$fdata["strField"] = "nro_Titulo";

		$fdata["sourceSingle"] = "nro_Titulo";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.nro_Titulo";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Number");

	
	
	
	
	
	
	
		$vdata["DecimalDigits"] = 0;

	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "correlativo_partida";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "Nro_Partida";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "Nro_Partida";

	

	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["nro_Titulo"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "nro_Titulo";
//	serie_Acciones
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "serie_Acciones";
	$fdata["GoodName"] = "serie_Acciones";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","serie_Acciones");
	$fdata["FieldType"] = 3;


	
	
			

		$fdata["strField"] = "serie_Acciones";

		$fdata["sourceSingle"] = "serie_Acciones";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.serie_Acciones";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "aux";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "id_aux";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "nombre";

				$edata["LookupWhere"] = "valor  like 'SERIE_A'";


	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["serie_Acciones"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "serie_Acciones";
//	tipo_Acciones
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 15;
	$fdata["strName"] = "tipo_Acciones";
	$fdata["GoodName"] = "tipo_Acciones";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","tipo_Acciones");
	$fdata["FieldType"] = 3;


	
	
			

		$fdata["strField"] = "tipo_Acciones";

		$fdata["sourceSingle"] = "tipo_Acciones";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.tipo_Acciones";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "aux";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "id_aux";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "nombre";

				$edata["LookupWhere"] = "VALOR  LIKE 'TIPO_A'";


	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["tipo_Acciones"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "tipo_Acciones";
//	total_bs
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 16;
	$fdata["strName"] = "total_bs";
	$fdata["GoodName"] = "total_bs";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","total_bs");
	$fdata["FieldType"] = 14;


	
	
			

		$fdata["strField"] = "total_bs";

		$fdata["sourceSingle"] = "total_bs";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.total_bs";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Number");

	
	
	
	
	
	
	
		$vdata["DecimalDigits"] = 0;

	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["total_bs"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "total_bs";
//	estado_titulo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 17;
	$fdata["strName"] = "estado_titulo";
	$fdata["GoodName"] = "estado_titulo";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","estado_titulo");
	$fdata["FieldType"] = 3;


	
	
			

		$fdata["strField"] = "estado_titulo";

		$fdata["sourceSingle"] = "estado_titulo";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.estado_titulo";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "aux";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "id_aux";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "nombre";

				$edata["LookupWhere"] = "valor like 'ESTADO_DP'";


	
	$edata["LookupOrderBy"] = "";

	
	
	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["estado_titulo"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "estado_titulo";
//	saldo_Acciones_A
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 18;
	$fdata["strName"] = "saldo_Acciones_A";
	$fdata["GoodName"] = "saldo_Acciones_A";
	$fdata["ownerTable"] = "derecho_propietario";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","saldo_Acciones_A");
	$fdata["FieldType"] = 3;


	
	
			

		$fdata["strField"] = "saldo_Acciones_A";

		$fdata["sourceSingle"] = "saldo_Acciones_A";

		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario.saldo_Acciones_A";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "");

	
	
	
	
	
	
	
	
	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



	
	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
							
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["saldo_Acciones_A"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "saldo_Acciones_A";
//	saldo_Acciones
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 19;
	$fdata["strName"] = "saldo_Acciones";
	$fdata["GoodName"] = "saldo_Acciones";
	$fdata["ownerTable"] = "acciones";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","saldo_Acciones");
	$fdata["FieldType"] = 14;


	
	
			

		$fdata["strField"] = "saldo_Acciones";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "acciones.saldo_Acciones";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Number");

	
	
	
	
	
	
	
		$vdata["DecimalDigits"] = 2;

	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Lookup wizard");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	

// Begin Lookup settings
				$edata["LookupType"] = 2;
	$edata["LookupTable"] = "acciones";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "saldo_Acciones";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "saldo_Acciones";

	

	
	$edata["LookupOrderBy"] = "";

	
		$edata["UseCategory"] = true;
	$edata["categoryFields"] = array();
	$edata["categoryFields"][] = array( "main" => "gestion", "lookup" => "id_Gestion" );

	
	

	
	
		$edata["SelectSize"] = 1;

// End Lookup Settings


	
	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
	
	
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
							
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Equals";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["saldo_Acciones"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "saldo_Acciones";
//	utilidad_gestion
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 20;
	$fdata["strName"] = "utilidad_gestion";
	$fdata["GoodName"] = "utilidad_gestion";
	$fdata["ownerTable"] = "gestion";
	$fdata["Label"] = GetFieldLabel("derecho_propietario","utilidad_gestion");
	$fdata["FieldType"] = 14;


	
	
			

		$fdata["strField"] = "utilidad_gestion";

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "gestion.utilidad_gestion";

	
	
				$fdata["UploadFolder"] = "files";

//  Begin View Formats
	$fdata["ViewFormats"] = array();

	$vdata = array("ViewFormat" => "Number");

	
	
	
	
	
	
	
		$vdata["DecimalDigits"] = 0;

	
	
	
	
	
	
		$vdata["NeedEncode"] = true;

	
		$vdata["truncateText"] = true;
	$vdata["NumberOfChars"] = 80;

	$fdata["ViewFormats"]["view"] = $vdata;
//  End View Formats

//	Begin Edit Formats
	$fdata["EditFormats"] = array();

	$edata = array("EditFormat" => "Text field");

	
		$edata["weekdayMessage"] = array("message" => "", "messageType" => "Text");
	$edata["weekdays"] = "[]";


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
	
	
			$edata["HTML5InuptType"] = "text";

		$edata["EditParams"] = "";
		
		$edata["controlWidth"] = 200;

//	Begin validation
	$edata["validateAs"] = array();
	$edata["validateAs"]["basicValidate"] = array();
	$edata["validateAs"]["customMessages"] = array();
				$edata["validateAs"]["basicValidate"][] = getJsValidatorName("Number");
						$edata["validateAs"]["basicValidate"][] = "IsRequired";
		
	
//	End validation

	
			
	
	
	
	$fdata["EditFormats"]["edit"] = $edata;
//	End Edit Formats


	$fdata["isSeparate"] = false;




// the field's search options settings
		$fdata["defaultSearchOption"] = "Contains";

			// the default search options list
				$fdata["searchOptionsList"] = array("Contains", "Equals", "Starts with", "More than", "Less than", "Between", "Empty", NOT_EMPTY);
// the end of search options settings


//Filters settings
	$fdata["filterTotals"] = 0;
		$fdata["filterMultiSelect"] = 0;
			$fdata["filterFormat"] = "Values list";
		$fdata["showCollapsed"] = false;

		$fdata["sortValueType"] = 0;
		$fdata["numberOfVisibleItems"] = 10;

		$fdata["filterBy"] = 0;

	

	
	
//end of Filters settings


	$tdataderecho_propietario["utilidad_gestion"] = $fdata;
		$tdataderecho_propietario[".searchableFields"][] = "utilidad_gestion";


$tables_data["derecho_propietario"]=&$tdataderecho_propietario;
$field_labels["derecho_propietario"] = &$fieldLabelsderecho_propietario;
$fieldToolTips["derecho_propietario"] = &$fieldToolTipsderecho_propietario;
$placeHolders["derecho_propietario"] = &$placeHoldersderecho_propietario;
$page_titles["derecho_propietario"] = &$pageTitlesderecho_propietario;


changeTextControlsToDate( "derecho_propietario" );

// -----------------start  prepare master-details data arrays ------------------------------//
// tables which are detail tables for current table (master)

//if !@TABLE.bReportCrossTab

$detailsTablesData["derecho_propietario"] = array();
//	socio
	
	

		$dIndex = 0;
	$detailsParam = array();
	$detailsParam["dDataSourceTable"]="socio";
		$detailsParam["dOriginalTable"] = "socio";



		
		$detailsParam["dType"]=PAGE_LIST;
	$detailsParam["dShortTable"] = "socio";
	$detailsParam["dCaptionTable"] = GetTableCaption("socio");
	$detailsParam["masterKeys"] =array();
	$detailsParam["detailKeys"] =array();


		
	$detailsTablesData["derecho_propietario"][$dIndex] = $detailsParam;

	
		$detailsTablesData["derecho_propietario"][$dIndex]["masterKeys"] = array();

	$detailsTablesData["derecho_propietario"][$dIndex]["masterKeys"][]="id_derecho_Propietario";

				$detailsTablesData["derecho_propietario"][$dIndex]["detailKeys"] = array();

	$detailsTablesData["derecho_propietario"][$dIndex]["detailKeys"][]="id_dp";
//endif

// tables which are master tables for current table (detail)
$masterTablesData["derecho_propietario"] = array();



	
	//if !@t.bReportCrossTab
			$strOriginalDetailsTable="gestion";
	$masterParams = array();
	$masterParams["mDataSourceTable"]="gestion";
	$masterParams["mOriginalTable"]= $strOriginalDetailsTable;
	$masterParams["mShortTable"]= "gestion";
	$masterParams["masterKeys"]= array();
	$masterParams["detailKeys"]= array();

	$masterParams["type"] = PAGE_LIST;
					$masterTablesData["derecho_propietario"][0] = $masterParams;
				$masterTablesData["derecho_propietario"][0]["masterKeys"] = array();
	$masterTablesData["derecho_propietario"][0]["masterKeys"][]="id_Gestion";
				$masterTablesData["derecho_propietario"][0]["detailKeys"] = array();
	$masterTablesData["derecho_propietario"][0]["detailKeys"][]="gestion";
		
	//endif
// -----------------end  prepare master-details data arrays ------------------------------//



require_once(getabspath("classes/sql.php"));











function createSqlQuery_derecho_propietario()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "derecho_propietario.id_derecho_Propietario,  derecho_propietario.accionista,  derecho_propietario.clase_Acciones,  derecho_propietario.estado_Pago,  derecho_propietario.fecha_Emision,  derecho_propietario.fecha_Inscripcion,  derecho_propietario.gestion,  derecho_propietario.gravamen,  derecho_propietario.nro_Acciones,  derecho_propietario.nro_Acciones_Literal,  derecho_propietario.nro_Folio,  derecho_propietario.nro_Partido,  derecho_propietario.nro_Titulo,  derecho_propietario.serie_Acciones,  derecho_propietario.tipo_Acciones,  derecho_propietario.total_bs,  derecho_propietario.estado_titulo,  derecho_propietario.saldo_Acciones_A,  acciones.saldo_Acciones,  gestion.utilidad_gestion";
$proto0["m_strFrom"] = "FROM derecho_propietario  INNER JOIN acciones ON derecho_propietario.gestion = acciones.id_Gestion  INNER JOIN gestion ON derecho_propietario.gestion = gestion.id_Gestion";
$proto0["m_strWhere"] = "(gestion.estado = 1)";
$proto0["m_strOrderBy"] = "ORDER BY derecho_propietario.id_derecho_Propietario";
	
		;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "gestion.estado = 1";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "estado",
	"m_strTable" => "gestion",
	"m_srcTableName" => "derecho_propietario"
));

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
$proto2["m_strCase"] = "= 1";
$proto2["m_havingmode"] = false;
$proto2["m_inBrackets"] = false;
$proto2["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto2);

$proto0["m_where"] = $obj;
$proto4=array();
$proto4["m_sql"] = "";
$proto4["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto4["m_column"]=$obj;
$proto4["m_contained"] = array();
$proto4["m_strCase"] = "";
$proto4["m_havingmode"] = false;
$proto4["m_inBrackets"] = false;
$proto4["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto4);

$proto0["m_having"] = $obj;
$proto0["m_fieldlist"] = array();
						$proto6=array();
			$obj = new SQLField(array(
	"m_strName" => "id_derecho_Propietario",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto6["m_sql"] = "derecho_propietario.id_derecho_Propietario";
$proto6["m_srcTableName"] = "derecho_propietario";
$proto6["m_expr"]=$obj;
$proto6["m_alias"] = "";
$obj = new SQLFieldListItem($proto6);

$proto0["m_fieldlist"][]=$obj;
						$proto8=array();
			$obj = new SQLField(array(
	"m_strName" => "accionista",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto8["m_sql"] = "derecho_propietario.accionista";
$proto8["m_srcTableName"] = "derecho_propietario";
$proto8["m_expr"]=$obj;
$proto8["m_alias"] = "";
$obj = new SQLFieldListItem($proto8);

$proto0["m_fieldlist"][]=$obj;
						$proto10=array();
			$obj = new SQLField(array(
	"m_strName" => "clase_Acciones",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto10["m_sql"] = "derecho_propietario.clase_Acciones";
$proto10["m_srcTableName"] = "derecho_propietario";
$proto10["m_expr"]=$obj;
$proto10["m_alias"] = "";
$obj = new SQLFieldListItem($proto10);

$proto0["m_fieldlist"][]=$obj;
						$proto12=array();
			$obj = new SQLField(array(
	"m_strName" => "estado_Pago",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto12["m_sql"] = "derecho_propietario.estado_Pago";
$proto12["m_srcTableName"] = "derecho_propietario";
$proto12["m_expr"]=$obj;
$proto12["m_alias"] = "";
$obj = new SQLFieldListItem($proto12);

$proto0["m_fieldlist"][]=$obj;
						$proto14=array();
			$obj = new SQLField(array(
	"m_strName" => "fecha_Emision",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto14["m_sql"] = "derecho_propietario.fecha_Emision";
$proto14["m_srcTableName"] = "derecho_propietario";
$proto14["m_expr"]=$obj;
$proto14["m_alias"] = "";
$obj = new SQLFieldListItem($proto14);

$proto0["m_fieldlist"][]=$obj;
						$proto16=array();
			$obj = new SQLField(array(
	"m_strName" => "fecha_Inscripcion",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto16["m_sql"] = "derecho_propietario.fecha_Inscripcion";
$proto16["m_srcTableName"] = "derecho_propietario";
$proto16["m_expr"]=$obj;
$proto16["m_alias"] = "";
$obj = new SQLFieldListItem($proto16);

$proto0["m_fieldlist"][]=$obj;
						$proto18=array();
			$obj = new SQLField(array(
	"m_strName" => "gestion",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto18["m_sql"] = "derecho_propietario.gestion";
$proto18["m_srcTableName"] = "derecho_propietario";
$proto18["m_expr"]=$obj;
$proto18["m_alias"] = "";
$obj = new SQLFieldListItem($proto18);

$proto0["m_fieldlist"][]=$obj;
						$proto20=array();
			$obj = new SQLField(array(
	"m_strName" => "gravamen",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto20["m_sql"] = "derecho_propietario.gravamen";
$proto20["m_srcTableName"] = "derecho_propietario";
$proto20["m_expr"]=$obj;
$proto20["m_alias"] = "";
$obj = new SQLFieldListItem($proto20);

$proto0["m_fieldlist"][]=$obj;
						$proto22=array();
			$obj = new SQLField(array(
	"m_strName" => "nro_Acciones",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto22["m_sql"] = "derecho_propietario.nro_Acciones";
$proto22["m_srcTableName"] = "derecho_propietario";
$proto22["m_expr"]=$obj;
$proto22["m_alias"] = "";
$obj = new SQLFieldListItem($proto22);

$proto0["m_fieldlist"][]=$obj;
						$proto24=array();
			$obj = new SQLField(array(
	"m_strName" => "nro_Acciones_Literal",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto24["m_sql"] = "derecho_propietario.nro_Acciones_Literal";
$proto24["m_srcTableName"] = "derecho_propietario";
$proto24["m_expr"]=$obj;
$proto24["m_alias"] = "";
$obj = new SQLFieldListItem($proto24);

$proto0["m_fieldlist"][]=$obj;
						$proto26=array();
			$obj = new SQLField(array(
	"m_strName" => "nro_Folio",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto26["m_sql"] = "derecho_propietario.nro_Folio";
$proto26["m_srcTableName"] = "derecho_propietario";
$proto26["m_expr"]=$obj;
$proto26["m_alias"] = "";
$obj = new SQLFieldListItem($proto26);

$proto0["m_fieldlist"][]=$obj;
						$proto28=array();
			$obj = new SQLField(array(
	"m_strName" => "nro_Partido",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto28["m_sql"] = "derecho_propietario.nro_Partido";
$proto28["m_srcTableName"] = "derecho_propietario";
$proto28["m_expr"]=$obj;
$proto28["m_alias"] = "";
$obj = new SQLFieldListItem($proto28);

$proto0["m_fieldlist"][]=$obj;
						$proto30=array();
			$obj = new SQLField(array(
	"m_strName" => "nro_Titulo",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto30["m_sql"] = "derecho_propietario.nro_Titulo";
$proto30["m_srcTableName"] = "derecho_propietario";
$proto30["m_expr"]=$obj;
$proto30["m_alias"] = "";
$obj = new SQLFieldListItem($proto30);

$proto0["m_fieldlist"][]=$obj;
						$proto32=array();
			$obj = new SQLField(array(
	"m_strName" => "serie_Acciones",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto32["m_sql"] = "derecho_propietario.serie_Acciones";
$proto32["m_srcTableName"] = "derecho_propietario";
$proto32["m_expr"]=$obj;
$proto32["m_alias"] = "";
$obj = new SQLFieldListItem($proto32);

$proto0["m_fieldlist"][]=$obj;
						$proto34=array();
			$obj = new SQLField(array(
	"m_strName" => "tipo_Acciones",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto34["m_sql"] = "derecho_propietario.tipo_Acciones";
$proto34["m_srcTableName"] = "derecho_propietario";
$proto34["m_expr"]=$obj;
$proto34["m_alias"] = "";
$obj = new SQLFieldListItem($proto34);

$proto0["m_fieldlist"][]=$obj;
						$proto36=array();
			$obj = new SQLField(array(
	"m_strName" => "total_bs",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto36["m_sql"] = "derecho_propietario.total_bs";
$proto36["m_srcTableName"] = "derecho_propietario";
$proto36["m_expr"]=$obj;
$proto36["m_alias"] = "";
$obj = new SQLFieldListItem($proto36);

$proto0["m_fieldlist"][]=$obj;
						$proto38=array();
			$obj = new SQLField(array(
	"m_strName" => "estado_titulo",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto38["m_sql"] = "derecho_propietario.estado_titulo";
$proto38["m_srcTableName"] = "derecho_propietario";
$proto38["m_expr"]=$obj;
$proto38["m_alias"] = "";
$obj = new SQLFieldListItem($proto38);

$proto0["m_fieldlist"][]=$obj;
						$proto40=array();
			$obj = new SQLField(array(
	"m_strName" => "saldo_Acciones_A",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto40["m_sql"] = "derecho_propietario.saldo_Acciones_A";
$proto40["m_srcTableName"] = "derecho_propietario";
$proto40["m_expr"]=$obj;
$proto40["m_alias"] = "";
$obj = new SQLFieldListItem($proto40);

$proto0["m_fieldlist"][]=$obj;
						$proto42=array();
			$obj = new SQLField(array(
	"m_strName" => "saldo_Acciones",
	"m_strTable" => "acciones",
	"m_srcTableName" => "derecho_propietario"
));

$proto42["m_sql"] = "acciones.saldo_Acciones";
$proto42["m_srcTableName"] = "derecho_propietario";
$proto42["m_expr"]=$obj;
$proto42["m_alias"] = "";
$obj = new SQLFieldListItem($proto42);

$proto0["m_fieldlist"][]=$obj;
						$proto44=array();
			$obj = new SQLField(array(
	"m_strName" => "utilidad_gestion",
	"m_strTable" => "gestion",
	"m_srcTableName" => "derecho_propietario"
));

$proto44["m_sql"] = "gestion.utilidad_gestion";
$proto44["m_srcTableName"] = "derecho_propietario";
$proto44["m_expr"]=$obj;
$proto44["m_alias"] = "";
$obj = new SQLFieldListItem($proto44);

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto46=array();
$proto46["m_link"] = "SQLL_MAIN";
			$proto47=array();
$proto47["m_strName"] = "derecho_propietario";
$proto47["m_srcTableName"] = "derecho_propietario";
$proto47["m_columns"] = array();
$proto47["m_columns"][] = "accionista";
$proto47["m_columns"][] = "clase_Acciones";
$proto47["m_columns"][] = "estado_Pago";
$proto47["m_columns"][] = "estado_titulo";
$proto47["m_columns"][] = "fecha_Emision";
$proto47["m_columns"][] = "fecha_Inscripcion";
$proto47["m_columns"][] = "gestion";
$proto47["m_columns"][] = "gravamen";
$proto47["m_columns"][] = "id_derecho_Propietario";
$proto47["m_columns"][] = "nro_Acciones";
$proto47["m_columns"][] = "nro_Acciones_Literal";
$proto47["m_columns"][] = "nro_Folio";
$proto47["m_columns"][] = "nro_Partido";
$proto47["m_columns"][] = "nro_Titulo";
$proto47["m_columns"][] = "saldo_Acciones";
$proto47["m_columns"][] = "saldo_Acciones_A";
$proto47["m_columns"][] = "serie_Acciones";
$proto47["m_columns"][] = "tipo_Acciones";
$proto47["m_columns"][] = "total_bs";
$proto47["m_columns"][] = "total_bs_literal";
$obj = new SQLTable($proto47);

$proto46["m_table"] = $obj;
$proto46["m_sql"] = "derecho_propietario";
$proto46["m_alias"] = "";
$proto46["m_srcTableName"] = "derecho_propietario";
$proto48=array();
$proto48["m_sql"] = "";
$proto48["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto48["m_column"]=$obj;
$proto48["m_contained"] = array();
$proto48["m_strCase"] = "";
$proto48["m_havingmode"] = false;
$proto48["m_inBrackets"] = false;
$proto48["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto48);

$proto46["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto46);

$proto0["m_fromlist"][]=$obj;
												$proto50=array();
$proto50["m_link"] = "SQLL_INNERJOIN";
			$proto51=array();
$proto51["m_strName"] = "acciones";
$proto51["m_srcTableName"] = "derecho_propietario";
$proto51["m_columns"] = array();
$proto51["m_columns"][] = "acciones_Asignado";
$proto51["m_columns"][] = "id_Gestion";
$proto51["m_columns"][] = "numero_Acciones";
$proto51["m_columns"][] = "saldo_Acciones";
$obj = new SQLTable($proto51);

$proto50["m_table"] = $obj;
$proto50["m_sql"] = "INNER JOIN acciones ON derecho_propietario.gestion = acciones.id_Gestion";
$proto50["m_alias"] = "";
$proto50["m_srcTableName"] = "derecho_propietario";
$proto52=array();
$proto52["m_sql"] = "acciones.id_Gestion = derecho_propietario.gestion";
$proto52["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "id_Gestion",
	"m_strTable" => "acciones",
	"m_srcTableName" => "derecho_propietario"
));

$proto52["m_column"]=$obj;
$proto52["m_contained"] = array();
$proto52["m_strCase"] = "= derecho_propietario.gestion";
$proto52["m_havingmode"] = false;
$proto52["m_inBrackets"] = false;
$proto52["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto52);

$proto50["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto50);

$proto0["m_fromlist"][]=$obj;
												$proto54=array();
$proto54["m_link"] = "SQLL_INNERJOIN";
			$proto55=array();
$proto55["m_strName"] = "gestion";
$proto55["m_srcTableName"] = "derecho_propietario";
$proto55["m_columns"] = array();
$proto55["m_columns"][] = "director_Secretario";
$proto55["m_columns"][] = "estado";
$proto55["m_columns"][] = "fecha_f";
$proto55["m_columns"][] = "fecha_i";
$proto55["m_columns"][] = "id_Empresa";
$proto55["m_columns"][] = "id_Gestion";
$proto55["m_columns"][] = "nombre";
$proto55["m_columns"][] = "numero_Acciones";
$proto55["m_columns"][] = "presidente";
$proto55["m_columns"][] = "sindico";
$proto55["m_columns"][] = "utilidad_gestion";
$proto55["m_columns"][] = "valor_Nominal";
$obj = new SQLTable($proto55);

$proto54["m_table"] = $obj;
$proto54["m_sql"] = "INNER JOIN gestion ON derecho_propietario.gestion = gestion.id_Gestion";
$proto54["m_alias"] = "";
$proto54["m_srcTableName"] = "derecho_propietario";
$proto56=array();
$proto56["m_sql"] = "gestion.id_Gestion = derecho_propietario.gestion";
$proto56["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "id_Gestion",
	"m_strTable" => "gestion",
	"m_srcTableName" => "derecho_propietario"
));

$proto56["m_column"]=$obj;
$proto56["m_contained"] = array();
$proto56["m_strCase"] = "= derecho_propietario.gestion";
$proto56["m_havingmode"] = false;
$proto56["m_inBrackets"] = false;
$proto56["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto56);

$proto54["m_joinon"] = $obj;
$obj = new SQLFromListItem($proto54);

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
												$proto58=array();
						$obj = new SQLField(array(
	"m_strName" => "id_derecho_Propietario",
	"m_strTable" => "derecho_propietario",
	"m_srcTableName" => "derecho_propietario"
));

$proto58["m_column"]=$obj;
$proto58["m_bAsc"] = 1;
$proto58["m_nColumn"] = 0;
$obj = new SQLOrderByItem($proto58);

$proto0["m_orderby"][]=$obj;					
$proto0["m_srcTableName"]="derecho_propietario";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_derecho_propietario = createSqlQuery_derecho_propietario();


	
		;

																				

$tdataderecho_propietario[".sqlquery"] = $queryData_derecho_propietario;



include_once(getabspath("include/derecho_propietario_events.php"));
$tdataderecho_propietario[".hasEvents"] = true;

?>