gx.evt.autoSkip=false;function gx02w1(){this.ServerClass="Gx02W1";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV11pPexCod=gx.fn.getIntegerValue("vPPEXCOD",".");this.AV12pUsbCod=gx.fn.getControlValue("vPUSBCOD")};this.e13a82_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14a81_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,38,42,43,44,45,46,47,50];
this.GXLastCtrlId=50;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",41,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02w1",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",42,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(787,43,"USBCOD","Código do leitor","","UsbCod","char",0,"px",14,14,"left",null,[],787,"UsbCod",true,0,false,false);
this.Grid1Container.addSingleLineEdit(656,44,"PEUNOM","PeuNom","Selecionar","PeuNom","char",0,"px",35,35,"left",null,[],656,"PeuNom",true,0,false,false);this.Grid1Container.addSingleLineEdit(659,45,"PEUVERCART","PeuVerCarterinha","","PeuVerCart","int",0,"px",1,1,"right",null,[],659,"PeuVerCart",true,0,false,false);this.Grid1Container.addSingleLineEdit(658,46,"PEUNRODIGI","PeuNroDigitoVerificador","","PeuNroDigi","int",0,"px",1,1,"right",null,[],658,"PeuNroDigi",true,0,false,false);this.Grid1Container.addSingleLineEdit(665,47,"PEXCOD","Código","","PexCod","int",0,"px",1,1,"right",null,[],665,"PexCod",false,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:"TEXTBLOCKUSBCOD",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSBCOD",gxz:"ZV6cUsbCod",gxold:"OV6cUsbCod",gxvar:"AV6cUsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cUsbCod=a},v2z:function(a){gx.O.ZV6cUsbCod=a
},v2c:function(){gx.fn.setControlValue("vCUSBCOD",gx.O.AV6cUsbCod,0)},c2v:function(){gx.O.AV6cUsbCod=this.val()},val:function(){return gx.fn.getControlValue("vCUSBCOD")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKPEUNOM",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:35,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPEUNOM",gxz:"ZV7cPeuNom",gxold:"OV7cPeuNom",gxvar:"AV7cPeuNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cPeuNom=a
},v2z:function(a){gx.O.ZV7cPeuNom=a},v2c:function(){gx.fn.setControlValue("vCPEUNOM",gx.O.AV7cPeuNom,0)},c2v:function(){gx.O.AV7cPeuNom=this.val()},val:function(){return gx.fn.getControlValue("vCPEUNOM")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKPEUVERCARTERINHA",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"int",len:1,dec:0,sign:false,pic:"9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCPEUVERCARTERINHA",gxz:"ZV8cPeuVerCarterinha",gxold:"OV8cPeuVerCarterinha",gxvar:"AV8cPeuVerCarterinha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cPeuVerCarterinha=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cPeuVerCarterinha=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCPEUVERCARTERINHA",gx.O.AV8cPeuVerCarterinha,0)},c2v:function(){gx.O.AV8cPeuVerCarterinha=this.val()},val:function(){return gx.fn.getIntegerValue("vCPEUVERCARTERINHA",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKPEUNRODIGITOVERIFICADOR",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"int",len:1,dec:0,sign:false,pic:"9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCPEUNRODIGITOVERIFICADOR",gxz:"ZV9cPeuNroDigitoVerificador",gxold:"OV9cPeuNroDigitoVerificador",gxvar:"AV9cPeuNroDigitoVerificador",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cPeuNroDigitoVerificador=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9cPeuNroDigitoVerificador=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCPEUNRODIGITOVERIFICADOR",gx.O.AV9cPeuNroDigitoVerificador,0)},c2v:function(){gx.O.AV9cPeuNroDigitoVerificador=this.val()},val:function(){return gx.fn.getIntegerValue("vCPEUNRODIGITOVERIFICADOR",".")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKPEUNOMFOTO",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCPEUNOMFOTO",gxz:"ZV10cPeuNomFoto",gxold:"OV10cPeuNomFoto",gxvar:"AV10cPeuNomFoto",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cPeuNomFoto=a
},v2z:function(a){gx.O.ZV10cPeuNomFoto=a},v2c:function(){gx.fn.setControlValue("vCPEUNOMFOTO",gx.O.AV10cPeuNomFoto,0)},c2v:function(){gx.O.AV10cPeuNomFoto=this.val()},val:function(){return gx.fn.getControlValue("vCPEUNOMFOTO")},nac:function(){return false}};this.GXValidFnc[37]={fld:"GROUP2",grid:0};this.GXValidFnc[38]={fld:"TABLE3",grid:0};this.GXValidFnc[42]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:41,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(41))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A787UsbCod=a
},v2z:function(a){gx.O.Z787UsbCod=a},v2c:function(){gx.fn.setGridControlValue("USBCOD",gx.fn.currentGridRowImpl(41),gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getGridControlValue("USBCOD",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"char",len:35,dec:0,sign:false,ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"PEUNOM",gxz:"Z656PeuNom",gxold:"O656PeuNom",gxvar:"A656PeuNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A656PeuNom=a
},v2z:function(a){gx.O.Z656PeuNom=a},v2c:function(){gx.fn.setGridControlValue("PEUNOM",gx.fn.currentGridRowImpl(41),gx.O.A656PeuNom,0)},c2v:function(){gx.O.A656PeuNom=this.val()},val:function(){return gx.fn.getGridControlValue("PEUNOM",gx.fn.currentGridRowImpl(41))},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"int",len:1,dec:0,sign:false,pic:"9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PEUVERCART",gxz:"Z659PeuVerCart",gxold:"O659PeuVerCart",gxvar:"A659PeuVerCart",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A659PeuVerCart=gx.num.intval(a)
},v2z:function(a){gx.O.Z659PeuVerCart=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PEUVERCART",gx.fn.currentGridRowImpl(41),gx.O.A659PeuVerCart,0)},c2v:function(){gx.O.A659PeuVerCart=this.val()},val:function(){return gx.fn.getGridIntegerValue("PEUVERCART",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[46]={lvl:2,type:"int",len:1,dec:0,sign:false,pic:"9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PEUNRODIGI",gxz:"Z658PeuNroDigi",gxold:"O658PeuNroDigi",gxvar:"A658PeuNroDigi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A658PeuNroDigi=gx.num.intval(a)
},v2z:function(a){gx.O.Z658PeuNroDigi=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PEUNRODIGI",gx.fn.currentGridRowImpl(41),gx.O.A658PeuNroDigi,0)},c2v:function(){gx.O.A658PeuNroDigi=this.val()},val:function(){return gx.fn.getGridIntegerValue("PEUNRODIGI",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[47]={lvl:2,type:"int",len:1,dec:0,sign:false,pic:"9",ro:1,grid:41,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PEXCOD",gxz:"Z665PexCod",gxold:"O665PexCod",gxvar:"A665PexCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A665PexCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z665PexCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PEXCOD",gx.fn.currentGridRowImpl(41),gx.O.A665PexCod,0)},c2v:function(){gx.O.A665PexCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("PEXCOD",gx.fn.currentGridRowImpl(41),".")},nac:function(){return false}};this.GXValidFnc[50]={fld:"TABLE4",grid:0};this.AV6cUsbCod="";this.ZV6cUsbCod="";this.OV6cUsbCod="";this.AV7cPeuNom="";this.ZV7cPeuNom="";this.OV7cPeuNom="";this.AV8cPeuVerCarterinha=0;this.ZV8cPeuVerCarterinha=0;
this.OV8cPeuVerCarterinha=0;this.AV9cPeuNroDigitoVerificador=0;this.ZV9cPeuNroDigitoVerificador=0;this.OV9cPeuNroDigitoVerificador=0;this.AV10cPeuNomFoto="";this.ZV10cPeuNomFoto="";this.OV10cPeuNomFoto="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z787UsbCod="";this.O787UsbCod="";this.Z656PeuNom="";this.O656PeuNom="";this.Z659PeuVerCart=0;this.O659PeuVerCart=0;this.Z658PeuNroDigi=0;this.O658PeuNroDigi=0;this.Z665PexCod=0;this.O665PexCod=0;this.AV11pPexCod=0;this.AV12pUsbCod="";this.A657PeuNomFoto="";
this.AV5LinkSelection="";this.A787UsbCod="";this.A656PeuNom="";this.A659PeuVerCart=0;this.A658PeuNroDigi=0;this.A665PexCod=0;this.ServerEvents=["e13a82_client","e14a81_client"];this.VarControlMap.AV11pPexCod={id:"vPPEXCOD",grid:0,type:"int"};this.VarControlMap.AV12pUsbCod={id:"vPUSBCOD",grid:0,type:"char"};this.VarControlMap.AV11pPexCod={id:"vPPEXCOD",grid:0,type:"int"};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({rfrVar:"AV11pPexCod"});this.SetStandaloneVars()}gx02w1.prototype=new gx.GxObject;gx.setParentObj(new gx02w1());