gx.evt.autoSkip=false;function himh137(){this.ServerClass="HImh137";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV38TipFuncao=gx.fn.getControlValue("vTIPFUNCAO");this.AV37AnoOrcamentoParm=gx.fn.getIntegerValue("vANOORCAMENTOPARM",".")};this.e126i2_client=function(){this.executeServerEvent("ENTER",true)};this.e136i2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e156i2_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:"char",len:8,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCTCOD",gxz:"ZV28CctCod",gxold:"OV28CctCod",gxvar:"AV28CctCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV28CctCod=a
},v2z:function(a){gx.O.ZV28CctCod=a},v2c:function(){gx.fn.setControlValue("vCCTCOD",gx.O.AV28CctCod,0)},c2v:function(){gx.O.AV28CctCod=this.val()},val:function(){return gx.fn.getControlValue("vCCTCOD")},nac:function(){return false}};this.GXValidFnc[23]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vANOORCAMENTOSCR",gxz:"ZV39AnoOrcamentoScr",gxold:"OV39AnoOrcamentoScr",gxvar:"AV39AnoOrcamentoScr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV39AnoOrcamentoScr=gx.num.intval(a)
},v2z:function(a){gx.O.ZV39AnoOrcamentoScr=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vANOORCAMENTOSCR",gx.O.AV39AnoOrcamentoScr,0)},c2v:function(){gx.O.AV39AnoOrcamentoScr=this.val()},val:function(){return gx.fn.getIntegerValue("vANOORCAMENTOSCR",".")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"decimal",len:12,dec:2,sign:false,pic:"ZZZ,ZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vVALORCAMENTO",gxz:"ZV36ValOrcamento",gxold:"OV36ValOrcamento",gxvar:"AV36ValOrcamento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV36ValOrcamento=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.ZV36ValOrcamento=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("vVALORCAMENTO",gx.O.AV36ValOrcamento,2,",")},c2v:function(){gx.O.AV36ValOrcamento=this.val()},val:function(){return gx.fn.getDecimalValue("vVALORCAMENTO",".",",")},nac:function(){return false}};this.AV28CctCod="";this.ZV28CctCod="";this.OV28CctCod="";this.AV39AnoOrcamentoScr=0;this.ZV39AnoOrcamentoScr=0;this.OV39AnoOrcamentoScr=0;this.AV36ValOrcamento=0;this.ZV36ValOrcamento=0;this.OV36ValOrcamento=0;
this.AV38TipFuncao="";this.AV37AnoOrcamentoParm=0;this.ServerEvents=["e126i2_client","e136i2_client","e156i2_client"];this.EnterCtrl=["INSERIR"];this.VarControlMap.AV38TipFuncao={id:"vTIPFUNCAO",grid:0,type:"char"};this.VarControlMap.AV37AnoOrcamentoParm={id:"vANOORCAMENTOPARM",grid:0,type:"int"};this.SetStandaloneVars()}himh137.prototype=new gx.GxObject;gx.setParentObj(new himh137());