/*!   GeneXus Java 16_0_9-140712 on August 21, 2021 11:35:21.72
*/
gx.evt.autoSkip=!1;gx.define("himh082",!1,function(){var n,t;this.ServerClass="himh082";this.PackageName="";this.setObjectType("web");this.anyGridBaseTable=!0;this.hasEnterEvent=!1;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.A175HstNroSequ=gx.fn.getIntegerValue("HSTNROSEQU",".");this.A175HstNroSequ=gx.fn.getIntegerValue("HSTNROSEQU",".")};this.e13at1_client=function(){return this.clearMessages(),this.call("himh001",[""]),this.refreshOutputs([]),gx.$.Deferred().resolve()};this.e14at1_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e15at1_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];n=this.GXValidFnc;this.GXCtrlIds=[3,6,9,11,13,15,22,23];this.GXLastCtrlId=23;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",21,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh082",[],!1,1,!1,!0,0,!1,!1,!1,"",0,"px",0,"px","Novo registro",!1,!1,!1,null,null,!1,"",!1,[1,1,1,1],!1,0,!1,!1);t=this.Grid1Container;t.addSingleLineEdit(333,22,"HDENROLINH","Nr. ","","HdeNroLinh","int",0,"px",2,2,"right",null,[],333,"HdeNroLinh",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit(663,23,"HDEDESATUA","Descrição","","HdeDesAtua","char",0,"px",45,45,"left",null,[],663,"HdeDesAtua",!0,0,!1,!1,"Attribute",1,"");this.Grid1Container.emptyText="";this.setGrid(t);n[3]={id:3,fld:"TEXTBLOCK1",format:0,grid:0};n[6]={id:6,fld:"TABLE1",grid:0};n[9]={id:9,fld:"BUTTON1",grid:0,evt:"e14at1_client",std:"ENTER"};n[11]={id:11,fld:"BUTTON2",grid:0,evt:"e16at1_client"};n[13]={id:13,fld:"BUTTON3",grid:0,evt:"e13at1_client"};n[15]={id:15,fld:"BUTTON4",grid:0,evt:"e15at1_client"};n[22]={id:22,lvl:2,type:"int",len:2,dec:0,sign:!1,pic:"Z9",ro:1,isacc:0,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"HDENROLINH",gxz:"Z333HdeNroLinh",gxold:"O333HdeNroLinh",gxvar:"A333HdeNroLinh",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"number",v2v:function(n){n!==undefined&&(gx.O.A333HdeNroLinh=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z333HdeNroLinh=gx.num.intval(n))},v2c:function(n){gx.fn.setGridControlValue("HDENROLINH",n||gx.fn.currentGridRowImpl(21),gx.O.A333HdeNroLinh,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.A333HdeNroLinh=gx.num.intval(this.val(n)))},val:function(n){return gx.fn.getGridIntegerValue("HDENROLINH",n||gx.fn.currentGridRowImpl(21),".")},nac:gx.falseFn};n[23]={id:23,lvl:2,type:"char",len:45,dec:0,sign:!1,ro:1,isacc:0,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"HDEDESATUA",gxz:"Z663HdeDesAtua",gxold:"O663HdeDesAtua",gxvar:"A663HdeDesAtua",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){n!==undefined&&(gx.O.A663HdeDesAtua=n)},v2z:function(n){n!==undefined&&(gx.O.Z663HdeDesAtua=n)},v2c:function(n){gx.fn.setGridControlValue("HDEDESATUA",n||gx.fn.currentGridRowImpl(21),gx.O.A663HdeDesAtua,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.A663HdeDesAtua=this.val(n))},val:function(n){return gx.fn.getGridControlValue("HDEDESATUA",n||gx.fn.currentGridRowImpl(21))},nac:gx.falseFn};this.Z333HdeNroLinh=0;this.O333HdeNroLinh=0;this.Z663HdeDesAtua="";this.O663HdeDesAtua="";this.A175HstNroSequ=0;this.A333HdeNroLinh=0;this.A663HdeDesAtua="";this.Events={e14at1_client:["ENTER",!0],e15at1_client:["CANCEL",!0],e13at1_client:["'HOME'",!1]};this.EvtParms.REFRESH=[[{av:"GRID1_nFirstRecordOnPage"},{av:"GRID1_nEOF"},{av:"A175HstNroSequ",fld:"HSTNROSEQU",pic:"ZZZZZZZZZ9"}],[]];this.EvtParms.START=[[{av:"A175HstNroSequ",fld:"HSTNROSEQU",pic:"ZZZZZZZZZ9"}],[]];this.EvtParms["'HOME'"]=[[],[]];this.EnterCtrl=["BUTTON1"];this.setVCMap("A175HstNroSequ","HSTNROSEQU",0,"int",10,0);this.setVCMap("A175HstNroSequ","HSTNROSEQU",0,"int",10,0);this.setVCMap("A175HstNroSequ","HSTNROSEQU",0,"int",10,0);t.addRefreshingVar({rfrVar:"A175HstNroSequ"});t.addRefreshingParm({rfrVar:"A175HstNroSequ"});this.Initialize()});gx.setParentObj(new himh082)