gx.evt.autoSkip=false;function hmih073(){this.ServerClass="HMih073";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV25UsbCod=gx.fn.getControlValue("vUSBCOD")};this.Valid_Atddesiden=function(){try{if(gx.fn.currentGridRowImpl(28)===0){return true}var a=gx.util.balloon.getNew("ATDDESIDEN",gx.fn.currentGridRowImpl(28));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e13862_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e11862_client=function(){this.executeServerEvent("'GRAVAAUTORIDADE'",true)};this.e16861_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,5,10,13,16,18,20,25,29,30];this.GXLastCtrlId=30;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",28,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hmih073",[],false,1,true,true,12,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit(63,29,"ATDNRO","Autoridade","","AtdNro","int",70,"px",6,6,"right","e11862_client",[],63,"AtdNro",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(61,30,"ATDDESIDEN","Identificação","","AtdDesIden","char",410,"px",200,200,"left","e11862_client",[],61,"AtdDesIden",true,0,false,false);this.setGrid(this.Subfile1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[5]={fld:"TABLE2",grid:0};this.GXValidFnc[10]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[13]={fld:"TABLE3",grid:0};this.GXValidFnc[16]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[18]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMAUTCONT",gxz:"ZV17NomAutCont",gxold:"OV17NomAutCont",gxvar:"AV17NomAutCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17NomAutCont=a
},v2z:function(a){gx.O.ZV17NomAutCont=a},v2c:function(){gx.fn.setControlValue("vNOMAUTCONT",gx.O.AV17NomAutCont,0)},c2v:function(){gx.O.AV17NomAutCont=this.val()},val:function(){return gx.fn.getControlValue("vNOMAUTCONT")},nac:function(){return false}};this.GXValidFnc[20]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[25]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[29]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:28,gxgrid:this.Subfile1Container,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(28),gx.O.A63AtdNro,0)},c2v:function(){gx.O.A63AtdNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ATDNRO",gx.fn.currentGridRowImpl(28),".")},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:200,dec:0,sign:false,ro:1,grid:28,gxgrid:this.Subfile1Container,fnc:this.Valid_Atddesiden,isvalid:null,fld:"ATDDESIDEN",gxz:"Z61AtdDesIden",gxold:"O61AtdDesIden",gxvar:"A61AtdDesIden",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A61AtdDesIden=a
},v2z:function(a){gx.O.Z61AtdDesIden=a},v2c:function(){gx.fn.setGridControlValue("ATDDESIDEN",gx.fn.currentGridRowImpl(28),gx.O.A61AtdDesIden,0)},c2v:function(){gx.O.A61AtdDesIden=this.val()},val:function(){return gx.fn.getGridControlValue("ATDDESIDEN",gx.fn.currentGridRowImpl(28))},nac:function(){return false}};this.AV17NomAutCont="";this.ZV17NomAutCont="";this.OV17NomAutCont="";this.Z63AtdNro=0;this.O63AtdNro=0;this.Z61AtdDesIden="";this.O61AtdDesIden="";this.AV25UsbCod="";this.A65AtdValOrde="";
this.A63AtdNro=0;this.A61AtdDesIden="";this.ServerEvents=["e13862_client","e11862_client","e16861_client"];this.VarControlMap.AV25UsbCod={id:"vUSBCOD",grid:0,type:"char"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[18]);this.SetStandaloneVars()}hmih073.prototype=new gx.GxObject;gx.setParentObj(new hmih073());