gx.evt.autoSkip=false;function himh185(){this.ServerClass="HImh185";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e11eq2_client=function(){this.executeServerEvent("ENTER",true)};this.e12eq2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e16eq2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,24,25,26,27];this.GXLastCtrlId=27;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",23,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh185",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit(1032,24,"DINNRODOCU","Nro documento","","DinNroDocu","int",0,"px",7,7,"right",null,[],1032,"DinNroDocu",true,0,false,false);this.Grid1Container.addSingleLineEdit(1033,25,"DINNROSEQU","Nro sequência","","DinNroSequ","int",0,"px",4,4,"right",null,[],1033,"DinNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(1034,26,"DINCODCAMP","Campo","","DinCodCamp","char",0,"px",20,20,"left",null,[],1034,"DinCodCamp",true,0,false,false);this.Grid1Container.addSingleLineEdit(1037,27,"DINVALCONT","Conteúdo do campo","","DinValCont","svchar",0,"px",204800,204800,"left",null,[],1037,"DinValCont",true,250,false,false);
this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vDOCNRO",gxz:"ZV22DocNro",gxold:"OV22DocNro",gxvar:"AV22DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV22DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCNRO",gx.O.AV22DocNro,0)},c2v:function(){gx.O.AV22DocNro=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCNRO",".")},nac:function(){return false}};this.GXValidFnc[24]={lvl:2,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:23,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DINNRODOCU",gxz:"Z1032DinNroDocu",gxold:"O1032DinNroDocu",gxvar:"A1032DinNroDocu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1032DinNroDocu=gx.num.intval(a)
},v2z:function(a){gx.O.Z1032DinNroDocu=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DINNRODOCU",gx.fn.currentGridRowImpl(23),gx.O.A1032DinNroDocu,0)},c2v:function(){gx.O.A1032DinNroDocu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DINNRODOCU",gx.fn.currentGridRowImpl(23),".")},nac:function(){return false}};this.GXValidFnc[25]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:23,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DINNROSEQU",gxz:"Z1033DinNroSequ",gxold:"O1033DinNroSequ",gxvar:"A1033DinNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1033DinNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1033DinNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DINNROSEQU",gx.fn.currentGridRowImpl(23),gx.O.A1033DinNroSequ,0)},c2v:function(){gx.O.A1033DinNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DINNROSEQU",gx.fn.currentGridRowImpl(23),".")},nac:function(){return false}};this.GXValidFnc[26]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:23,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DINCODCAMP",gxz:"Z1034DinCodCamp",gxold:"O1034DinCodCamp",gxvar:"A1034DinCodCamp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1034DinCodCamp=a
},v2z:function(a){gx.O.Z1034DinCodCamp=a},v2c:function(){gx.fn.setGridControlValue("DINCODCAMP",gx.fn.currentGridRowImpl(23),gx.O.A1034DinCodCamp,0)},c2v:function(){gx.O.A1034DinCodCamp=this.val()},val:function(){return gx.fn.getGridControlValue("DINCODCAMP",gx.fn.currentGridRowImpl(23))},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"svchar",len:204800,dec:250,sign:false,ro:1,grid:23,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DINVALCONT",gxz:"Z1037DinValCont",gxold:"O1037DinValCont",gxvar:"A1037DinValCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1037DinValCont=a
},v2z:function(a){gx.O.Z1037DinValCont=a},v2c:function(){gx.fn.setGridControlValue("DINVALCONT",gx.fn.currentGridRowImpl(23),gx.O.A1037DinValCont,0)},c2v:function(){gx.O.A1037DinValCont=this.val()},val:function(){return gx.fn.getGridControlValue("DINVALCONT",gx.fn.currentGridRowImpl(23))},nac:function(){return false}};this.AV22DocNro=0;this.ZV22DocNro=0;this.OV22DocNro=0;this.Z1032DinNroDocu=0;this.O1032DinNroDocu=0;this.Z1033DinNroSequ=0;this.O1033DinNroSequ=0;this.Z1034DinCodCamp="";this.O1034DinCodCamp="";
this.Z1037DinValCont="";this.O1037DinValCont="";this.A1031DinCodTabe="";this.A1032DinNroDocu=0;this.A1033DinNroSequ=0;this.A1034DinCodCamp="";this.A1037DinValCont="";this.ServerEvents=["e11eq2_client","e12eq2_client","e16eq2_client"];this.EnterCtrl=["BUTTON1"];this.Grid1Container.addRefreshingVar(this.GXValidFnc[20]);this.SetStandaloneVars()}himh185.prototype=new gx.GxObject;gx.setParentObj(new himh185());