/*
               File: Rsv022New_C
        Description: Rsv022 New_ C
             Author: GeneXus Java Generator version 9_0_6-019
       Generated on: January 10, 2009 19:17:51.76
       Program type: Callable routine
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetTimeFormat( 24 );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this.hrsv022new_cSetStandaloneVars=function()
{
   AV83Pgmdes = GXgetControlValue("_PGMDESC")
   AV82Pgmnam = GXgetControlValue("_PGMNAME")
   Gx_date = GXgetDateValue("_TODAY")
}
this.hrsv022new_cValidv_Paiid=function()
{
   try {
      gxballoon = getGXBallon("_PAIID");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this.hrsv022new_cValidv_Prvid1=function()
{
   try {
      gxballoon = getGXBallon("_PRVID1");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this.hrsv022new_crsv022new_c=function()
{
}
this.hrsv022new_cinit=function()
{
}
hrsv022new_cGXValidFnc = new Array();
this.hrsv022new_cGXLastCtrlId =53;
hrsv022new_cGXValidFnc[4]={lvl:0,grid:0,fnc:null,fld:"_CUENTA",gxvar:"AV5cuenta",op:[],ip:[],nacdep:[],v2v:function(Value){AV5cuenta=gxint(Value)},v2c:function(){GXsetControlValue("_CUENTA",AV5cuenta,0)},c2v:function(){AV5cuenta=GXgetIntegerValue("_CUENTA")}};
hrsv022new_cGXValidFnc[5]={lvl:0,grid:0,fnc:null,fld:"_HABITACION",gxvar:"AV6habitac",op:[],ip:[],nacdep:[],v2v:function(Value){AV6habitac=gxint(Value)},v2c:function(){GXsetControlValue("_HABITACION",AV6habitac,0)},c2v:function(){AV6habitac=GXgetIntegerValue("_HABITACION")}};
hrsv022new_cGXValidFnc[6]={lvl:0,grid:0,fnc:null,fld:"_CORRECTA",gxvar:"AV7correct",op:[],ip:[],nacdep:[],v2v:function(Value){AV7correct=Value},v2c:function(){GXsetControlValue("_CORRECTA",AV7correct,0)},c2v:function(){AV7correct=GXgetControlValue("_CORRECTA")}};
hrsv022new_cGXValidFnc[7]={lvl:0,grid:0,fnc:null,fld:"_PAITIPDIR",gxvar:"AV8PaiTipD",op:[],ip:[],nacdep:[],v2v:function(Value){AV8PaiTipD=Value},v2c:function(){GXsetControlValue("_PAITIPDIR",AV8PaiTipD,0)},c2v:function(){AV8PaiTipD=GXgetControlValue("_PAITIPDIR")}};
hrsv022new_cGXValidFnc[8]={lvl:0,grid:0,fnc:null,fld:"_CARGAPOBLACIONES",gxvar:"AV9CargaPo",op:[],ip:[],nacdep:[],v2v:function(Value){AV9CargaPo=gxint(Value)},v2c:function(){GXsetControlValue("_CARGAPOBLACIONES",AV9CargaPo,0)},c2v:function(){AV9CargaPo=GXgetIntegerValue("_CARGAPOBLACIONES")}};
hrsv022new_cGXValidFnc[9]={lvl:0,grid:0,fnc:null,fld:"_CARGAPROVINCIA",gxvar:"AV10CargaP",op:[],ip:[],nacdep:[],v2v:function(Value){AV10CargaP=gxint(Value)},v2c:function(){GXsetControlValue("_CARGAPROVINCIA",AV10CargaP,0)},c2v:function(){AV10CargaP=GXgetIntegerValue("_CARGAPROVINCIA")}};
hrsv022new_cGXValidFnc[10]={lvl:0,grid:0,fnc:null,fld:"_CARGAPAIS",gxvar:"AV11CargaP",op:[],ip:[],nacdep:[],v2v:function(Value){AV11CargaP=gxint(Value)},v2c:function(){GXsetControlValue("_CARGAPAIS",AV11CargaP,0)},c2v:function(){AV11CargaP=GXgetIntegerValue("_CARGAPAIS")}};
hrsv022new_cGXValidFnc[11]={lvl:0,grid:0,fnc:null,fld:"_IDMID",gxvar:"AV12IdmId",op:[],ip:[],nacdep:[],v2v:function(Value){AV12IdmId=gxint(Value)},v2c:function(){GXsetControlValue("_IDMID",AV12IdmId,0)},c2v:function(){AV12IdmId=GXgetIntegerValue("_IDMID")}};
hrsv022new_cGXValidFnc[14]={lvl:0,grid:0,fnc:null,fld:"_DBCK",gxvar:"AV13DbCk",op:[],ip:[],nacdep:[],v2v:function(Value){AV13DbCk=Value},v2c:function(){GXsetControlValue("_DBCK",AV13DbCk,0)},c2v:function(){AV13DbCk=GXgetControlValue("_DBCK")}};
hrsv022new_cGXValidFnc[15]={lvl:0,grid:0,fnc:null,fld:"_DISPTODOS",gxvar:"AV14DispTo",op:[],ip:[],nacdep:[],v2v:function(Value){AV14DispTo=Value},v2c:function(){GXsetControlValue("_DISPTODOS",AV14DispTo,0)},c2v:function(){AV14DispTo=GXgetControlValue("_DISPTODOS")}};
hrsv022new_cGXValidFnc[16]={lvl:0,grid:0,fnc:null,fld:"_TIPOB",gxvar:"AV15TipoB",op:[],ip:[],nacdep:[],v2v:function(Value){AV15TipoB=Value},v2c:function(){GXsetControlValue("_TIPOB",AV15TipoB,0)},c2v:function(){AV15TipoB=GXgetControlValue("_TIPOB")}};
hrsv022new_cGXValidFnc[17]={lvl:0,grid:0,fnc:null,fld:"_TCAT",gxvar:"AV16Tcat",op:[],ip:[],nacdep:[],v2v:function(Value){AV16Tcat=Value},v2c:function(){GXsetControlValue("_TCAT",AV16Tcat,0)},c2v:function(){AV16Tcat=GXgetControlValue("_TCAT")}};
hrsv022new_cGXValidFnc[18]={lvl:0,grid:0,fnc:null,fld:"_CATEGORIA",gxvar:"AV17catego",op:[],ip:[],nacdep:[],v2v:function(Value){AV17catego=gxint(Value)},v2c:function(){GXsetControlValue("_CATEGORIA",AV17catego,0)},c2v:function(){AV17catego=GXgetIntegerValue("_CATEGORIA")}};
hrsv022new_cGXValidFnc[19]={lvl:0,grid:0,fnc:null,fld:"_TIPON",gxvar:"AV18TipoN",op:[],ip:[],nacdep:[],v2v:function(Value){AV18TipoN=Value},v2c:function(){GXsetControlValue("_TIPON",AV18TipoN,0)},c2v:function(){AV18TipoN=GXgetControlValue("_TIPON")}};
hrsv022new_cGXValidFnc[39]={lvl:0,grid:0,fnc:null,fld:"_DIRECCION",gxvar:"AV19Direcc",op:[],ip:[],nacdep:[],v2v:function(Value){AV19Direcc=Value},v2c:function(){GXsetControlValue("_DIRECCION",AV19Direcc,0)},c2v:function(){AV19Direcc=GXgetControlValue("_DIRECCION")}};
hrsv022new_cGXValidFnc[40]={lvl:0,grid:0,fnc:null,fld:"_NOMHOT",gxvar:"AV57NomHot",op:[],ip:[],nacdep:[],v2v:function(Value){AV57NomHot=Value},v2c:function(){GXsetControlValue("_NOMHOT",AV57NomHot,0)},c2v:function(){AV57NomHot=GXgetControlValue("_NOMHOT")}};
hrsv022new_cGXValidFnc[42]={lvl:0,grid:0,fnc:null,fld:"_PAIID",gxvar:"AV20PaiId",op:[],ip:[],nacdep:[],v2v:function(Value){AV20PaiId=gxint(Value)},v2c:function(){GXsetComboBoxValue("_PAIID",AV20PaiId)},c2v:function(){AV20PaiId=GXgetIntegerValue("_PAIID")}};
hrsv022new_cGXValidFnc[45]={lvl:0,grid:0,fnc:null,fld:"_PRVID1",gxvar:"AV21PrvId1",op:[],ip:[],nacdep:[],v2v:function(Value){AV21PrvId1=Value},v2c:function(){GXsetComboBoxValue("_PRVID1",AV21PrvId1)},c2v:function(){AV21PrvId1=GXgetControlValue("_PRVID1")}};
hrsv022new_cGXValidFnc[48]={lvl:0,grid:0,fnc:null,fld:"_POBID1",gxvar:"AV22PobId1",op:[],ip:[],nacdep:[],v2v:function(Value){AV22PobId1=Value},v2c:function(){GXsetComboBoxValue("_POBID1",AV22PobId1)},c2v:function(){AV22PobId1=GXgetControlValue("_POBID1")}};
hrsv022new_cGXValidFnc[51]={lvl:0,grid:0,fnc:null,fld:"_FECINI",gxvar:"AV23FecIni",op:[],ip:[],nacdep:[],v2v:function(Value){AV23FecIni=Value},v2c:function(){GXsetControlValue("_FECINI",AV23FecIni,0)},c2v:function(){AV23FecIni=GXgetControlValue("_FECINI")}};
hrsv022new_cGXValidFnc[53]={lvl:0,grid:0,fnc:null,fld:"_FECFIN",gxvar:"AV24FecFin",op:[],ip:[],nacdep:[],v2v:function(Value){AV24FecFin=Value},v2c:function(){GXsetControlValue("_FECFIN",AV24FecFin,0)},c2v:function(){AV24FecFin=GXgetControlValue("_FECFIN")}};
this.AV5cuenta=0;
this.AV6habitac=0;
this.AV7correct=0;
this.AV8PaiTipD=0;
this.AV9CargaPo=0;
this.AV10CargaP=0;
this.AV11CargaP=0;
this.AV12IdmId=0;
this.AV13DbCk=0;
this.AV14DispTo=0;
this.AV15TipoB=0;
this.AV16Tcat=0;
this.AV17catego=0;
this.AV18TipoN=0;
this.AV19Direcc=0;
this.AV57NomHot=0;
this.AV20PaiId=0;
this.AV21PrvId1=0;
this.AV22PobId1=0;
this.AV23FecIni=0;
this.AV24FecFin=0;
hrsv022new_cSetStandaloneVars( ) ;

