/*
               File: NUC001
        Description: Login do Sistema
             Author: GeneXus C# Generator version 9_0_7-910
       Generated on: 12/9/2009 16:39:26.94
       Program type: Main program
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetTimeFormat( 24 );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this._SetStandaloneVars=function()
{
   Gx_date = GXgetDateValue("_TODAY")
   A73RES_VAL = GXgetDateValue("RES_VALIDADE")
}
this._Validv_Res_user_id=function()
{
   try {
      gxballoon = getGXBallon("_RES_USER_ID");
      AnyError = 0;
      gxajaxCallCrl(["AV5RES_USE"],"_POR_ID");
   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this._nuc001=function()
{
}
this._init=function()
{
}
_GXValidFnc = new Array();
this._GXLastCtrlId =14;
_GXValidFnc[10]={lvl:0,grid:0,fnc:_Validv_Res_user_id,fld:"_RES_USER_ID",gxvar:"AV5RES_USE",op:[14],ip:[10,14],nacdep:[],v2v:function(Value){AV5RES_USE=Value},v2c:function(){GXsetControlValue("_RES_USER_ID",AV5RES_USE,0)},c2v:function(){AV5RES_USE=GXgetControlValue("_RES_USER_ID")}};
_GXValidFnc[12]={lvl:0,grid:0,fnc:null,fld:"_SENHA",gxvar:"AV6Senha",op:[],ip:[],nacdep:[],v2v:function(Value){AV6Senha=Value},v2c:function(){},c2v:function(){AV6Senha=GXgetControlValue("_SENHA")}};
_GXValidFnc[14]={lvl:0,grid:0,fnc:null,fld:"_POR_ID",gxvar:"AV16POR_ID",op:[],ip:[],nacdep:[],v2v:function(Value){AV16POR_ID=gxint(Value)},v2c:function(){GXsetComboBoxValue("_POR_ID",AV16POR_ID)},c2v:function(){AV16POR_ID=GXgetIntegerValue("_POR_ID")}};
this.AV5RES_USE=0;
this.AV6Senha=0;
this.AV16POR_ID=0;
_SetStandaloneVars( ) ;
