gx.evt.autoSkip=false;function himh087(){this.ServerClass="HImh087";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV15ParmTipDocumento=gx.fn.getControlValue("vPARMTIPDOCUMENTO")};this.e11322_client=function(){this.executeServerEvent("ENTER",true)};this.e15321_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,21,24,26,30,31,32,35,38,41];this.GXLastCtrlId=41;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",29,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh087",[],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,true,null,null,false,"");
this.Grid1Container.addCheckBox("Rduindrecupera",30,"vRDUINDRECUPERA","Recupera","","RduIndRecupera","char","S","N",null,true,false,0,"px");this.Grid1Container.addSingleLineEdit(883,31,"TIUCOD","Tipo de leitor","","TiuCod","char",0,"px",3,3,"left",null,[],883,"TiuCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(884,32,"TIUDES","Descrição","","TiuDes","char",0,"px",30,30,"left",null,[],884,"TiuDes",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};
this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE3",grid:0};this.GXValidFnc[21]={fld:"TABLE4",grid:0};this.GXValidFnc[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRTIPDOCUMENTO",gxz:"ZV21ScrTipDocumento",gxold:"OV21ScrTipDocumento",gxvar:"AV21ScrTipDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21ScrTipDocumento=a},v2z:function(a){gx.O.ZV21ScrTipDocumento=a
},v2c:function(){gx.fn.setControlValue("vSCRTIPDOCUMENTO",gx.O.AV21ScrTipDocumento,0)},c2v:function(){gx.O.AV21ScrTipDocumento=this.val()},val:function(){return gx.fn.getControlValue("vSCRTIPDOCUMENTO")},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:0,grid:29,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vRDUINDRECUPERA",gxz:"ZV12RduIndRecupera",gxold:"OV12RduIndRecupera",gxvar:"AV12RduIndRecupera",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV12RduIndRecupera=a
},v2z:function(a){gx.O.ZV12RduIndRecupera=a},v2c:function(){gx.fn.setGridCheckBoxValue("vRDUINDRECUPERA",gx.fn.currentGridRowImpl(29),gx.O.AV12RduIndRecupera,"S")},c2v:function(){gx.O.AV12RduIndRecupera=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vRDUINDRECUPERA",gx.fn.currentGridRowImpl(29),"S","N")},nac:function(){return false}};this.GXValidFnc[31]={lvl:2,type:"char",len:3,dec:0,sign:false,ro:1,grid:29,gxgrid:this.Grid1Container,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(29),gx.O.A883TiuCod,0)},c2v:function(){gx.O.A883TiuCod=this.val()},val:function(){return gx.fn.getGridControlValue("TIUCOD",gx.fn.currentGridRowImpl(29))},nac:function(){return false}};this.GXValidFnc[32]={lvl:2,type:"char",len:30,dec:0,sign:false,ro:1,grid:29,gxgrid:this.Grid1Container,fnc:null,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(29),gx.O.A884TiuDes,0)},c2v:function(){gx.O.A884TiuDes=this.val()},val:function(){return gx.fn.getGridControlValue("TIUDES",gx.fn.currentGridRowImpl(29))},nac:function(){return false}};this.GXValidFnc[35]={fld:"TBQTDTIPOLEITOR2",format:0,grid:0};this.GXValidFnc[38]={fld:"TBQTDTIPOLEITOR",format:0,grid:0};this.GXValidFnc[41]={fld:"TBQTDTIPOLEITOR3",format:0,grid:0};this.AV21ScrTipDocumento="";
this.ZV21ScrTipDocumento="";this.OV21ScrTipDocumento="";this.ZV12RduIndRecupera="";this.OV12RduIndRecupera="";this.Z883TiuCod="";this.O883TiuCod="";this.Z884TiuDes="";this.O884TiuDes="";this.AV15ParmTipDocumento="";this.AV12RduIndRecupera="";this.A883TiuCod="";this.A884TiuDes="";this.A858TgeCodChav="";this.A859TgeCodTabe="";this.A860TgeValCont="";this.ServerEvents=["e11322_client","e15321_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV15ParmTipDocumento={id:"vPARMTIPDOCUMENTO",grid:0,type:"char"};
this.VarControlMap.AV16SdtRolTipoLeitor={id:"vSDTROLTIPOLEITOR",grid:0,type:"CollSdtTrabalhoEntidadeAlfanumerica"};this.VarControlMap.AV11TidCod={id:"vTIDCOD",grid:0,type:"char"};this.VarControlMap.AV22QtdTipoLeitor={id:"vQTDTIPOLEITOR",grid:0,type:"int"};this.Grid1Container.addRefreshingVar({rfrVar:"AV16SdtRolTipoLeitor"});this.Grid1Container.addRefreshingVar({rfrVar:"AV11TidCod"});this.Grid1Container.addRefreshingVar({rfrVar:"AV22QtdTipoLeitor"});this.SetStandaloneVars()}himh087.prototype=new gx.GxObject;
gx.setParentObj(new himh087());