/*
               File: WCDespForm
        Description: WCDesp Form
             Author: GeneXus Java Generator version 9_0_4-073
       Generated on: July 6, 2009 12:43:10.60
       Program type: Callable routine
          Main DBMS: mysql
*/
{gxsetDateFormat( "DMY" );
gxsetTimeFormat( 24 );
gxsetFirstYearCentury( 40 );
this.gxDecPoint =  "," ;
this.gxThSep =  "." ;}
 bGXAutoskip = false;
this.hwcdespformSetStandaloneVars=function()
{
   A16FormGen = GXgetIntegerValue("FORMGENID")
   A17FormGen = GXgetDateValue("FORMGENFECHA")
   A2FormId = GXgetIntegerValue("FORMID")
   A50FormTit = GXgetControlValue("FORMTITULO")
   A51FormSep = GXgetIntegerValue("FORMSEPH")
   A52FormSep = GXgetIntegerValue("FORMSEPV")
   A183FormAn = GXgetIntegerValue("FORMANCHOCOL")
   A177FormAn = GXgetIntegerValue("FORMANIOINI")
   A178FormAn = GXgetIntegerValue("FORMANIOFIN")
   A179FormCo = GXgetIntegerValue("FORMCOLUMNASEP")
   A180FormIn = GXgetIntegerValue("FORMINTERLINEADO")
   A5FormText = GXgetControlValue("FORMTEXTO")
   A181FormBl = GXgetControlValue("FORMBLOBEXTENSION")
   A171AplCod = GXgetIntegerValue("APLCOD")
   A175FormId = GXgetIntegerValue("FORMIDEXTERNO")
   A206FormLe = GXgetIntegerValue("FORMLEEDATEXT")
   A208FormLe = GXgetControlValue("FORMLEECODEXT")
   A54FormBtn = GXgetControlValue("FORMBTNENVIAR")
   A55FormBtn = GXgetControlValue("FORMBTNRESET")
   A6CampoId = GXgetIntegerValue("CAMPOID")
   A9CampoObl = GXgetIntegerValue("CAMPOOBLIGATORIO")
   A182CampoR = GXgetControlValue("CAMPOREADONLY")
   A10CampoOr = GXgetIntegerValue("CAMPOORDEN")
   A205CampoP = GXgetControlValue("CAMPOPROCVALIDA")
   A8CampoTip = GXgetIntegerValue("CAMPOTIPO")
   A31CampoDe = GXgetControlValue("CAMPODESC")
   A7CampoNom = GXgetControlValue("CAMPONOM")
   A53CampoTe = GXgetControlValue("CAMPOTEXTOERROR")
   A15ValorDe = GXgetControlValue("VALORDESC")
   A24ValorId = GXgetIntegerValue("VALORID")
   A45ValorDe = GXgetIntegerValue("VALORDEFECTO")
   A20CampoTe = GXgetIntegerValue("CAMPOTEXTOID")
   A19FormGen = GXgetControlValue("FORMGENVALORTEXTO")
   A21CampoMe = GXgetIntegerValue("CAMPOMEMOID")
   A14FormGen = GXgetControlValue("FORMGENVALORMEMO")
   A23CampoNu = GXgetIntegerValue("CAMPONUMID")
   A13FormGen = GXgetControlValue("FORMGENVALORNUM")
   A25CampoFe = GXgetIntegerValue("CAMPOFECHAID")
   A26FormGen = GXgetDateValue("FORMGENVALORFECHA")
   A22CampoCo = GXgetIntegerValue("CAMPOCOMBOID")
   A48CampoCh = GXgetIntegerValue("CAMPOCHKID")
   A49Valor = GXgetIntegerValue("VALOR")
}
this.hwcdespformValidv_Formid=function()
{
   try {
      gxballoon = getGXBallon("_FORMID");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this.hwcdespformValidv_Formgenid=function()
{
   try {
      gxballoon = getGXBallon("_FORMGENID");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this.hwcdespformValidv_Campoid=function()
{
   try {
      gxballoon = getGXBallon("_CAMPOID");
      AnyError = 0;

   }
   catch(e){}
   try {
      if (gxballoon == null) return true; return gxballoon.show();
   }
   catch(e){}
   return true ;
}
this.hwcdespformStandaloneModal=function()
{
}
this.hwcdespformwcdespform=function()
{
}
this.hwcdespforminit=function()
{
}
hwcdespformGXValidFnc = new Array();
this.hwcdespformGXLastCtrlId =59;
hwcdespformGXValidFnc[11]={lvl:0,grid:0,fnc:null,fld:"_FORMID",gxvar:"AV20FormId",op:[],ip:[],nacdep:[],v2v:function(Value){AV20FormId=gxint(Value)},v2c:function(){GXsetControlValue("_FORMID",AV20FormId,0)},c2v:function(){AV20FormId=GXgetIntegerValue("_FORMID")}};
hwcdespformGXValidFnc[12]={lvl:0,grid:0,fnc:null,fld:"_FORMGENID",gxvar:"AV28FormGe",op:[],ip:[],nacdep:[],v2v:function(Value){AV28FormGe=gxint(Value)},v2c:function(){GXsetControlValue("_FORMGENID",AV28FormGe,0)},c2v:function(){AV28FormGe=GXgetIntegerValue("_FORMGENID")}};
hwcdespformGXValidFnc[13]={lvl:0,grid:0,fnc:null,fld:"_LARGOMAXIMO",gxvar:"AV23LargoM",op:[],ip:[],nacdep:[],v2v:function(Value){AV23LargoM=gxint(Value)},v2c:function(){GXsetControlValue("_LARGOMAXIMO",AV23LargoM,0)},c2v:function(){AV23LargoM=GXgetIntegerValue("_LARGOMAXIMO")}};
hwcdespformGXValidFnc [ 20 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_CAMPOID" ,gxvar: "AV16CampoI" ,op:[  ],ip:[  ],v2v:function(Value){ AV16CampoI=gxint(Value) },v2c:function(){ GXsetGridControlValue("_CAMPOID",GXCurrentRow[26],AV16CampoI,0) }, c2v:function(){ AV16CampoI=GXgetGridIntegerValue("_CAMPOID",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 21 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_CAMPONOM" ,gxvar: "AV22CampoN" ,op:[  ],ip:[  ],v2v:function(Value){ AV22CampoN=Value },v2c:function(){ GXsetGridControlValue("_CAMPONOM",GXCurrentRow[26],AV22CampoN,0) }, c2v:function(){ AV22CampoN=GXgetGridControlValue("_CAMPONOM",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 22 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_CAMPOOBLIGATORIO" ,gxvar: "AV17CampoO" ,op:[  ],ip:[  ],v2v:function(Value){ AV17CampoO=gxint(Value) },v2c:function(){ GXsetGridComboBoxValue("_CAMPOOBLIGATORIO",GXCurrentRow[26],AV17CampoO) }, c2v:function(){ AV17CampoO=GXgetGridIntegerValue("_CAMPOOBLIGATORIO",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 23 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_CAMPOTIPO" ,gxvar: "AV18CampoT" ,op:[  ],ip:[  ],v2v:function(Value){ AV18CampoT=gxint(Value) },v2c:function(){ GXsetGridComboBoxValue("_CAMPOTIPO",GXCurrentRow[26],AV18CampoT) }, c2v:function(){ AV18CampoT=GXgetGridIntegerValue("_CAMPOTIPO",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 24 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_ORDENDELCAMPO" ,gxvar: "AV88OrdenD" ,op:[  ],ip:[  ],v2v:function(Value){ AV88OrdenD=gxint(Value) },v2c:function(){ GXsetGridControlValue("_ORDENDELCAMPO",GXCurrentRow[26],AV88OrdenD,0) }, c2v:function(){ AV88OrdenD=GXgetGridIntegerValue("_ORDENDELCAMPO",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 25 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_CAMPOPROCVALIDA" ,gxvar: "AV145Campo" ,op:[  ],ip:[  ],v2v:function(Value){ AV145Campo=Value },v2c:function(){ GXsetGridControlValue("_CAMPOPROCVALIDA",GXCurrentRow[26],AV145Campo,0) }, c2v:function(){ AV145Campo=GXgetGridControlValue("_CAMPOPROCVALIDA",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 30 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_CAMPODESC" ,gxvar: "AV61CampoD" ,op:[  ],ip:[  ],v2v:function(Value){ AV61CampoD=Value },v2c:function(){ GXsetGridControlValue("_CAMPODESC",GXCurrentRow[26],AV61CampoD,1) }, c2v:function(){ AV61CampoD=GXgetGridControlValue("_CAMPODESC",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 31 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_CAMPOSSEPARA" ,gxvar: "AV86Campos" ,op:[  ],ip:[  ],v2v:function(Value){ AV86Campos=Value },v2c:function(){ GXsetGridControlValue("_CAMPOSSEPARA",GXCurrentRow[26],AV86Campos,0) }, c2v:function(){ AV86Campos=GXgetGridControlValue("_CAMPOSSEPARA",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 35 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_VAR_FORM_TEXO" ,gxvar: "AV6Var_For" ,op:[  ],ip:[  ],v2v:function(Value){ AV6Var_For=Value },v2c:function(){ GXsetGridControlValue("_VAR_FORM_TEXO",GXCurrentRow[26],AV6Var_For,0) }, c2v:function(){ AV6Var_For=GXgetGridControlValue("_VAR_FORM_TEXO",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 36 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_VAR_FORM_MEMO" ,gxvar: "AV7Var_For" ,op:[  ],ip:[  ],v2v:function(Value){ AV7Var_For=Value },v2c:function(){ GXsetGridControlValue("_VAR_FORM_MEMO",GXCurrentRow[26],AV7Var_For,0) }, c2v:function(){ AV7Var_For=GXgetGridControlValue("_VAR_FORM_MEMO",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 37 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_VAR_FORM_NUMERO" ,gxvar: "AV8Var_For" ,op:[  ],ip:[  ],v2v:function(Value){ AV8Var_For=Value },v2c:function(){ GXsetGridControlValue("_VAR_FORM_NUMERO",GXCurrentRow[26],AV8Var_For,0) }, c2v:function(){ AV8Var_For=GXgetGridControlValue("_VAR_FORM_NUMERO",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 38 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_VAR_FORM_FEC_DIA" ,gxvar: "AV9Var_For" ,op:[  ],ip:[  ],v2v:function(Value){ AV9Var_For=gxint(Value) },v2c:function(){ GXsetGridComboBoxValue("_VAR_FORM_FEC_DIA",GXCurrentRow[26],AV9Var_For) }, c2v:function(){ AV9Var_For=GXgetGridIntegerValue("_VAR_FORM_FEC_DIA",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 39 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_VAR_FORM_FEC_MES" ,gxvar: "AV10Var_Fo" ,op:[  ],ip:[  ],v2v:function(Value){ AV10Var_Fo=gxint(Value) },v2c:function(){ GXsetGridComboBoxValue("_VAR_FORM_FEC_MES",GXCurrentRow[26],AV10Var_Fo) }, c2v:function(){ AV10Var_Fo=GXgetGridIntegerValue("_VAR_FORM_FEC_MES",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 40 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_VAR_FORM_FEC_ANIO" ,gxvar: "AV11Var_Fo" ,op:[  ],ip:[  ],v2v:function(Value){ AV11Var_Fo=gxint(Value) },v2c:function(){ GXsetGridComboBoxValue("_VAR_FORM_FEC_ANIO",GXCurrentRow[26],AV11Var_Fo) }, c2v:function(){ AV11Var_Fo=GXgetGridIntegerValue("_VAR_FORM_FEC_ANIO",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 41 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_VAR_FORM_COMBO" ,gxvar: "AV12Var_Fo" ,op:[  ],ip:[  ],v2v:function(Value){ AV12Var_Fo=gxint(Value) },v2c:function(){ GXsetGridComboBoxValue("_VAR_FORM_COMBO",GXCurrentRow[26],AV12Var_Fo) }, c2v:function(){ AV12Var_Fo=GXgetGridIntegerValue("_VAR_FORM_COMBO",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 42 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_VAR_FORM_RBUTTOM" ,gxvar: "AV13Var_Fo" ,op:[  ],ip:[  ],v2v:function(Value){ AV13Var_Fo=gxint(Value) },v2c:function(){ GXsetGridControlValue("_VAR_FORM_RBUTTOM",GXCurrentRow[26],AV13Var_Fo,2) }, c2v:function(){ AV13Var_Fo=GXgetGridIntegerValue("_VAR_FORM_RBUTTOM",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 43 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_VAR_FORM_CHKBOX" ,gxvar: "AV14Var_Fo" ,op:[  ],ip:[  ],v2v:function(Value){ AV14Var_Fo=gxint(Value) },v2c:function(){ GXsetGridCheckBoxValue("_VAR_FORM_CHKBOX",GXCurrentRow[26],AV14Var_Fo,"1") }, c2v:function(){ AV14Var_Fo=GXgetGridCheckBoxValue("_VAR_FORM_CHKBOX",GXCurrentRow[26],"1","0") }, nac:function(){return  null }};
hwcdespformGXValidFnc [ 44 ]={lvl: 2 ,grid: 26 ,pgrid: 0 ,fnc: null ,fld: "_CAMPOTEXTOERROR" ,gxvar: "AV95CampoT" ,op:[  ],ip:[  ],v2v:function(Value){ AV95CampoT=Value },v2c:function(){ GXsetGridControlValue("_CAMPOTEXTOERROR",GXCurrentRow[26],AV95CampoT,0) }, c2v:function(){ AV95CampoT=GXgetGridControlValue("_CAMPOTEXTOERROR",GXCurrentRow[26]) }, nac:function(){return  null }};
hwcdespformGXValidFnc[51]={lvl:0,grid:0,fnc:null,fld:"_CAMPOBLOBDESC",gxvar:"AV143Campo",op:[],ip:[],nacdep:[],v2v:function(Value){AV143Campo=Value},v2c:function(){GXsetControlValue("_CAMPOBLOBDESC",AV143Campo,1)},c2v:function(){AV143Campo=GXgetControlValue("_CAMPOBLOBDESC")}};
hwcdespformGXValidFnc[55]={lvl:0,grid:0,fnc:null,fld:"_CAMPOBLOBID",gxvar:"AV139Campo",op:[],ip:[],nacdep:[],v2v:function(Value){AV139Campo=gxint(Value)},v2c:function(){GXsetControlValue("_CAMPOBLOBID",AV139Campo,0)},c2v:function(){AV139Campo=GXgetIntegerValue("_CAMPOBLOBID")}};
hwcdespformGXValidFnc[56]={lvl:0,grid:0,fnc:null,fld:"_CAMPOBLOBOBLIGATORIO",gxvar:"AV140Campo",op:[],ip:[],nacdep:[],v2v:function(Value){AV140Campo=gxint(Value)},v2c:function(){GXsetControlValue("_CAMPOBLOBOBLIGATORIO",AV140Campo,0)},c2v:function(){AV140Campo=GXgetIntegerValue("_CAMPOBLOBOBLIGATORIO")}};
hwcdespformGXValidFnc[57]={lvl:0,grid:0,fnc:null,fld:"_CAMPOBLOBTEXTOERROR",gxvar:"AV142Campo",op:[],ip:[],nacdep:[],v2v:function(Value){AV142Campo=Value},v2c:function(){GXsetControlValue("_CAMPOBLOBTEXTOERROR",AV142Campo,0)},c2v:function(){AV142Campo=GXgetControlValue("_CAMPOBLOBTEXTOERROR")}};
hwcdespformGXValidFnc[58]={lvl:0,grid:0,fnc:null,fld:"_BLOBHORA",gxvar:"AV137BlobH",op:[],ip:[],nacdep:[],v2v:function(Value){AV137BlobH=Value},v2c:function(){GXsetControlValue("_BLOBHORA",AV137BlobH,0)},c2v:function(){AV137BlobH=GXgetControlValue("_BLOBHORA")}};
hwcdespformGXValidFnc[59]={lvl:0,grid:0,fnc:null,fld:"_BLOBIP",gxvar:"AV138BlobI",op:[],ip:[],nacdep:[],v2v:function(Value){AV138BlobI=Value},v2c:function(){GXsetControlValue("_BLOBIP",AV138BlobI,0)},c2v:function(){AV138BlobI=GXgetControlValue("_BLOBIP")}};
this.AV20FormId=0;
this.AV28FormGe=0;
this.AV23LargoM=0;
this.AV143Campo=0;
this.AV139Campo=0;
this.AV140Campo=0;
this.AV142Campo=0;
this.AV137BlobH=0;
this.AV138BlobI=0;
hwcdespformSetStandaloneVars( ) ;
