gx.evt.autoSkip=false;function himh017(){this.ServerClass="HImh017";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV6AtdNro=gx.fn.getIntegerValue("vATDNRO",".")};this.e112s2_client=function(){this.executeServerEvent("ENTER",true)};this.e122s2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e152s2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,14,18,19,20];
this.GXLastCtrlId=20;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",17,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh017",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(63,18,"ATDNRO","Autoridade","","AtdNro","int",0,"px",6,6,"right",null,[],63,"AtdNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(681,19,"PLRNRO","Nro","","PlrNro","int",0,"px",7,7,"right",null,[],681,"PlrNro",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Plrdes",20,"vPLRDES","Descrição","","PlrDes","char",0,"px",40,40,"left",null,[],"Plrdes","PlrDes",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[18]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:17,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ATDNRO",gxz:"Z63AtdNro",gxold:"O63AtdNro",gxvar:"A63AtdNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A63AtdNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z63AtdNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ATDNRO",gx.fn.currentGridRowImpl(17),gx.O.A63AtdNro,0)},c2v:function(){gx.O.A63AtdNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ATDNRO",gx.fn.currentGridRowImpl(17),".")},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:17,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PLRNRO",gxz:"Z681PlrNro",gxold:"O681PlrNro",gxvar:"A681PlrNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A681PlrNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z681PlrNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PLRNRO",gx.fn.currentGridRowImpl(17),gx.O.A681PlrNro,0)},c2v:function(){gx.O.A681PlrNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("PLRNRO",gx.fn.currentGridRowImpl(17),".")},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:17,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vPLRDES",gxz:"ZV11PlrDes",gxold:"OV11PlrDes",gxvar:"AV11PlrDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11PlrDes=a
},v2z:function(a){gx.O.ZV11PlrDes=a},v2c:function(){gx.fn.setGridControlValue("vPLRDES",gx.fn.currentGridRowImpl(17),gx.O.AV11PlrDes,0)},c2v:function(){gx.O.AV11PlrDes=this.val()},val:function(){return gx.fn.getGridControlValue("vPLRDES",gx.fn.currentGridRowImpl(17))},nac:function(){return false}};this.Z63AtdNro=0;this.O63AtdNro=0;this.Z681PlrNro=0;this.O681PlrNro=0;this.ZV11PlrDes="";this.OV11PlrDes="";this.AV6AtdNro=0;this.A63AtdNro=0;this.A681PlrNro=0;this.AV11PlrDes="";this.A682PlrTip="";this.A679PlrDes="";
this.ServerEvents=["e112s2_client","e122s2_client","e152s2_client"];this.EnterCtrl=["BT_CONFIRMA"];this.VarControlMap.AV6AtdNro={id:"vATDNRO",grid:0,type:"int"};this.VarControlMap.AV6AtdNro={id:"vATDNRO",grid:0,type:"int"};this.VarControlMap.A679PlrDes={id:"PLRDES",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"AV6AtdNro"});this.Grid1Container.addRefreshingVar({rfrVar:"A679PlrDes"});this.SetStandaloneVars()}himh017.prototype=new gx.GxObject;gx.setParentObj(new himh017());