/*
               File: HInt0006
        Description: Logon SAE Merenda
             Author: GeneXus Java Generator version 10_1_3-35542
       Generated on: June 20, 2011 15:50:57.9
       Program type: Main program
          Main DBMS: as400
*/
gx.evt.autoSkip = false;
function hint0006() {
   this.ServerClass =  "HInt0006" ;
   this.PackageName =  "" ;
   this.setObjectType("web");
   this.hasEnterEvent = true;
   this.SetStandaloneVars=function()
   {
      this.AV15nclcli_cod=gx.fn.getIntegerValue("_NCLCLI_COD",'.') ;
      this.AV33sgasis_cod=gx.fn.getControlValue("_SGASIS_COD") ;
   };
   this.Validv_Sgausu_cod=function()
   {
      try {
         var gxballoon = gx.util.balloon.getNew("_SGAUSU_COD");
         this.AnyError  = 0;

      }
      catch(e){}
      try {
         if (gxballoon == null) return true; return gxballoon.show();
      }
      catch(e){}
      return true ;
   }
   this.Validv_Saeuni_cod=function()
   {
      try {
         var gxballoon = gx.util.balloon.getNew("_SAEUNI_COD");
         this.AnyError  = 0;

      }
      catch(e){}
      try {
         if (gxballoon == null) return true; return gxballoon.show();
      }
      catch(e){}
      return true ;
   }
   this.e150t1_client=function()
   {
      this.clearMessages();
      if ( this.AV41tipo == 1 )
      {
      }
      else if ( this.AV41tipo == 2 )
      {
      }
      else if ( this.AV41tipo == 9 )
      {
      }
      this.refreshOutputs([]);
   };
   this.e120t2_client=function()
   {
      this.executeServerEvent("ENTER", true);
   };
   this.e130t2_client=function()
   {
      this.executeServerEvent("'BOBO'", true);
   };
   this.e160t2_client=function()
   {
      this.executeServerEvent("CANCEL", true);
   };
   this.GXValidFnc = [];
   this.GXCtrlIds=[29,34,39,44,50];
   this.GXLastCtrlId =50;
   this.GXValidFnc[29]={lvl:0,type:"int",len:1,dec:0,sign:false,pic:"9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"_TIPO",gxz:"ZV41tipo",gxold:"OV41tipo",gxvar:"AV41tipo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(Value){gx.O.AV41tipo=gx.num.intval(Value)},v2z:function(Value){gx.O.ZV41tipo=gx.num.intval(Value)},v2c:function(){gx.fn.setComboBoxValue("_TIPO",gx.O.AV41tipo)},c2v:function(){gx.O.AV41tipo=this.val()},val:function(){return gx.fn.getIntegerValue("_TIPO",'.')}};
   this.GXValidFnc[34]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Sgausu_cod,isvalid:null,fld:"_SGAUSU_COD",gxz:"ZV35sgausu_cod",gxold:"OV35sgausu_cod",gxvar:"AV35sgausu_cod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV35sgausu_cod=Value},v2z:function(Value){gx.O.ZV35sgausu_cod=Value},v2c:function(){gx.fn.setControlValue("_SGAUSU_COD",gx.O.AV35sgausu_cod,0)},c2v:function(){gx.O.AV35sgausu_cod=this.val()},val:function(){return gx.fn.getControlValue("_SGAUSU_COD")}};
   this.GXValidFnc[39]={lvl:0,type:"char",len:32,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"_SGAUSU_SEN",gxz:"ZV38sgausu_sen",gxold:"OV38sgausu_sen",gxvar:"AV38sgausu_sen",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(Value){gx.O.AV38sgausu_sen=Value},v2z:function(Value){gx.O.ZV38sgausu_sen=Value},v2c:function(){gx.fn.setControlValue("_SGAUSU_SEN",gx.O.AV38sgausu_sen,0)},c2v:function(){gx.O.AV38sgausu_sen=this.val()},val:function(){return gx.fn.getControlValue("_SGAUSU_SEN")}};
   this.GXValidFnc[44]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Saeuni_cod,isvalid:null,rgrid:[],fld:"_SAEUNI_COD",gxz:"ZV30saeuni_cod",gxold:"OV30saeuni_cod",gxvar:"AV30saeuni_cod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(Value){gx.O.AV30saeuni_cod=gx.num.intval(Value)},v2z:function(Value){gx.O.ZV30saeuni_cod=gx.num.intval(Value)},v2c:function(){gx.fn.setComboBoxValue("_SAEUNI_COD",gx.O.AV30saeuni_cod)},c2v:function(){gx.O.AV30saeuni_cod=this.val()},val:function(){return gx.fn.getIntegerValue("_SAEUNI_COD",'.')}};
   this.GXValidFnc[50]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"_FLAGUSR",gxz:"ZV11FlagUsr",gxold:"OV11FlagUsr",gxvar:"AV11FlagUsr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(Value){gx.O.AV11FlagUsr=Value},v2z:function(Value){gx.O.ZV11FlagUsr=Value},v2c:function(){gx.fn.setCheckBoxValue("_FLAGUSR",gx.O.AV11FlagUsr,"S")},c2v:function(){gx.O.AV11FlagUsr=this.val()},val:function(){return gx.fn.getCheckBoxValue("_FLAGUSR","S","N")}};
   this.AV41tipo = 0 ;
   this.ZV41tipo = 0 ;
   this.OV41tipo = 0 ;
   this.AV35sgausu_cod = "" ;
   this.ZV35sgausu_cod = "" ;
   this.OV35sgausu_cod = "" ;
   this.AV38sgausu_sen = "" ;
   this.ZV38sgausu_sen = "" ;
   this.OV38sgausu_sen = "" ;
   this.AV30saeuni_cod = 0 ;
   this.ZV30saeuni_cod = 0 ;
   this.OV30saeuni_cod = 0 ;
   this.AV11FlagUsr = "" ;
   this.ZV11FlagUsr = "" ;
   this.OV11FlagUsr = "" ;
   this.AV15nclcli_cod = 0 ;
   this.AV33sgasis_cod = "" ;
   this.A84sgausu_cod = "" ;
   this.A1856sgapas_qtd_max_dias_troca = 0 ;
   this.A1859sgauls_tmst = gx.date.nullDate() ;
   this.A1404sgapas_cod = 0 ;
   this.A44gmeuni_cod = 0 ;
   this.A4nclcli_cod = 0 ;
   this.A742gmeusu_cod_usu_atz = "" ;
   this.A37saeuni_cod = 0 ;
   this.A35saeuni_nom = "" ;
   this.A156gmeuni_nom = "" ;
   this.A206ParCod = 0 ;
   this.A216ParLinGrd = 0 ;
   this.A207ParSmtp = "" ;
   this.A208ParEmail = "" ;
   this.A220ParTpoLng = "" ;
   this.A36sgasis_cod = "" ;
   this.A1860sgausi_cod_usu_incl = "" ;
   this.A1848sgausu_chave_cripg = "" ;
   this.A450sgausu_sen = "" ;
   this.A547sgagru_cod = 0 ;
   this.A1844sgausu_ind_sit = "" ;
   this.A85sgausu_tipo = "" ;
   this.A545sgausu_nom = "" ;
   this.A1845sgausu_tmst_ult_aces = gx.date.nullDate() ;
   this.A857gmefus_cod_usu_atz = "" ;
   this.A517gmepar_cod_cli = 0 ;
   this.A540gmepar_cod_grupo_usu = 0 ;
   this.ServerEvents = ["e120t2_client" ,"e130t2_client" ,"e160t2_client"];
   this.VarControlMap["AV15nclcli_cod"] = {id:"_NCLCLI_COD",grid:0,type:"int"};
   this.VarControlMap["AV33sgasis_cod"] = {id:"_SGASIS_COD",grid:0,type:"char"};
   this.SetStandaloneVars( );
}
hint0006.prototype = new gx.GxObject;
gx.setParentObj(new hint0006());

