/*
               File: REP105
        Description: Archivo de representaciones
             Author: GeneXus C# Generator version 9_0_7-910
       Generated on: 12/19/2010 22:2:22.85
       Program type: Callable routine
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetTimeFormat( 24 );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this._SetStandaloneVars=function()
{
}
this._StandaloneModal=function()
{
   if ( AnyError == 0 && ( A490Repres != gxOldGridKey("A490RepresA534Repres",32) ) )
   {
      gxajaxloadCrl('gxLoad_4',new Array("A490Repres"),new Array("A534Repres","A505Tempor","A579Repres","A578Repres","A536Repres"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("No existe %1", "Representaciones temporada"));
         AnyError = 1 ;
         gxUnsetSetGridKey("A490RepresA534Repres",32);
      }
      else
      {
         gxSetGridKey("A490RepresA534Repres",32,"A490Repres");
      }
   }
}
this._rep105=function()
{
}
this._init=function()
{
}
_GXValidFnc = new Array();
this._GXLastCtrlId =41;
_GXValidFnc[14]={lvl:0,grid:0,fnc:null,fld:"_REPIDINOMBRE",gxvar:"AV18RepIdi",op:[],ip:[],nacdep:[],v2v:function(Value){AV18RepIdi=Value},v2c:function(){GXsetControlValue("_REPIDINOMBRE",AV18RepIdi,0)},c2v:function(){AV18RepIdi=GXgetControlValue("_REPIDINOMBRE")}};
_GXValidFnc[16]={lvl:0,grid:0,fnc:null,fld:"_REPIDIAUTOR",gxvar:"AV19RepIdi",op:[],ip:[],nacdep:[],v2v:function(Value){AV19RepIdi=Value},v2c:function(){GXsetControlValue("_REPIDIAUTOR",AV19RepIdi,0)},c2v:function(){AV19RepIdi=GXgetControlValue("_REPIDIAUTOR")}};
_GXValidFnc[18]={lvl:0,grid:0,fnc:null,fld:"_TEMPORADACODIGO",gxvar:"AV20Tempor",op:[],ip:[],nacdep:[],v2v:function(Value){AV20Tempor=gxint(Value)},v2c:function(){GXsetComboBoxValue("_TEMPORADACODIGO",AV20Tempor)},c2v:function(){AV20Tempor=GXgetIntegerValue("_TEMPORADACODIGO")}};
_GXValidFnc[20]={lvl:0,grid:0,fnc:null,fld:"_REPRESENTACIONESTADO",gxvar:"AV21Repres",op:[],ip:[],nacdep:[],v2v:function(Value){AV21Repres=Value},v2c:function(){GXsetComboBoxValue("_REPRESENTACIONESTADO",AV21Repres)},c2v:function(){AV21Repres=GXgetControlValue("_REPRESENTACIONESTADO")}};
_GXValidFnc [ 41 ]={lvl: 2 ,grid: 32 ,pgrid: 0 ,fnc: null ,fld: "REPRESENTACIONCODIGO" ,gxvar: "A490Repres" ,op:[  ],ip:[  ],v2v:function(Value){ A490Repres=gxint(Value) },v2c:function(){ GXsetGridControlValue("REPRESENTACIONCODIGO",GXCurrentRow[32],A490Repres,0) }, c2v:function(){ A490Repres=GXgetGridIntegerValue("REPRESENTACIONCODIGO",GXCurrentRow[32]) }, nac:function(){return  null }};
this.AV18RepIdi=0;
this.AV19RepIdi=0;
this.AV20Tempor=0;
this.AV21Repres=0;
_SetStandaloneVars( ) ;

