/*
               File: TorneosI
        Description: Torneos Inferiores
             Author: GeneXus C# Generator version 9_0_7-910
       Generated on: 4/14/2010 23:24:2.67
       Program type: Callable routine
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetTimeFormat( 24 );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this._SetStandaloneVars=function()
{
   A458TorCod = GXgetControlValue("TORCODICAM")
   A648TorTip = GXgetControlValue("TORTIPOCAM")
   AV24Pgmnam = GXgetControlValue("_PGMNAME")
}
this._StandaloneModal=function()
{
   if ( AnyError == 0 && ( A456DivCod != gxOldKey("A456DivCodA458TorCod") ) )
   {
      gxajaxloadCrl('gxLoad_5',new Array("A456DivCod"),new Array("A458TorCod"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("No existe %1", "Divisiones"));
         AnyError = 1 ;
         gxUnsetSetKey("A456DivCodA458TorCod");
      }
      else
      {
         gxSetKey("A456DivCodA458TorCod","A456DivCod");
      }
   }
   try {
      if ( A458TorCod == 'PA' || A458TorCod == 'PB' )
      {
         A648TorTip = 'PRIM' ;
      }
      else
      {
         A648TorTip = 'JUVE' ;
      }
   }
   catch(e){}
}
this._torneosi=function()
{
}
this._init=function()
{
}
_GXValidFnc = new Array();
this._GXLastCtrlId =15;
_GXValidFnc [ 13 ]={lvl: 2 ,grid: 10 ,pgrid: 0 ,fnc: null ,fld: "CAMNOMB" ,gxvar: "A164CamNom" ,op:[  ],ip:[  ],v2v:function(Value){ A164CamNom=Value },v2c:function(){ GXsetGridControlValue("CAMNOMB",GXCurrentRow[10],A164CamNom,0) }, c2v:function(){ A164CamNom=GXgetGridControlValue("CAMNOMB",GXCurrentRow[10]) }, nac:function(){return  null }};
_GXValidFnc [ 14 ]={lvl: 2 ,grid: 10 ,pgrid: 0 ,fnc: null ,fld: "CAMOBSE" ,gxvar: "A165CamObs" ,op:[  ],ip:[  ],v2v:function(Value){ A165CamObs=Value },v2c:function(){ GXsetGridControlValue("CAMOBSE",GXCurrentRow[10],A165CamObs,0) }, c2v:function(){ A165CamObs=GXgetGridControlValue("CAMOBSE",GXCurrentRow[10]) }, nac:function(){return  null }};
_GXValidFnc [ 15 ]={lvl: 2 ,grid: 10 ,pgrid: 0 ,fnc: null ,fld: "CAMCODI" ,gxvar: "A172CamCod" ,op:[  ],ip:[  ],v2v:function(Value){ A172CamCod=gxint(Value) },v2c:function(){ GXsetGridControlValue("CAMCODI",GXCurrentRow[10],A172CamCod,0) }, c2v:function(){ A172CamCod=GXgetGridIntegerValue("CAMCODI",GXCurrentRow[10]) }, nac:function(){return  null }};
_SetStandaloneVars( ) ;

