gx.evt.autoSkip=false;function hmih085(){this.ServerClass="HMih085";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.A258DocNro=gx.fn.getIntegerValue("DOCNRO",".")};this.e137e2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e147e2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,6,10,11,12];this.GXLastCtrlId=12;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",9,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih085",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit(134,10,"CMTDTHREGI","","","CmtDthRegi","dtime",0,"px",14,8,"right",null,[],134,"CmtDthRegi",true,5,false,false);this.Grid1Container.addSingleLineEdit("Cmtnomleitor",11,"vCMTNOMLEITOR","","","CmtNomLeitor","char",0,"px",50,50,"left",null,[],"Cmtnomleitor","CmtNomLeitor",true,0,false,false);this.Grid1Container.addSingleLineEdit(133,12,"CMTDSCCOME","","","CmtDscCome","svchar",0,"px",999,999,"left",null,[],133,"CmtDscCome",true,0,false,false);this.setGrid(this.Grid1Container);
this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[6]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[10]={lvl:2,type:"dtime",len:8,dec:5,sign:false,ro:1,grid:9,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CMTDTHREGI",gxz:"Z134CmtDthRegi",gxold:"O134CmtDthRegi",gxvar:"A134CmtDthRegi",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/99 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A134CmtDthRegi=gx.fn.toDatetimeValue(a)},v2z:function(a){gx.O.Z134CmtDthRegi=gx.fn.toDatetimeValue(a)
},v2c:function(){gx.fn.setGridControlValue("CMTDTHREGI",gx.fn.currentGridRowImpl(9),gx.O.A134CmtDthRegi,0)},c2v:function(){gx.O.A134CmtDthRegi=this.val()},val:function(){return gx.fn.getGridControlValue("CMTDTHREGI",gx.fn.currentGridRowImpl(9))},nac:function(){return false}};this.GXValidFnc[11]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:9,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vCMTNOMLEITOR",gxz:"ZV8CmtNomLeitor",gxold:"OV8CmtNomLeitor",gxvar:"AV8CmtNomLeitor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8CmtNomLeitor=a
},v2z:function(a){gx.O.ZV8CmtNomLeitor=a},v2c:function(){gx.fn.setGridControlValue("vCMTNOMLEITOR",gx.fn.currentGridRowImpl(9),gx.O.AV8CmtNomLeitor,0)},c2v:function(){gx.O.AV8CmtNomLeitor=this.val()},val:function(){return gx.fn.getGridControlValue("vCMTNOMLEITOR",gx.fn.currentGridRowImpl(9))},nac:function(){return false}};this.GXValidFnc[12]={lvl:2,type:"svchar",len:999,dec:0,sign:false,ro:1,grid:9,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CMTDSCCOME",gxz:"Z133CmtDscCome",gxold:"O133CmtDscCome",gxvar:"A133CmtDscCome",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A133CmtDscCome=a
},v2z:function(a){gx.O.Z133CmtDscCome=a},v2c:function(){gx.fn.setGridControlValue("CMTDSCCOME",gx.fn.currentGridRowImpl(9),gx.O.A133CmtDscCome,0)},c2v:function(){gx.O.A133CmtDscCome=this.val()},val:function(){return gx.fn.getGridControlValue("CMTDSCCOME",gx.fn.currentGridRowImpl(9))},nac:function(){return false}};this.Z134CmtDthRegi=gx.date.nullDate();this.O134CmtDthRegi=gx.date.nullDate();this.ZV8CmtNomLeitor="";this.OV8CmtNomLeitor="";this.Z133CmtDscCome="";this.O133CmtDscCome="";this.A258DocNro=0;
this.A1011CmtIndAtiv="";this.A132CmtCodLeit="";this.A135CmtNroSequ=0;this.A134CmtDthRegi=gx.date.nullDate();this.AV8CmtNomLeitor="";this.A133CmtDscCome="";this.ServerEvents=["e137e2_client","e147e2_client"];this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.A132CmtCodLeit={id:"CMTCODLEIT",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A132CmtCodLeit"});
this.SetStandaloneVars()}hmih085.prototype=new gx.GxObject;gx.setParentObj(new hmih085());