/*
               File: NOT011
        Description: Archivo de noticias
             Author: GeneXus C# Generator version 9_0_7-910
       Generated on: 12/19/2010 22:1:20.45
       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 && ( A116Notici != gxOldGridKey("A116NoticiA140Notici",32) ) )
   {
      gxajaxloadCrl('gxLoad_5',new Array("A116Notici"),new Array("A140Notici","A121Notici","A141Notici","A95Categor"));
      if ( GXLastAjaxSt == 101 )
      {
         gxballoon.setError(gxFormat("No existe %1", "Gestión de noticias"));
         AnyError = 1 ;
         gxUnsetSetGridKey("A116NoticiA140Notici",32);
      }
      else
      {
         gxSetGridKey("A116NoticiA140Notici",32,"A116Notici");
      }
   }
}
this._not011=function()
{
}
this._init=function()
{
}
_GXValidFnc = new Array();
this._GXLastCtrlId =39;
_GXValidFnc[14]={lvl:0,grid:0,fnc:null,fld:"_NOTFECINI",gxvar:"AV8NotFecI",op:[],ip:[],nacdep:[],v2v:function(Value){AV8NotFecI=Value},v2c:function(){GXsetControlValue("_NOTFECINI",AV8NotFecI,0)},c2v:function(){AV8NotFecI=GXgetControlValue("_NOTFECINI")}};
_GXValidFnc[16]={lvl:0,grid:0,fnc:null,fld:"_NOTFECFIN",gxvar:"AV11NotFec",op:[],ip:[],nacdep:[],v2v:function(Value){AV11NotFec=Value},v2c:function(){GXsetControlValue("_NOTFECFIN",AV11NotFec,0)},c2v:function(){AV11NotFec=GXgetControlValue("_NOTFECFIN")}};
_GXValidFnc[18]={lvl:0,grid:0,fnc:null,fld:"_NOTDES",gxvar:"AV9NotDes",op:[],ip:[],nacdep:[],v2v:function(Value){AV9NotDes=Value},v2c:function(){GXsetControlValue("_NOTDES",AV9NotDes,0)},c2v:function(){AV9NotDes=GXgetControlValue("_NOTDES")}};
_GXValidFnc[20]={lvl:0,grid:0,fnc:null,fld:"_CATEGORIACODIGO",gxvar:"AV12Catego",op:[],ip:[],nacdep:[],v2v:function(Value){AV12Catego=gxint(Value)},v2c:function(){GXsetComboBoxValue("_CATEGORIACODIGO",AV12Catego)},c2v:function(){AV12Catego=GXgetIntegerValue("_CATEGORIACODIGO")}};
_GXValidFnc [ 38 ]={lvl: 2 ,grid: 32 ,pgrid: 0 ,fnc: null ,fld: "NOTICIACODIGO" ,gxvar: "A116Notici" ,op:[  ],ip:[  ],v2v:function(Value){ A116Notici=gxint(Value) },v2c:function(){ GXsetGridControlValue("NOTICIACODIGO",GXCurrentRow[32],A116Notici,0) }, c2v:function(){ A116Notici=GXgetGridIntegerValue("NOTICIACODIGO",GXCurrentRow[32]) }, nac:function(){return  null }};
_GXValidFnc [ 39 ]={lvl: 2 ,grid: 32 ,pgrid: 0 ,fnc: null ,fld: "CATEGORIACODIGO" ,gxvar: "A95Categor" ,op:[  ],ip:[  ],v2v:function(Value){ A95Categor=gxint(Value) },v2c:function(){ GXsetGridControlValue("CATEGORIACODIGO",GXCurrentRow[32],A95Categor,0) }, c2v:function(){ A95Categor=GXgetGridIntegerValue("CATEGORIACODIGO",GXCurrentRow[32]) }, nac:function(){return  null }};
this.AV8NotFecI=0;
this.AV11NotFec=0;
this.AV9NotDes=0;
this.AV12Catego=0;
_SetStandaloneVars( ) ;

