gx.evt.autoSkip=false;function gx02e0(){this.ServerClass="Gx02E0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV13pUsuCod=gx.fn.getControlValue("vPUSUCOD")};this.e13a42_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14a41_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,39,42,44,47,48,52,53,54,55,56,57,58,59,62];
this.GXLastCtrlId=62;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",51,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02e0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",52,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(968,53,"USUCOD","Operador","","UsuCod","char",0,"px",6,6,"left",null,[],968,"UsuCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(983,54,"USUNOM","Nome","Selecionar","UsuNom","char",0,"px",50,50,"left",null,[],983,"UsuNom",true,0,false,false);
this.Grid1Container.addSingleLineEdit(969,55,"USUCODSEXO","Sexo","","UsuCodSexo","char",0,"px",2,1,"left",null,[],969,"UsuCodSexo",true,0,false,false);this.Grid1Container.addComboBox(980,56,"USUINDPRIV","Privilegiado?","UsuIndPriv","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(972,57,"USUDESSENH","Senha","","UsuDesSenh","char",0,"px",10,10,"left",null,[],972,"UsuDesSenh",true,0,false,false);this.Grid1Container.addSingleLineEdit(977,58,"USUINDEMPR","Tem permissao p/ emprestimo","","UsuIndEmpr","char",0,"px",2,1,"left",null,[],977,"UsuIndEmpr",true,0,false,false);
this.Grid1Container.addSingleLineEdit(981,59,"USUINDRELA","Ind. permissao a relatórios","","UsuIndRela","char",0,"px",2,1,"left",null,[],981,"UsuIndRela",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKUSUCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSUCOD",gxz:"ZV6cUsuCod",gxold:"OV6cUsuCod",gxvar:"AV6cUsuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cUsuCod=a
},v2z:function(a){gx.O.ZV6cUsuCod=a},v2c:function(){gx.fn.setControlValue("vCUSUCOD",gx.O.AV6cUsuCod,0)},c2v:function(){gx.O.AV6cUsuCod=this.val()},val:function(){return gx.fn.getControlValue("vCUSUCOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKUSUNOM",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSUNOM",gxz:"ZV7cUsuNom",gxold:"OV7cUsuNom",gxvar:"AV7cUsuNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cUsuNom=a
},v2z:function(a){gx.O.ZV7cUsuNom=a},v2c:function(){gx.fn.setControlValue("vCUSUNOM",gx.O.AV7cUsuNom,0)},c2v:function(){gx.O.AV7cUsuNom=this.val()},val:function(){return gx.fn.getControlValue("vCUSUNOM")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKUSUCODSEXO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSUCODSEXO",gxz:"ZV8cUsuCodSexo",gxold:"OV8cUsuCodSexo",gxvar:"AV8cUsuCodSexo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cUsuCodSexo=a
},v2z:function(a){gx.O.ZV8cUsuCodSexo=a},v2c:function(){gx.fn.setControlValue("vCUSUCODSEXO",gx.O.AV8cUsuCodSexo,0)},c2v:function(){gx.O.AV8cUsuCodSexo=this.val()},val:function(){return gx.fn.getControlValue("vCUSUCODSEXO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKUSUINDPRIV",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSUINDPRIV",gxz:"ZV9cUsuIndPriv",gxold:"OV9cUsuIndPriv",gxvar:"AV9cUsuIndPriv",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV9cUsuIndPriv=a
},v2z:function(a){gx.O.ZV9cUsuIndPriv=a},v2c:function(){gx.fn.setComboBoxValue("vCUSUINDPRIV",gx.O.AV9cUsuIndPriv)},c2v:function(){gx.O.AV9cUsuIndPriv=this.val()},val:function(){return gx.fn.getControlValue("vCUSUINDPRIV")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKUSUDESSENHA",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSUDESSENHA",gxz:"ZV10cUsuDesSenha",gxold:"OV10cUsuDesSenha",gxvar:"AV10cUsuDesSenha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cUsuDesSenha=a
},v2z:function(a){gx.O.ZV10cUsuDesSenha=a},v2c:function(){gx.fn.setControlValue("vCUSUDESSENHA",gx.O.AV10cUsuDesSenha,0)},c2v:function(){gx.O.AV10cUsuDesSenha=this.val()},val:function(){return gx.fn.getControlValue("vCUSUDESSENHA")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKUSUINDEMPRESTIMO",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSUINDEMPRESTIMO",gxz:"ZV11cUsuIndEmprestimo",gxold:"OV11cUsuIndEmprestimo",gxvar:"AV11cUsuIndEmprestimo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cUsuIndEmprestimo=a
},v2z:function(a){gx.O.ZV11cUsuIndEmprestimo=a},v2c:function(){gx.fn.setControlValue("vCUSUINDEMPRESTIMO",gx.O.AV11cUsuIndEmprestimo,0)},c2v:function(){gx.O.AV11cUsuIndEmprestimo=this.val()},val:function(){return gx.fn.getControlValue("vCUSUINDEMPRESTIMO")},nac:function(){return false}};this.GXValidFnc[42]={fld:"TEXTBLOCKUSUINDRELATORIOS",format:0,grid:0};this.GXValidFnc[44]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSUINDRELATORIOS",gxz:"ZV12cUsuIndRelatorios",gxold:"OV12cUsuIndRelatorios",gxvar:"AV12cUsuIndRelatorios",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV12cUsuIndRelatorios=a
},v2z:function(a){gx.O.ZV12cUsuIndRelatorios=a},v2c:function(){gx.fn.setControlValue("vCUSUINDRELATORIOS",gx.O.AV12cUsuIndRelatorios,0)},c2v:function(){gx.O.AV12cUsuIndRelatorios=this.val()},val:function(){return gx.fn.getControlValue("vCUSUINDRELATORIOS")},nac:function(){return false}};this.GXValidFnc[47]={fld:"GROUP2",grid:0};this.GXValidFnc[48]={fld:"TABLE3",grid:0};this.GXValidFnc[52]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USUCOD",gxz:"Z968UsuCod",gxold:"O968UsuCod",gxvar:"A968UsuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A968UsuCod=a
},v2z:function(a){gx.O.Z968UsuCod=a},v2c:function(){gx.fn.setGridControlValue("USUCOD",gx.fn.currentGridRowImpl(51),gx.O.A968UsuCod,0)},c2v:function(){gx.O.A968UsuCod=this.val()},val:function(){return gx.fn.getGridControlValue("USUCOD",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USUNOM",gxz:"Z983UsuNom",gxold:"O983UsuNom",gxvar:"A983UsuNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A983UsuNom=a
},v2z:function(a){gx.O.Z983UsuNom=a},v2c:function(){gx.fn.setGridControlValue("USUNOM",gx.fn.currentGridRowImpl(51),gx.O.A983UsuNom,0)},c2v:function(){gx.O.A983UsuNom=this.val()},val:function(){return gx.fn.getGridControlValue("USUNOM",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USUCODSEXO",gxz:"Z969UsuCodSexo",gxold:"O969UsuCodSexo",gxvar:"A969UsuCodSexo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A969UsuCodSexo=a
},v2z:function(a){gx.O.Z969UsuCodSexo=a},v2c:function(){gx.fn.setGridControlValue("USUCODSEXO",gx.fn.currentGridRowImpl(51),gx.O.A969UsuCodSexo,0)},c2v:function(){gx.O.A969UsuCodSexo=this.val()},val:function(){return gx.fn.getGridControlValue("USUCODSEXO",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[56]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USUINDPRIV",gxz:"Z980UsuIndPriv",gxold:"O980UsuIndPriv",gxvar:"A980UsuIndPriv",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A980UsuIndPriv=a
},v2z:function(a){gx.O.Z980UsuIndPriv=a},v2c:function(){gx.fn.setGridComboBoxValue("USUINDPRIV",gx.fn.currentGridRowImpl(51),gx.O.A980UsuIndPriv)},c2v:function(){gx.O.A980UsuIndPriv=this.val()},val:function(){return gx.fn.getGridControlValue("USUINDPRIV",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[57]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USUDESSENH",gxz:"Z972UsuDesSenh",gxold:"O972UsuDesSenh",gxvar:"A972UsuDesSenh",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A972UsuDesSenh=a
},v2z:function(a){gx.O.Z972UsuDesSenh=a},v2c:function(){gx.fn.setGridControlValue("USUDESSENH",gx.fn.currentGridRowImpl(51),gx.O.A972UsuDesSenh,0)},c2v:function(){gx.O.A972UsuDesSenh=this.val()},val:function(){return gx.fn.getGridControlValue("USUDESSENH",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[58]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USUINDEMPR",gxz:"Z977UsuIndEmpr",gxold:"O977UsuIndEmpr",gxvar:"A977UsuIndEmpr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A977UsuIndEmpr=a
},v2z:function(a){gx.O.Z977UsuIndEmpr=a},v2c:function(){gx.fn.setGridControlValue("USUINDEMPR",gx.fn.currentGridRowImpl(51),gx.O.A977UsuIndEmpr,0)},c2v:function(){gx.O.A977UsuIndEmpr=this.val()},val:function(){return gx.fn.getGridControlValue("USUINDEMPR",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[59]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:51,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USUINDRELA",gxz:"Z981UsuIndRela",gxold:"O981UsuIndRela",gxvar:"A981UsuIndRela",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A981UsuIndRela=a
},v2z:function(a){gx.O.Z981UsuIndRela=a},v2c:function(){gx.fn.setGridControlValue("USUINDRELA",gx.fn.currentGridRowImpl(51),gx.O.A981UsuIndRela,0)},c2v:function(){gx.O.A981UsuIndRela=this.val()},val:function(){return gx.fn.getGridControlValue("USUINDRELA",gx.fn.currentGridRowImpl(51))},nac:function(){return false}};this.GXValidFnc[62]={fld:"TABLE4",grid:0};this.AV6cUsuCod="";this.ZV6cUsuCod="";this.OV6cUsuCod="";this.AV7cUsuNom="";this.ZV7cUsuNom="";this.OV7cUsuNom="";this.AV8cUsuCodSexo="";this.ZV8cUsuCodSexo="";
this.OV8cUsuCodSexo="";this.AV9cUsuIndPriv="";this.ZV9cUsuIndPriv="";this.OV9cUsuIndPriv="";this.AV10cUsuDesSenha="";this.ZV10cUsuDesSenha="";this.OV10cUsuDesSenha="";this.AV11cUsuIndEmprestimo="";this.ZV11cUsuIndEmprestimo="";this.OV11cUsuIndEmprestimo="";this.AV12cUsuIndRelatorios="";this.ZV12cUsuIndRelatorios="";this.OV12cUsuIndRelatorios="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z968UsuCod="";this.O968UsuCod="";this.Z983UsuNom="";this.O983UsuNom="";this.Z969UsuCodSexo="";this.O969UsuCodSexo="";
this.Z980UsuIndPriv="";this.O980UsuIndPriv="";this.Z972UsuDesSenh="";this.O972UsuDesSenh="";this.Z977UsuIndEmpr="";this.O977UsuIndEmpr="";this.Z981UsuIndRela="";this.O981UsuIndRela="";this.AV13pUsuCod="";this.AV5LinkSelection="";this.A968UsuCod="";this.A983UsuNom="";this.A969UsuCodSexo="";this.A980UsuIndPriv="";this.A972UsuDesSenh="";this.A977UsuIndEmpr="";this.A981UsuIndRela="";this.ServerEvents=["e13a42_client","e14a41_client"];this.VarControlMap.AV13pUsuCod={id:"vPUSUCOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[44]);this.SetStandaloneVars()}gx02e0.prototype=new gx.GxObject;gx.setParentObj(new gx02e0());