gx.evt.autoSkip=false;function hztipusb(){this.ServerClass="HZTipUsb";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV5TiuCod=gx.fn.getControlValue("vTIUCOD")};this.Valid_Tiudes=function(){try{if(gx.fn.currentGridRowImpl(26)===0){return true}var a=gx.util.balloon.getNew("TIUDES",gx.fn.currentGridRowImpl(26));this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e120l2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])
};this.e150l1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,15,18,21,23,27,28,29,30,31,32];this.GXLastCtrlId=32;this.Subfile1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Subfile1","Subfile1","Subfile1Container",this.CmpContext,this.IsMasterPage,"hztipusb",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Subfile1Container.addSingleLineEdit(883,27,"TIUCOD","Tipo","","TiuCod","char",0,"px",3,3,"left",null,[],883,"TiuCod",true,0,false,false);
this.Subfile1Container.addSingleLineEdit(884,28,"TIUDES","Descrição","","TiuDes","char",0,"px",30,30,"left",null,[],884,"TiuDes",true,0,false,false);this.Subfile1Container.addSingleLineEdit(890,29,"TIUQTDRENO","Qtd. renovações","","TiuQtdReno","int",0,"px",2,2,"right",null,[],890,"TiuQtdReno",true,0,false,false);this.Subfile1Container.addSingleLineEdit(891,30,"TIUQTDRESE","Qtd. reservas","","TiuQtdRese","int",0,"px",3,3,"right",null,[],891,"TiuQtdRese",true,0,false,false);this.Subfile1Container.addComboBox(887,31,"TIUIND2","Pode mudar senha","TiuInd2","char",null,0,true,false,0,"px");
this.Subfile1Container.addComboBox(886,32,"TIUIND1","Padrão para anônimo","TiuInd1","char",null,0,true,false,0,"px");this.setGrid(this.Subfile1Container);this.GXValidFnc[3]={fld:"TABLE3",grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[18]={fld:"TABLE2",grid:0};this.GXValidFnc[21]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[23]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vNOMECONTENDO",gxz:"ZV8NomeContendo",gxold:"OV8NomeContendo",gxvar:"AV8NomeContendo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8NomeContendo=a
},v2z:function(a){gx.O.ZV8NomeContendo=a},v2c:function(){gx.fn.setControlValue("vNOMECONTENDO",gx.O.AV8NomeContendo,0)},c2v:function(){gx.O.AV8NomeContendo=this.val()},val:function(){return gx.fn.getControlValue("vNOMECONTENDO")},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"TIUCOD",gxz:"Z883TiuCod",gxold:"O883TiuCod",gxvar:"A883TiuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A883TiuCod=a
},v2z:function(a){gx.O.Z883TiuCod=a},v2c:function(){gx.fn.setGridControlValue("TIUCOD",gx.fn.currentGridRowImpl(26),gx.O.A883TiuCod,0)},c2v:function(){gx.O.A883TiuCod=this.val()},val:function(){return gx.fn.getGridControlValue("TIUCOD",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Subfile1Container,fnc:this.Valid_Tiudes,isvalid:null,fld:"TIUDES",gxz:"Z884TiuDes",gxold:"O884TiuDes",gxvar:"A884TiuDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A884TiuDes=a
},v2z:function(a){gx.O.Z884TiuDes=a},v2c:function(){gx.fn.setGridControlValue("TIUDES",gx.fn.currentGridRowImpl(26),gx.O.A884TiuDes,0)},c2v:function(){gx.O.A884TiuDes=this.val()},val:function(){return gx.fn.getGridControlValue("TIUDES",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:26,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"TIUQTDRENO",gxz:"Z890TiuQtdReno",gxold:"O890TiuQtdReno",gxvar:"A890TiuQtdReno",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A890TiuQtdReno=gx.num.intval(a)
},v2z:function(a){gx.O.Z890TiuQtdReno=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("TIUQTDRENO",gx.fn.currentGridRowImpl(26),gx.O.A890TiuQtdReno,0)},c2v:function(){gx.O.A890TiuQtdReno=this.val()},val:function(){return gx.fn.getGridIntegerValue("TIUQTDRENO",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:26,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,rgrid:[],fld:"TIUQTDRESE",gxz:"Z891TiuQtdRese",gxold:"O891TiuQtdRese",gxvar:"A891TiuQtdRese",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A891TiuQtdRese=gx.num.intval(a)
},v2z:function(a){gx.O.Z891TiuQtdRese=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("TIUQTDRESE",gx.fn.currentGridRowImpl(26),gx.O.A891TiuQtdRese,0)},c2v:function(){gx.O.A891TiuQtdRese=this.val()},val:function(){return gx.fn.getGridIntegerValue("TIUQTDRESE",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"TIUIND2",gxz:"Z887TiuInd2",gxold:"O887TiuInd2",gxvar:"A887TiuInd2",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A887TiuInd2=a
},v2z:function(a){gx.O.Z887TiuInd2=a},v2c:function(){gx.fn.setGridComboBoxValue("TIUIND2",gx.fn.currentGridRowImpl(26),gx.O.A887TiuInd2)},c2v:function(){gx.O.A887TiuInd2=this.val()},val:function(){return gx.fn.getGridControlValue("TIUIND2",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Subfile1Container,fnc:null,isvalid:null,fld:"TIUIND1",gxz:"Z886TiuInd1",gxold:"O886TiuInd1",gxvar:"A886TiuInd1",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A886TiuInd1=a
},v2z:function(a){gx.O.Z886TiuInd1=a},v2c:function(){gx.fn.setGridComboBoxValue("TIUIND1",gx.fn.currentGridRowImpl(26),gx.O.A886TiuInd1)},c2v:function(){gx.O.A886TiuInd1=this.val()},val:function(){return gx.fn.getGridControlValue("TIUIND1",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.AV8NomeContendo="";this.ZV8NomeContendo="";this.OV8NomeContendo="";this.Z883TiuCod="";this.O883TiuCod="";this.Z884TiuDes="";this.O884TiuDes="";this.Z890TiuQtdReno=0;this.O890TiuQtdReno=0;this.Z891TiuQtdRese=0;
this.O891TiuQtdRese=0;this.Z887TiuInd2="";this.O887TiuInd2="";this.Z886TiuInd1="";this.O886TiuInd1="";this.AV5TiuCod="";this.A883TiuCod="";this.A884TiuDes="";this.A890TiuQtdReno=0;this.A891TiuQtdRese=0;this.A887TiuInd2="";this.A886TiuInd1="";this.ServerEvents=["e120l2_client","e150l1_client"];this.VarControlMap.AV5TiuCod={id:"vTIUCOD",grid:0,type:"char"};this.VarControlMap.AV9CharDB={id:"vCHARDB",grid:0,type:"char"};this.Subfile1Container.addRefreshingVar(this.GXValidFnc[23]);this.Subfile1Container.addRefreshingVar({rfrVar:"AV9CharDB"});
this.SetStandaloneVars()}hztipusb.prototype=new gx.GxObject;gx.setParentObj(new hztipusb());