gx.evt.autoSkip=false;function himh170(){this.ServerClass="HImh170";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV16TipFuncao=gx.fn.getControlValue("vTIPFUNCAO");this.AV29FrdDatParm=gx.fn.getDateValue("vFRDDATPARM")};this.e12e62_client=function(){this.executeServerEvent("ENTER",true)};this.e13e62_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15e62_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];
this.GXCtrlIds=[3,12,15,18,20,23,25,28,30];this.GXLastCtrlId=30;this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE1",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV30UndCod",gxold:"OV30UndCod",gxvar:"AV30UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV30UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV30UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV30UndCod,0)},c2v:function(){gx.O.AV30UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vFRDDATTELA",gxz:"ZV35FrdDatTela",gxold:"OV35FrdDatTela",gxvar:"AV35FrdDatTela",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.AV35FrdDatTela=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV35FrdDatTela=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vFRDDATTELA",gx.O.AV35FrdDatTela,0)},c2v:function(){gx.O.AV35FrdDatTela=this.val()},val:function(){return gx.fn.getControlValue("vFRDDATTELA")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vFRDDSC",gxz:"ZV33FrdDsc",gxold:"OV33FrdDsc",gxvar:"AV33FrdDsc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV33FrdDsc=a
},v2z:function(a){gx.O.ZV33FrdDsc=a},v2c:function(){gx.fn.setControlValue("vFRDDSC",gx.O.AV33FrdDsc,0)},c2v:function(){gx.O.AV33FrdDsc=this.val()},val:function(){return gx.fn.getControlValue("vFRDDSC")},nac:function(){return false}};this.AV30UndCod=0;this.ZV30UndCod=0;this.OV30UndCod=0;this.AV35FrdDatTela=gx.date.nullDate();this.ZV35FrdDatTela=gx.date.nullDate();this.OV35FrdDatTela=gx.date.nullDate();this.AV33FrdDsc="";this.ZV33FrdDsc="";this.OV33FrdDsc="";this.AV16TipFuncao="";this.AV29FrdDatParm=gx.date.nullDate();
this.ServerEvents=["e12e62_client","e13e62_client","e15e62_client"];this.EnterCtrl=["OK"];this.VarControlMap.AV16TipFuncao={id:"vTIPFUNCAO",grid:0,type:"char"};this.VarControlMap.AV29FrdDatParm={id:"vFRDDATPARM",grid:0,type:"date"};this.SetStandaloneVars()}himh170.prototype=new gx.GxObject;gx.setParentObj(new himh170());