/*
               File: MainZAP
        Description: Main ZAP
             Author: GeneXus C# Generator version 9_0_3-780
       Generated on: 3/20/2008 11:9:3.6
       Program type: Main program
          Main DBMS: sqlserver
*/
{gxsetDateFormat( "DMY" );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "." ;
this.gxThSep =  "," ;}
 bGXAutoskip = false;
this._SetStandaloneVars=function()
{
   Gx_date=GXgetDateValue("_TODAY") ;
   AV15EmpCod=GXgetControlValue("_EMPCOD") ;
   A130hmHome=GXgetControlValue("HMHOME") ;
   A16EmpCod=GXgetControlValue("EMPCOD") ;
   A80EmpNom=GXgetControlValue("EMPNOM") ;
   A139hmNews=GXgetControlValue("HMNEWS") ;
   A137hmNews=GXgetIntegerValue("HMNEWSCOD") ;
   A138hmNews=GXgetDateValue("HMNEWSFECHA") ;
}
this._StandaloneModal=function()
{
}
this._mainzap=function()
{
}
this._init=function()
{
}
_GXValidFnc = new Array();
this._GXLastCtrlId =53;
_GXValidFnc[7]={lvl:0,grid:0,fnc:null,fld:"_FECHA",gxvar:"AV20Fecha",op:[],ip:[],nacdep:[],v2v:function(Value){AV20Fecha=Value},v2c:function(){GXsetControlValue("_FECHA",AV20Fecha,0)},c2v:function(){AV20Fecha=GXgetControlValue("_FECHA")}};
_GXValidFnc [ 38 ]={lvl: 2 ,grid: 39 ,pgrid: 0 ,fnc: null ,fld: "_SUBNEWS" ,gxvar: "AV21SubNew" ,op:[  ],ip:[  ],v2v:function(Value){ AV21SubNew=Value },v2c:function(){ GXsetGridControlValue("_SUBNEWS",GXCurrentRow[39],AV21SubNew,1) }, c2v:function(){ AV21SubNew = GXgetGridControlValue("_SUBNEWS",GXCurrentRow[39]) }, nac:function(){return  null }};
_GXValidFnc[49]={lvl:0,grid:0,fnc:null,fld:"_I",gxvar:"AV14i",op:[],ip:[],nacdep:[],v2v:function(Value){AV14i=Value},v2c:function(){GXsetControlValue("_I",AV14i,0)},c2v:function(){AV14i=GXgetIntegerValue("_I")}};
_GXValidFnc[51]={lvl:0,grid:0,fnc:null,fld:"_J",gxvar:"AV26j",op:[],ip:[],nacdep:[],v2v:function(Value){AV26j=Value},v2c:function(){GXsetControlValue("_J",AV26j,0)},c2v:function(){AV26j=GXgetIntegerValue("_J")}};
_GXValidFnc[53]={lvl:0,grid:0,fnc:null,fld:"_K",gxvar:"AV27k",op:[],ip:[],nacdep:[],v2v:function(Value){AV27k=GXtoDecimalValue(Value,",",".")},v2c:function(){GXsetDecimalValue("_K",AV27k,2,".")},c2v:function(){AV27k=GXgetDecimalValue("_K",",",".")}};
this.AV20Fecha=0;
this.AV14i=0;
this.AV26j=0;
this.AV27k=0;
_SetStandaloneVars( ) ;
