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


$tdataderecho_propietario_2[".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_2[".originalPagesByType"] = $tdataderecho_propietario_2[".pagesByType"];
$tdataderecho_propietario_2[".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_2[".originalPages"] = $tdataderecho_propietario_2[".pages"];
$tdataderecho_propietario_2[".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_2[".originalDefaultPages"] = $tdataderecho_propietario_2[".defaultPages"];

//	field labels
$fieldLabelsderecho_propietario_2 = array();
$fieldToolTipsderecho_propietario_2 = array();
$pageTitlesderecho_propietario_2 = array();
$placeHoldersderecho_propietario_2 = array();

if(mlang_getcurrentlang()=="Spanish")
{
	$fieldLabelsderecho_propietario_2["Spanish"] = array();
	$fieldToolTipsderecho_propietario_2["Spanish"] = array();
	$placeHoldersderecho_propietario_2["Spanish"] = array();
	$pageTitlesderecho_propietario_2["Spanish"] = array();
	$fieldLabelsderecho_propietario_2["Spanish"]["id_derecho_Propietario"] = "Id Pre Venta";
	$fieldToolTipsderecho_propietario_2["Spanish"]["id_derecho_Propietario"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["id_derecho_Propietario"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["gestion"] = "Gestion";
	$fieldToolTipsderecho_propietario_2["Spanish"]["gestion"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["gestion"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["accionista"] = "Accionista";
	$fieldToolTipsderecho_propietario_2["Spanish"]["accionista"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["accionista"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["fecha_Emision"] = "Fecha";
	$fieldToolTipsderecho_propietario_2["Spanish"]["fecha_Emision"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["fecha_Emision"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["nro_Acciones_Literal"] = "Nro Acciones Literal";
	$fieldToolTipsderecho_propietario_2["Spanish"]["nro_Acciones_Literal"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["nro_Acciones_Literal"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["total_bs"] = "Total Bs";
	$fieldToolTipsderecho_propietario_2["Spanish"]["total_bs"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["total_bs"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["total_bs_literal"] = "Total Bs Literal";
	$fieldToolTipsderecho_propietario_2["Spanish"]["total_bs_literal"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["total_bs_literal"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["estado_titulo"] = "Estado Titulo";
	$fieldToolTipsderecho_propietario_2["Spanish"]["estado_titulo"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["estado_titulo"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["id_constitucion"] = "Id Constitucion";
	$fieldToolTipsderecho_propietario_2["Spanish"]["id_constitucion"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["id_constitucion"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["responsable"] = "Responsable";
	$fieldToolTipsderecho_propietario_2["Spanish"]["responsable"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["responsable"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["total_Acciones"] = "Total Acciones";
	$fieldToolTipsderecho_propietario_2["Spanish"]["total_Acciones"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["total_Acciones"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["nro_Acciones_2"] = "Acciones Preventa";
	$fieldToolTipsderecho_propietario_2["Spanish"]["nro_Acciones_2"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["nro_Acciones_2"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["sub_total_acciones"] = "Acumulado Acciones";
	$fieldToolTipsderecho_propietario_2["Spanish"]["sub_total_acciones"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["sub_total_acciones"] = "";
	$fieldLabelsderecho_propietario_2["Spanish"]["total_acumulado"] = "Total Acciones";
	$fieldToolTipsderecho_propietario_2["Spanish"]["total_acumulado"] = "";
	$placeHoldersderecho_propietario_2["Spanish"]["total_acumulado"] = "";
	if (count($fieldToolTipsderecho_propietario_2["Spanish"]))
		$tdataderecho_propietario_2[".isUseToolTips"] = true;
}


	$tdataderecho_propietario_2[".NCSearch"] = true;



$tdataderecho_propietario_2[".shortTableName"] = "derecho_propietario_2";
$tdataderecho_propietario_2[".nSecOptions"] = 0;

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


$tdataderecho_propietario_2[".strOriginalTableName"] = "derecho_propietario_2";

	



$tdataderecho_propietario_2[".showAddInPopup"] = false;

$tdataderecho_propietario_2[".showEditInPopup"] = false;

$tdataderecho_propietario_2[".showViewInPopup"] = false;

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

	$tdataderecho_propietario_2[".audit"] = true;

	$tdataderecho_propietario_2[".locking"] = true;


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

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

if( $pages[PAGE_ADD] ) {
$tdataderecho_propietario_2[".add"] = true;
$tdataderecho_propietario_2[".afterAddAction"] = 2;
$tdataderecho_propietario_2[".closePopupAfterAdd"] = 1;
$tdataderecho_propietario_2[".afterAddActionDetTable"] = "Detail tables not found!";
}

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



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




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

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

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

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



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

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

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

$tdataderecho_propietario_2[".isUseAjaxSuggest"] = true;



																																																																																																																																																																		

$tdataderecho_propietario_2[".ajaxCodeSnippetAdded"] = false;

$tdataderecho_propietario_2[".buttonsAdded"] = false;

$tdataderecho_propietario_2[".addPageEvents"] = true;

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


$tdataderecho_propietario_2[".badgeColor"] = "4682b4";


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

$tdataderecho_propietario_2[".googleLikeFields"] = array();
$tdataderecho_propietario_2[".googleLikeFields"][] = "id_derecho_Propietario";
$tdataderecho_propietario_2[".googleLikeFields"][] = "gestion";
$tdataderecho_propietario_2[".googleLikeFields"][] = "accionista";
$tdataderecho_propietario_2[".googleLikeFields"][] = "fecha_Emision";
$tdataderecho_propietario_2[".googleLikeFields"][] = "nro_Acciones_Literal";
$tdataderecho_propietario_2[".googleLikeFields"][] = "total_bs";
$tdataderecho_propietario_2[".googleLikeFields"][] = "total_bs_literal";
$tdataderecho_propietario_2[".googleLikeFields"][] = "estado_titulo";
$tdataderecho_propietario_2[".googleLikeFields"][] = "id_constitucion";
$tdataderecho_propietario_2[".googleLikeFields"][] = "responsable";
$tdataderecho_propietario_2[".googleLikeFields"][] = "nro_Acciones_2";
$tdataderecho_propietario_2[".googleLikeFields"][] = "total_Acciones";
$tdataderecho_propietario_2[".googleLikeFields"][] = "sub_total_acciones";
$tdataderecho_propietario_2[".googleLikeFields"][] = "total_acumulado";



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

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

$tdataderecho_propietario_2[".nPrinterSplitRecords"] = 40;

$tdataderecho_propietario_2[".geocodingEnabled"] = false;










$tdataderecho_propietario_2[".pageSize"] = 20;

$tdataderecho_propietario_2[".warnLeavingPages"] = true;



$tstrOrderBy = "";
$tdataderecho_propietario_2[".strOrderBy"] = $tstrOrderBy;

$tdataderecho_propietario_2[".orderindexes"] = array();


$tdataderecho_propietario_2[".sqlHead"] = "SELECT derecho_propietario_2.id_derecho_Propietario,  derecho_propietario_2.gestion,  derecho_propietario_2.accionista,  derecho_propietario_2.fecha_Emision,  derecho_propietario_2.nro_Acciones_Literal,  derecho_propietario_2.total_bs,  derecho_propietario_2.total_bs_literal,  derecho_propietario_2.estado_titulo,  derecho_propietario_2.id_constitucion,  derecho_propietario_2.responsable,  derecho_propietario_2.nro_Acciones_2,  union_acciones_total.total_Acciones,  derecho_propietario_2.sub_total_acciones,  derecho_propietario_2.total_acumulado";
$tdataderecho_propietario_2[".sqlFrom"] = "FROM derecho_propietario_2  INNER JOIN union_acciones_total ON derecho_propietario_2.accionista = union_acciones_total.id_socio";
$tdataderecho_propietario_2[".sqlWhereExpr"] = "";
$tdataderecho_propietario_2[".sqlTail"] = "";










//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_2[".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_2[".arrGroupsPerPage"] = $arrGPP;

$tdataderecho_propietario_2[".highlightSearchResults"] = true;

$tableKeysderecho_propietario_2 = array();
$tableKeysderecho_propietario_2[] = "id_derecho_Propietario";
$tdataderecho_propietario_2[".Keys"] = $tableKeysderecho_propietario_2;


$tdataderecho_propietario_2[".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_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","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_2.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_2["id_derecho_Propietario"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "id_derecho_Propietario";
//	gestion
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 2;
	$fdata["strName"] = "gestion";
	$fdata["GoodName"] = "gestion";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","gestion");
	$fdata["FieldType"] = 3;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.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"] = "";

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

	
	

	
	
		$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_2["gestion"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "gestion";
//	accionista
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 3;
	$fdata["strName"] = "accionista";
	$fdata["GoodName"] = "accionista";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","accionista");
	$fdata["FieldType"] = 3;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.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["LookupWhere"] = "tipo_accionista=29";


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

	$edata["LookupOrderBy"] = "";

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

	
	
	
// 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_2["accionista"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "accionista";
//	fecha_Emision
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 4;
	$fdata["strName"] = "fecha_Emision";
	$fdata["GoodName"] = "fecha_Emision";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","fecha_Emision");
	$fdata["FieldType"] = 135;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.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["ShowTime"] = true;

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


	
	



		$edata["IsRequired"] = true;

	
	
	
			$edata["acceptFileTypesHtml"] = "";

		$edata["maxNumberOfFiles"] = 1;

	
	
		$edata["DateEditType"] = 2;
	$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";
		
		$edata["autoUpdatable"] = true;

//	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_2["fecha_Emision"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "fecha_Emision";
//	nro_Acciones_Literal
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 5;
	$fdata["strName"] = "nro_Acciones_Literal";
	$fdata["GoodName"] = "nro_Acciones_Literal";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","nro_Acciones_Literal");
	$fdata["FieldType"] = 200;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.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_2["nro_Acciones_Literal"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "nro_Acciones_Literal";
//	total_bs
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 6;
	$fdata["strName"] = "total_bs";
	$fdata["GoodName"] = "total_bs";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","total_bs");
	$fdata["FieldType"] = 14;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.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["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_2["total_bs"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "total_bs";
//	total_bs_literal
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 7;
	$fdata["strName"] = "total_bs_literal";
	$fdata["GoodName"] = "total_bs_literal";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","total_bs_literal");
	$fdata["FieldType"] = 200;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.total_bs_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_2["total_bs_literal"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "total_bs_literal";
//	estado_titulo
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 8;
	$fdata["strName"] = "estado_titulo";
	$fdata["GoodName"] = "estado_titulo";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","estado_titulo");
	$fdata["FieldType"] = 3;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.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"] = 3;
	$edata["DisplayField"] = "nombre";

				$edata["LookupWhere"] = "nombre like 'PRE-VENTA'";


	
	$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_2["estado_titulo"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "estado_titulo";
//	id_constitucion
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 9;
	$fdata["strName"] = "id_constitucion";
	$fdata["GoodName"] = "id_constitucion";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","id_constitucion");
	$fdata["FieldType"] = 3;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.id_constitucion";

	
	
				$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"] = "constitucion";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "id_constitucion";
	$edata["LinkFieldType"] = 3;
	$edata["DisplayField"] = "id_constitucion";

	

	
	$edata["LookupOrderBy"] = "";

	
	
	
	
				//dependent dropdowns @deprecated data ?
	$edata["DependentLookups"] = array();
	$edata["DependentLookups"][] = "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_2["id_constitucion"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "id_constitucion";
//	responsable
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 10;
	$fdata["strName"] = "responsable";
	$fdata["GoodName"] = "responsable";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","responsable");
	$fdata["FieldType"] = 200;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.responsable";

	
	
				$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"] = "sta_rosa_users";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "ID";
	$edata["LinkFieldType"] = 0;
	$edata["DisplayField"] = "fullname";

				$edata["LookupWhere"] = "ID = ':session.user_id'";


	
	$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";
		
		$edata["autoUpdatable"] = true;

//	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_2["responsable"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "responsable";
//	nro_Acciones_2
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 11;
	$fdata["strName"] = "nro_Acciones_2";
	$fdata["GoodName"] = "nro_Acciones_2";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","nro_Acciones_2");
	$fdata["FieldType"] = 14;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.nro_Acciones_2";

	
	
				$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"] = 0;
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
	
		$edata["LookupValues"] = array();
	$edata["LookupValues"][] = "15";
	$edata["LookupValues"][] = "30";
	$edata["LookupValues"][] = "45";
	$edata["LookupValues"][] = "60";
	$edata["LookupValues"][] = "75";
	$edata["LookupValues"][] = "90";
	$edata["LookupValues"][] = "105";
	$edata["LookupValues"][] = "120";

	
		$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_2["nro_Acciones_2"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "nro_Acciones_2";
//	total_Acciones
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 12;
	$fdata["strName"] = "total_Acciones";
	$fdata["GoodName"] = "total_Acciones";
	$fdata["ownerTable"] = "union_acciones_total";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","total_Acciones");
	$fdata["FieldType"] = 14;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "union_acciones_total.total_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" => "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_2["total_Acciones"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "total_Acciones";
//	sub_total_acciones
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 13;
	$fdata["strName"] = "sub_total_acciones";
	$fdata["GoodName"] = "sub_total_acciones";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","sub_total_acciones");
	$fdata["FieldType"] = 14;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.sub_total_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"] = 1;
	$edata["LookupTable"] = "union_acciones_total";
	$edata["LookupConnId"] = "bsn_dividendos_at_localhost";
			$edata["autoCompleteFieldsOnEdit"] = 0;
	$edata["autoCompleteFields"] = array();
		$edata["LCType"] = 0;

	
		
	$edata["LinkField"] = "total_Acciones";
	$edata["LinkFieldType"] = 14;
	$edata["DisplayField"] = "total_Acciones";

	

	
	$edata["LookupOrderBy"] = "";

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

	
		$edata["SimpleAdd"] = true;


	
	
		$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_2["sub_total_acciones"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "sub_total_acciones";
//	total_acumulado
//	Custom field settings
	$fdata = array();
	$fdata["Index"] = 14;
	$fdata["strName"] = "total_acumulado";
	$fdata["GoodName"] = "total_acumulado";
	$fdata["ownerTable"] = "derecho_propietario_2";
	$fdata["Label"] = GetFieldLabel("derecho_propietario_2","total_acumulado");
	$fdata["FieldType"] = 14;


	
	
			

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

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

	
		$fdata["isSQLExpression"] = true;
	$fdata["FullName"] = "derecho_propietario_2.total_acumulado";

	
	
				$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" => "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_2["total_acumulado"] = $fdata;
		$tdataderecho_propietario_2[".searchableFields"][] = "total_acumulado";


$tables_data["derecho_propietario_2"]=&$tdataderecho_propietario_2;
$field_labels["derecho_propietario_2"] = &$fieldLabelsderecho_propietario_2;
$fieldToolTips["derecho_propietario_2"] = &$fieldToolTipsderecho_propietario_2;
$placeHolders["derecho_propietario_2"] = &$placeHoldersderecho_propietario_2;
$page_titles["derecho_propietario_2"] = &$pageTitlesderecho_propietario_2;


changeTextControlsToDate( "derecho_propietario_2" );

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

//if !@TABLE.bReportCrossTab

$detailsTablesData["derecho_propietario_2"] = array();
//endif

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



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

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



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











function createSqlQuery_derecho_propietario_2()
{
$proto0=array();
$proto0["m_strHead"] = "SELECT";
$proto0["m_strFieldList"] = "derecho_propietario_2.id_derecho_Propietario,  derecho_propietario_2.gestion,  derecho_propietario_2.accionista,  derecho_propietario_2.fecha_Emision,  derecho_propietario_2.nro_Acciones_Literal,  derecho_propietario_2.total_bs,  derecho_propietario_2.total_bs_literal,  derecho_propietario_2.estado_titulo,  derecho_propietario_2.id_constitucion,  derecho_propietario_2.responsable,  derecho_propietario_2.nro_Acciones_2,  union_acciones_total.total_Acciones,  derecho_propietario_2.sub_total_acciones,  derecho_propietario_2.total_acumulado";
$proto0["m_strFrom"] = "FROM derecho_propietario_2  INNER JOIN union_acciones_total ON derecho_propietario_2.accionista = union_acciones_total.id_socio";
$proto0["m_strWhere"] = "";
$proto0["m_strOrderBy"] = "";
	
				;
			$proto0["cipherer"] = null;
$proto2=array();
$proto2["m_sql"] = "";
$proto2["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

$proto2["m_column"]=$obj;
$proto2["m_contained"] = array();
$proto2["m_strCase"] = "";
$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_2",
	"m_srcTableName" => "derecho_propietario_2"
));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

$proto28["m_sql"] = "union_acciones_total.total_Acciones";
$proto28["m_srcTableName"] = "derecho_propietario_2";
$proto28["m_expr"]=$obj;
$proto28["m_alias"] = "";
$obj = new SQLFieldListItem($proto28);

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

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

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

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

$proto0["m_fieldlist"][]=$obj;
$proto0["m_fromlist"] = array();
												$proto34=array();
$proto34["m_link"] = "SQLL_MAIN";
			$proto35=array();
$proto35["m_strName"] = "derecho_propietario_2";
$proto35["m_srcTableName"] = "derecho_propietario_2";
$proto35["m_columns"] = array();
$proto35["m_columns"][] = "id_derecho_Propietario";
$proto35["m_columns"][] = "gestion";
$proto35["m_columns"][] = "nro_Partido";
$proto35["m_columns"][] = "nro_Folio";
$proto35["m_columns"][] = "accionista";
$proto35["m_columns"][] = "nro_Titulo";
$proto35["m_columns"][] = "nro_Acciones_2";
$proto35["m_columns"][] = "serie_Acciones";
$proto35["m_columns"][] = "estado_Pago";
$proto35["m_columns"][] = "tipo_Acciones";
$proto35["m_columns"][] = "gravamen";
$proto35["m_columns"][] = "fecha_Emision";
$proto35["m_columns"][] = "fecha_Inscripcion";
$proto35["m_columns"][] = "clase_Acciones";
$proto35["m_columns"][] = "nro_Acciones_Literal";
$proto35["m_columns"][] = "total_bs";
$proto35["m_columns"][] = "total_bs_literal";
$proto35["m_columns"][] = "estado_titulo";
$proto35["m_columns"][] = "saldo_Acciones_A";
$proto35["m_columns"][] = "saldo_Acciones";
$proto35["m_columns"][] = "id_constitucion";
$proto35["m_columns"][] = "responsable";
$proto35["m_columns"][] = "sub_total_acciones";
$proto35["m_columns"][] = "total_acumulado";
$obj = new SQLTable($proto35);

$proto34["m_table"] = $obj;
$proto34["m_sql"] = "derecho_propietario_2";
$proto34["m_alias"] = "";
$proto34["m_srcTableName"] = "derecho_propietario_2";
$proto36=array();
$proto36["m_sql"] = "";
$proto36["m_uniontype"] = "SQLL_UNKNOWN";
	$obj = new SQLNonParsed(array(
	"m_sql" => ""
));

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

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

$proto0["m_fromlist"][]=$obj;
												$proto38=array();
$proto38["m_link"] = "SQLL_INNERJOIN";
			$proto39=array();
$proto39["m_strName"] = "union_acciones_total";
$proto39["m_srcTableName"] = "derecho_propietario_2";
$proto39["m_columns"] = array();
$proto39["m_columns"][] = "id_socio";
$proto39["m_columns"][] = "total_Acciones";
$obj = new SQLTable($proto39);

$proto38["m_table"] = $obj;
$proto38["m_sql"] = "INNER JOIN union_acciones_total ON derecho_propietario_2.accionista = union_acciones_total.id_socio";
$proto38["m_alias"] = "";
$proto38["m_srcTableName"] = "derecho_propietario_2";
$proto40=array();
$proto40["m_sql"] = "union_acciones_total.id_socio = derecho_propietario_2.accionista";
$proto40["m_uniontype"] = "SQLL_UNKNOWN";
						$obj = new SQLField(array(
	"m_strName" => "id_socio",
	"m_strTable" => "union_acciones_total",
	"m_srcTableName" => "derecho_propietario_2"
));

$proto40["m_column"]=$obj;
$proto40["m_contained"] = array();
$proto40["m_strCase"] = "= derecho_propietario_2.accionista";
$proto40["m_havingmode"] = false;
$proto40["m_inBrackets"] = false;
$proto40["m_useAlias"] = false;
$obj = new SQLLogicalExpr($proto40);

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

$proto0["m_fromlist"][]=$obj;
$proto0["m_groupby"] = array();
$proto0["m_orderby"] = array();
$proto0["m_srcTableName"]="derecho_propietario_2";		
$obj = new SQLQuery($proto0);

	return $obj;
}
$queryData_derecho_propietario_2 = createSqlQuery_derecho_propietario_2();


	
				;

														

$tdataderecho_propietario_2[".sqlquery"] = $queryData_derecho_propietario_2;



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

?>