gx.evt.autoSkip=false;function hmih074(){this.ServerClass="HMih074";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.Validv_Curcod=function(){try{var a=gx.util.balloon.getNew("vCURCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Validv_Dcpnro=function(){try{var a=gx.util.balloon.getNew("vDCPNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.Validv_Undcod=function(){try{var a=gx.util.balloon.getNew("vUNDCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e117m2_client=function(){this.executeServerEvent("ENTER",true)};this.e147m2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,8,11,14,16,19,21,24,28,30,33,35,38,40,43,45,47,49,50,51];this.GXLastCtrlId=51;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"TEXTBLOCK8",format:0,grid:0};
this.GXValidFnc[11]={fld:"TABLE2",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[16]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Curcod,isvalid:null,rgrid:[],fld:"vCURCOD",gxz:"ZV18CurCod",gxold:"OV18CurCod",gxvar:"AV18CurCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18CurCod=gx.num.intval(a)},v2z:function(a){gx.O.ZV18CurCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCURCOD",gx.O.AV18CurCod,0)
},c2v:function(){gx.O.AV18CurCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCURCOD",".")},nac:function(){return false}};this.GXValidFnc[19]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[21]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Dcpnro,isvalid:null,rgrid:[],fld:"vDCPNRO",gxz:"ZV19DcpNro",gxold:"OV19DcpNro",gxvar:"AV19DcpNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19DcpNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV19DcpNro=gx.num.intval(a)
},v2c:function(){gx.fn.setControlValue("vDCPNRO",gx.O.AV19DcpNro,0)},c2v:function(){gx.O.AV19DcpNro=this.val()},val:function(){return gx.fn.getIntegerValue("vDCPNRO",".")},nac:function(){return false}};this.GXValidFnc[24]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[28]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Validv_Undcod,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV20UndCod",gxold:"OV20UndCod",gxvar:"AV20UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV20UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV20UndCod,0)},c2v:function(){gx.O.AV20UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vTIPBIBLIOGRAFIA",gxz:"ZV25TipBibliografia",gxold:"OV25TipBibliografia",gxvar:"AV25TipBibliografia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.AV25TipBibliografia=a
},v2z:function(a){gx.O.ZV25TipBibliografia=a},v2c:function(){gx.fn.setRadioValue("vTIPBIBLIOGRAFIA",gx.O.AV25TipBibliografia)},c2v:function(){gx.O.AV25TipBibliografia=this.val()},val:function(){return gx.fn.getControlValue("vTIPBIBLIOGRAFIA")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[40]={fld:"TABLE3",grid:0};this.GXValidFnc[43]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATAQUISINI",gxz:"ZV23DatAquisIni",gxold:"OV23DatAquisIni",gxvar:"AV23DatAquisIni",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV23DatAquisIni=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV23DatAquisIni=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATAQUISINI",gx.O.AV23DatAquisIni,0)},c2v:function(){gx.O.AV23DatAquisIni=this.val()},val:function(){return gx.fn.getControlValue("vDATAQUISINI")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[47]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATAQUISFIM",gxz:"ZV24DatAquisFim",gxold:"OV24DatAquisFim",gxvar:"AV24DatAquisFim",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV24DatAquisFim=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV24DatAquisFim=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATAQUISFIM",gx.O.AV24DatAquisFim,0)},c2v:function(){gx.O.AV24DatAquisFim=this.val()},val:function(){return gx.fn.getControlValue("vDATAQUISFIM")},nac:function(){return false}};this.GXValidFnc[49]={fld:"PROMPT_CURCOD",grid:0};this.GXValidFnc[50]={fld:"PROMPT_DCPNRO",grid:0};this.GXValidFnc[51]={fld:"PROMPT_UNDCOD",grid:0};this.AV18CurCod=0;this.ZV18CurCod=0;this.OV18CurCod=0;this.AV19DcpNro=0;this.ZV19DcpNro=0;
this.OV19DcpNro=0;this.AV20UndCod=0;this.ZV20UndCod=0;this.OV20UndCod=0;this.AV25TipBibliografia="";this.ZV25TipBibliografia="";this.OV25TipBibliografia="";this.AV23DatAquisIni=gx.date.nullDate();this.ZV23DatAquisIni=gx.date.nullDate();this.OV23DatAquisIni=gx.date.nullDate();this.AV24DatAquisFim=gx.date.nullDate();this.ZV24DatAquisFim=gx.date.nullDate();this.OV24DatAquisFim=gx.date.nullDate();this.A122CfgCod="";this.A127CfgValCont="";this.A186DcpNro=0;this.A169CurCod=0;this.A185DcpNom="";this.A170CurNom="";
this.A922UndCod=0;this.A926UndNomSigl="";this.ServerEvents=["e117m2_client","e147m2_client"];this.setPrompt("PROMPT_CURCOD",[16]);this.setPrompt("PROMPT_DCPNRO",[21]);this.setPrompt("PROMPT_UNDCOD",[30]);this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}hmih074.prototype=new gx.GxObject;gx.setParentObj(new hmih074());