/*
               File: Rsv001_C
        Description: Reservas Selección Destino Web Clientes
             Author: GeneXus Java Generator version 9_0_6-019
       Generated on: February 26, 2010 13:0:4.23
       Program type: Callable routine
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetTimeFormat( 24 );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this._SetStandaloneVars=function()
{
   AV276Pgmde = GXgetControlValue("_PGMDESC")
   AV275Pgmna = GXgetControlValue("_PGMNAME")
   Gx_date = GXgetDateValue("_TODAY")
}
this._Validv_Idmid=function()
{
   try {
      gxballoon = getGXBallon("_IDMID");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this._Validv_Paiid=function()
{
   try {
      gxballoon = getGXBallon("_PAIID");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this._Validv_Prvid1=function()
{
   try {
      gxballoon = getGXBallon("_PRVID1");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this._rsv001_c=function()
{
}
this._init=function()
{
}
_GXValidFnc = new Array();
this._GXLastCtrlId =178;
_GXValidFnc[6]={lvl:0,grid:0,fnc:null,fld:"_SV",gxvar:"AV249Sv",op:[],ip:[],nacdep:[],v2v:function(Value){AV249Sv=gxint(Value)},v2c:function(){GXsetControlValue("_SV",AV249Sv,0)},c2v:function(){AV249Sv=GXgetIntegerValue("_SV")}};
_GXValidFnc[7]={lvl:0,grid:0,fnc:null,fld:"_DIASEMANA1",gxvar:"AV238DiaSe",op:[],ip:[],nacdep:[],v2v:function(Value){AV238DiaSe=Value},v2c:function(){GXsetComboBoxValue("_DIASEMANA1",AV238DiaSe)},c2v:function(){AV238DiaSe=GXgetControlValue("_DIASEMANA1")}};
_GXValidFnc[9]={lvl:0,grid:0,fnc:null,fld:"_ERRORNINOS",gxvar:"AV186error",op:[],ip:[],nacdep:[],v2v:function(Value){AV186error=gxint(Value)},v2c:function(){GXsetControlValue("_ERRORNINOS",AV186error,0)},c2v:function(){AV186error=GXgetIntegerValue("_ERRORNINOS")}};
_GXValidFnc[10]={lvl:0,grid:0,fnc:null,fld:"_HAYN",gxvar:"AV180hayN",op:[],ip:[],nacdep:[],v2v:function(Value){AV180hayN=Value},v2c:function(){GXsetControlValue("_HAYN",AV180hayN,0)},c2v:function(){AV180hayN=GXgetControlValue("_HAYN")}};
_GXValidFnc[11]={lvl:0,grid:0,fnc:null,fld:"_CUENTA",gxvar:"AV212cuent",op:[],ip:[],nacdep:[],v2v:function(Value){AV212cuent=gxint(Value)},v2c:function(){GXsetControlValue("_CUENTA",AV212cuent,0)},c2v:function(){AV212cuent=GXgetIntegerValue("_CUENTA")}};
_GXValidFnc[12]={lvl:0,grid:0,fnc:null,fld:"_HABITACION",gxvar:"AV216habit",op:[],ip:[],nacdep:[],v2v:function(Value){AV216habit=gxint(Value)},v2c:function(){GXsetControlValue("_HABITACION",AV216habit,0)},c2v:function(){AV216habit=GXgetIntegerValue("_HABITACION")}};
_GXValidFnc[13]={lvl:0,grid:0,fnc:null,fld:"_CORRECTA",gxvar:"AV198corre",op:[],ip:[],nacdep:[],v2v:function(Value){AV198corre=Value},v2c:function(){GXsetControlValue("_CORRECTA",AV198corre,0)},c2v:function(){AV198corre=GXgetControlValue("_CORRECTA")}};
_GXValidFnc[14]={lvl:0,grid:0,fnc:null,fld:"_PAITIPDIR",gxvar:"AV50PaiTip",op:[],ip:[],nacdep:[],v2v:function(Value){AV50PaiTip=Value},v2c:function(){GXsetControlValue("_PAITIPDIR",AV50PaiTip,0)},c2v:function(){AV50PaiTip=GXgetControlValue("_PAITIPDIR")}};
_GXValidFnc[15]={lvl:0,grid:0,fnc:null,fld:"_CARGAPOBLACIONES",gxvar:"AV53CargaP",op:[],ip:[],nacdep:[],v2v:function(Value){AV53CargaP=gxint(Value)},v2c:function(){GXsetControlValue("_CARGAPOBLACIONES",AV53CargaP,0)},c2v:function(){AV53CargaP=GXgetIntegerValue("_CARGAPOBLACIONES")}};
_GXValidFnc[16]={lvl:0,grid:0,fnc:null,fld:"_CARGAPROVINCIA",gxvar:"AV52CargaP",op:[],ip:[],nacdep:[],v2v:function(Value){AV52CargaP=gxint(Value)},v2c:function(){GXsetControlValue("_CARGAPROVINCIA",AV52CargaP,0)},c2v:function(){AV52CargaP=GXgetIntegerValue("_CARGAPROVINCIA")}};
_GXValidFnc[17]={lvl:0,grid:0,fnc:null,fld:"_CARGAPAIS",gxvar:"AV108Carga",op:[],ip:[],nacdep:[],v2v:function(Value){AV108Carga=gxint(Value)},v2c:function(){GXsetControlValue("_CARGAPAIS",AV108Carga,0)},c2v:function(){AV108Carga=GXgetIntegerValue("_CARGAPAIS")}};
_GXValidFnc[18]={lvl:0,grid:0,fnc:null,fld:"_IDMID",gxvar:"AV112IdmId",op:[],ip:[],nacdep:[],v2v:function(Value){AV112IdmId=gxint(Value)},v2c:function(){GXsetControlValue("_IDMID",AV112IdmId,0)},c2v:function(){AV112IdmId=GXgetIntegerValue("_IDMID")}};
_GXValidFnc[19]={lvl:0,grid:0,fnc:null,fld:"_C4",gxvar:"AV230c4",op:[],ip:[],nacdep:[],v2v:function(Value){AV230c4=gxint(Value)},v2c:function(){GXsetControlValue("_C4",AV230c4,0)},c2v:function(){AV230c4=GXgetIntegerValue("_C4")}};
_GXValidFnc[20]={lvl:0,grid:0,fnc:null,fld:"_C5",gxvar:"AV231c5",op:[],ip:[],nacdep:[],v2v:function(Value){AV231c5=gxint(Value)},v2c:function(){GXsetControlValue("_C5",AV231c5,0)},c2v:function(){AV231c5=GXgetIntegerValue("_C5")}};
_GXValidFnc[21]={lvl:0,grid:0,fnc:null,fld:"_C3",gxvar:"AV232c3",op:[],ip:[],nacdep:[],v2v:function(Value){AV232c3=gxint(Value)},v2c:function(){GXsetControlValue("_C3",AV232c3,0)},c2v:function(){AV232c3=GXgetIntegerValue("_C3")}};
_GXValidFnc[22]={lvl:0,grid:0,fnc:null,fld:"_CA",gxvar:"AV233ca",op:[],ip:[],nacdep:[],v2v:function(Value){AV233ca=gxint(Value)},v2c:function(){GXsetControlValue("_CA",AV233ca,0)},c2v:function(){AV233ca=GXgetIntegerValue("_CA")}};
_GXValidFnc[23]={lvl:0,grid:0,fnc:null,fld:"_I",gxvar:"AV136i",op:[],ip:[],nacdep:[],v2v:function(Value){AV136i=gxint(Value)},v2c:function(){GXsetControlValue("_I",AV136i,0)},c2v:function(){AV136i=GXgetIntegerValue("_I")}};
_GXValidFnc[26]={lvl:0,grid:0,fnc:null,fld:"_DBCK",gxvar:"AV202DbCk",op:[],ip:[],nacdep:[],v2v:function(Value){AV202DbCk=Value},v2c:function(){GXsetControlValue("_DBCK",AV202DbCk,0)},c2v:function(){AV202DbCk=GXgetControlValue("_DBCK")}};
_GXValidFnc[27]={lvl:0,grid:0,fnc:null,fld:"_RNDTMP",gxvar:"AV203RndTm",op:[],ip:[],nacdep:[],v2v:function(Value){AV203RndTm=gxint(Value)},v2c:function(){GXsetControlValue("_RNDTMP",AV203RndTm,0)},c2v:function(){AV203RndTm=GXgetIntegerValue("_RNDTMP")}};
_GXValidFnc[28]={lvl:0,grid:0,fnc:null,fld:"_DISPTODOS",gxvar:"AV224DispT",op:[],ip:[],nacdep:[],v2v:function(Value){AV224DispT=Value},v2c:function(){GXsetControlValue("_DISPTODOS",AV224DispT,0)},c2v:function(){AV224DispT=GXgetControlValue("_DISPTODOS")}};
_GXValidFnc[29]={lvl:0,grid:0,fnc:null,fld:"_TIPON",gxvar:"AV226TipoN",op:[],ip:[],nacdep:[],v2v:function(Value){AV226TipoN=Value},v2c:function(){GXsetControlValue("_TIPON",AV226TipoN,0)},c2v:function(){AV226TipoN=GXgetControlValue("_TIPON")}};
_GXValidFnc[30]={lvl:0,grid:0,fnc:null,fld:"_TCAT",gxvar:"AV227Tcat",op:[],ip:[],nacdep:[],v2v:function(Value){AV227Tcat=Value},v2c:function(){GXsetControlValue("_TCAT",AV227Tcat,0)},c2v:function(){AV227Tcat=GXgetControlValue("_TCAT")}};
_GXValidFnc[31]={lvl:0,grid:0,fnc:null,fld:"_CATEGORIA",gxvar:"AV228categ",op:[],ip:[],nacdep:[],v2v:function(Value){AV228categ=gxint(Value)},v2c:function(){GXsetControlValue("_CATEGORIA",AV228categ,0)},c2v:function(){AV228categ=GXgetIntegerValue("_CATEGORIA")}};
_GXValidFnc[32]={lvl:0,grid:0,fnc:null,fld:"_TIPOB",gxvar:"AV152TipoB",op:[],ip:[],nacdep:[],v2v:function(Value){AV152TipoB=Value},v2c:function(){GXsetControlValue("_TIPOB",AV152TipoB,0)},c2v:function(){AV152TipoB=GXgetControlValue("_TIPOB")}};
_GXValidFnc[36]={lvl:0,grid:0,fnc:null,fld:"_POBID2",gxvar:"AV126PobId",op:[],ip:[],nacdep:[],v2v:function(Value){AV126PobId=Value},v2c:function(){GXsetComboBoxValue("_POBID2",AV126PobId)},c2v:function(){AV126PobId=GXgetControlValue("_POBID2")}};
_GXValidFnc[40]={lvl:0,grid:0,fnc:null,fld:"_TIPOPRODUCTO",gxvar:"AV159TipoP",op:[],ip:[],nacdep:[],v2v:function(Value){AV159TipoP=gxint(Value)},v2c:function(){GXsetComboBoxValue("_TIPOPRODUCTO",AV159TipoP)},c2v:function(){AV159TipoP=GXgetIntegerValue("_TIPOPRODUCTO")}};
_GXValidFnc[44]={lvl:0,grid:0,fnc:null,fld:"_NROTALON",gxvar:"AV162NroTa",op:[],ip:[],nacdep:[],v2v:function(Value){AV162NroTa=GXtoDecimalValue(Value,".",",")},v2c:function(){GXsetComboBoxValue("_NROTALON",AV162NroTa)},c2v:function(){AV162NroTa=GXgetDecimalValue("_NROTALON",".",",")}};
_GXValidFnc[60]={lvl:0,grid:0,fnc:null,fld:"_DIADESIDM1",gxvar:"AV240DiaDe",op:[],ip:[],nacdep:[],v2v:function(Value){AV240DiaDe=Value},v2c:function(){GXsetControlValue("_DIADESIDM1",AV240DiaDe,0)},c2v:function(){AV240DiaDe=GXgetControlValue("_DIADESIDM1")}};
_GXValidFnc[62]={lvl:0,grid:0,fnc:null,fld:"_FECINI",gxvar:"AV134FecIn",op:[],ip:[],nacdep:[],v2v:function(Value){AV134FecIn=Value},v2c:function(){GXsetControlValue("_FECINI",AV134FecIn,0)},c2v:function(){AV134FecIn=GXgetControlValue("_FECINI")}};
_GXValidFnc[66]={lvl:0,grid:0,fnc:null,fld:"_DIADESIDM2",gxvar:"AV241DiaDe",op:[],ip:[],nacdep:[],v2v:function(Value){AV241DiaDe=Value},v2c:function(){GXsetControlValue("_DIADESIDM2",AV241DiaDe,0)},c2v:function(){AV241DiaDe=GXgetControlValue("_DIADESIDM2")}};
_GXValidFnc[68]={lvl:0,grid:0,fnc:null,fld:"_FECFIN",gxvar:"AV135FecFi",op:[],ip:[],nacdep:[],v2v:function(Value){AV135FecFi=Value},v2c:function(){GXsetControlValue("_FECFIN",AV135FecFi,0)},c2v:function(){AV135FecFi=GXgetControlValue("_FECFIN")}};
_GXValidFnc[77]={lvl:0,grid:0,fnc:null,fld:"_DIAS",gxvar:"AV239Dias",op:[],ip:[],nacdep:[],v2v:function(Value){AV239Dias=gxint(Value)},v2c:function(){GXsetComboBoxValue("_DIAS",AV239Dias)},c2v:function(){AV239Dias=GXgetIntegerValue("_DIAS")}};
_GXValidFnc[99]={lvl:0,grid:0,fnc:null,fld:"_DIRECCION",gxvar:"AV151Direc",op:[],ip:[],nacdep:[],v2v:function(Value){AV151Direc=Value},v2c:function(){GXsetControlValue("_DIRECCION",AV151Direc,0)},c2v:function(){AV151Direc=GXgetControlValue("_DIRECCION")}};
_GXValidFnc[126]={lvl:0,grid:0,fnc:null,fld:"_NOMHOT",gxvar:"AV244NomHo",op:[],ip:[],nacdep:[],v2v:function(Value){AV244NomHo=Value},v2c:function(){GXsetControlValue("_NOMHOT",AV244NomHo,0)},c2v:function(){AV244NomHo=GXgetControlValue("_NOMHOT")}};
_GXValidFnc[128]={lvl:0,grid:0,fnc:null,fld:"_DIRECCION2",gxvar:"AV254Direc",op:[],ip:[],nacdep:[],v2v:function(Value){AV254Direc=Value},v2c:function(){GXsetControlValue("_DIRECCION2",AV254Direc,0)},c2v:function(){AV254Direc=GXgetControlValue("_DIRECCION2")}};
_GXValidFnc[132]={lvl:0,grid:0,fnc:null,fld:"_PAIID",gxvar:"AV41PaiId",op:[],ip:[],nacdep:[],v2v:function(Value){AV41PaiId=gxint(Value)},v2c:function(){GXsetComboBoxValue("_PAIID",AV41PaiId)},c2v:function(){AV41PaiId=GXgetIntegerValue("_PAIID")}};
_GXValidFnc[135]={lvl:0,grid:0,fnc:null,fld:"_PRVID1",gxvar:"AV123PrvId",op:[],ip:[],nacdep:[],v2v:function(Value){AV123PrvId=Value},v2c:function(){GXsetComboBoxValue("_PRVID1",AV123PrvId)},c2v:function(){AV123PrvId=GXgetControlValue("_PRVID1")}};
_GXValidFnc[138]={lvl:0,grid:0,fnc:null,fld:"_POBID1",gxvar:"AV125PobId",op:[],ip:[],nacdep:[],v2v:function(Value){AV125PobId=Value},v2c:function(){GXsetComboBoxValue("_POBID1",AV125PobId)},c2v:function(){AV125PobId=GXgetControlValue("_POBID1")}};
_GXValidFnc[147]={lvl:0,grid:0,fnc:null,fld:"_HOTHABID",gxvar:"AV187HotHa",op:[],ip:[],nacdep:[],v2v:function(Value){AV187HotHa=gxint(Value)},v2c:function(){GXsetComboBoxValue("_HOTHABID",AV187HotHa)},c2v:function(){AV187HotHa=GXgetIntegerValue("_HOTHABID")}};
_GXValidFnc[148]={lvl:0,grid:0,fnc:null,fld:"_HOTNUMHABA",gxvar:"AV140HotNu",op:[],ip:[],nacdep:[],v2v:function(Value){AV140HotNu=gxint(Value)},v2c:function(){GXsetComboBoxValue("_HOTNUMHABA",AV140HotNu)},c2v:function(){AV140HotNu=GXgetIntegerValue("_HOTNUMHABA")}};
_GXValidFnc[149]={lvl:0,grid:0,fnc:null,fld:"_HOTNUMPERN",gxvar:"AV144HotNu",op:[],ip:[],nacdep:[],v2v:function(Value){AV144HotNu=gxint(Value)},v2c:function(){GXsetComboBoxValue("_HOTNUMPERN",AV144HotNu)},c2v:function(){AV144HotNu=GXgetIntegerValue("_HOTNUMPERN")}};
_GXValidFnc[156]={lvl:0,grid:0,fnc:null,fld:"_EDAD1",gxvar:"AV146Edad1",op:[],ip:[],nacdep:[],v2v:function(Value){AV146Edad1=gxint(Value)},v2c:function(){GXsetControlValue("_EDAD1",AV146Edad1,0)},c2v:function(){AV146Edad1=GXgetIntegerValue("_EDAD1")}};
_GXValidFnc[158]={lvl:0,grid:0,fnc:null,fld:"_EDAD2",gxvar:"AV147Edad2",op:[],ip:[],nacdep:[],v2v:function(Value){AV147Edad2=gxint(Value)},v2c:function(){GXsetControlValue("_EDAD2",AV147Edad2,0)},c2v:function(){AV147Edad2=GXgetIntegerValue("_EDAD2")}};
_GXValidFnc[164]={lvl:0,grid:0,fnc:null,fld:"_TIPOTAL",gxvar:"AV248TipoT",op:[],ip:[],nacdep:[],v2v:function(Value){AV248TipoT=gxint(Value)},v2c:function(){GXsetComboBoxValue("_TIPOTAL",AV248TipoT)},c2v:function(){AV248TipoT=GXgetIntegerValue("_TIPOTAL")}};
_GXValidFnc[178]={lvl:0,grid:0,fnc:null,fld:"_HAYE1",gxvar:"AV182hayE1",op:[],ip:[],nacdep:[],v2v:function(Value){AV182hayE1=gxint(Value)},v2c:function(){GXsetComboBoxValue("_HAYE1",AV182hayE1)},c2v:function(){AV182hayE1=GXgetIntegerValue("_HAYE1")}};
this.AV249Sv=0;
this.AV238DiaSe=0;
this.AV186error=0;
this.AV180hayN=0;
this.AV212cuent=0;
this.AV216habit=0;
this.AV198corre=0;
this.AV50PaiTip=0;
this.AV53CargaP=0;
this.AV52CargaP=0;
this.AV108Carga=0;
this.AV112IdmId=0;
this.AV230c4=0;
this.AV231c5=0;
this.AV232c3=0;
this.AV233ca=0;
this.AV136i=0;
this.AV202DbCk=0;
this.AV203RndTm=0;
this.AV224DispT=0;
this.AV226TipoN=0;
this.AV227Tcat=0;
this.AV228categ=0;
this.AV152TipoB=0;
this.AV126PobId=0;
this.AV159TipoP=0;
this.AV162NroTa=0;
this.AV240DiaDe=0;
this.AV134FecIn=0;
this.AV241DiaDe=0;
this.AV135FecFi=0;
this.AV239Dias=0;
this.AV151Direc=0;
this.AV244NomHo=0;
this.AV254Direc=0;
this.AV41PaiId=0;
this.AV123PrvId=0;
this.AV125PobId=0;
this.AV187HotHa=0;
this.AV140HotNu=0;
this.AV144HotNu=0;
this.AV146Edad1=0;
this.AV147Edad2=0;
this.AV248TipoT=0;
this.AV182hayE1=0;
_SetStandaloneVars( ) ;
