gx.evt.autoSkip=false;function himh227(){this.ServerClass="HImh227";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){this.A480IdiCod=gx.fn.getControlValue("IDICOD")};this.e12hf2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e13hf1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,7,11,12,13];this.GXLastCtrlId=13;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",10,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh227",[],false,1,false,true,12,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit(258,11,"DOCNRO","Doc.","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(863,12,"TIDCOD","Tipo","","TidCod","char",0,"px",3,3,"left",null,[],863,"TidCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(242,13,"DOCDESL1TI","Título","","DocDesL1Ti","char",410,"px",250,250,"left",null,[],242,"DocDesL1Ti",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};
this.GXValidFnc[7]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[11]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:10,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A258DocNro=gx.num.intval(a)},v2z:function(a){gx.O.Z258DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOCNRO",gx.fn.currentGridRowImpl(10),gx.O.A258DocNro,0)
},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(10),".")},nac:function(){return false}};this.GXValidFnc[12]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:10,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TIDCOD",gxz:"Z863TidCod",gxold:"O863TidCod",gxvar:"A863TidCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A863TidCod=a},v2z:function(a){gx.O.Z863TidCod=a},v2c:function(){gx.fn.setGridControlValue("TIDCOD",gx.fn.currentGridRowImpl(10),gx.O.A863TidCod,0)
},c2v:function(){gx.O.A863TidCod=this.val()},val:function(){return gx.fn.getGridControlValue("TIDCOD",gx.fn.currentGridRowImpl(10))},nac:function(){return false}};this.GXValidFnc[13]={lvl:2,type:"char",len:250,dec:0,sign:false,ro:1,grid:10,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOCDESL1TI",gxz:"Z242DocDesL1Ti",gxold:"O242DocDesL1Ti",gxvar:"A242DocDesL1Ti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A242DocDesL1Ti=a},v2z:function(a){gx.O.Z242DocDesL1Ti=a},v2c:function(){gx.fn.setGridControlValue("DOCDESL1TI",gx.fn.currentGridRowImpl(10),gx.O.A242DocDesL1Ti,0)
},c2v:function(){gx.O.A242DocDesL1Ti=this.val()},val:function(){return gx.fn.getGridControlValue("DOCDESL1TI",gx.fn.currentGridRowImpl(10))},nac:function(){return false}};this.Z258DocNro=0;this.O258DocNro=0;this.Z863TidCod="";this.O863TidCod="";this.Z242DocDesL1Ti="";this.O242DocDesL1Ti="";this.A480IdiCod="";this.A258DocNro=0;this.A863TidCod="";this.A242DocDesL1Ti="";this.ServerEvents=["e12hf2_client","e13hf1_client"];this.VarControlMap.A480IdiCod={id:"IDICOD",grid:0,type:"char"};this.VarControlMap.A480IdiCod={id:"IDICOD",grid:0,type:"char"};
this.Grid1Container.addRefreshingVar({rfrVar:"A480IdiCod"});this.SetStandaloneVars()}himh227.prototype=new gx.GxObject;gx.setParentObj(new himh227());