gx.evt.autoSkip=false;function gx01k1(){this.ServerClass="Gx01K1";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV7pUsbCod=gx.fn.getControlValue("vPUSBCOD");this.AV8pUsnNroSeq=gx.fn.getIntegerValue("vPUSNNROSEQ",".")};this.e139g2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e149g1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,23,27,28,29,30,33];
this.GXLastCtrlId=33;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx01k1",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",27,0,"px",17,"px",null,"","");this.Grid1Container.addComboBox(964,28,"USNNROSEQ","Tipo ","UsnNroSeq","int",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(963,29,"USNDESANOT","para recuperação","","UsnDesAnot","vchar",0,"px",10240,10240,"left",null,[],963,"UsnDesAnot",true,0,false,false);
this.Grid1Container.addSingleLineEdit(787,30,"USBCOD","Código do leitor","","UsbCod","char",0,"px",14,14,"left",null,[],787,"UsbCod",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:"TEXTBLOCKUSNNROSEQ",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCUSNNROSEQ",gxz:"ZV6cUsnNroSeq",gxold:"OV6cUsnNroSeq",gxvar:"AV6cUsnNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV6cUsnNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cUsnNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setComboBoxValue("vCUSNNROSEQ",gx.O.AV6cUsnNroSeq)},c2v:function(){gx.O.AV6cUsnNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("vCUSNNROSEQ",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKUSNVALRECUPERACAO",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:"vCUSNVALRECUPERACAO",gxz:"ZV9cUsnValRecuperacao",gxold:"OV9cUsnValRecuperacao",gxvar:"AV9cUsnValRecuperacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cUsnValRecuperacao=a
},v2z:function(a){gx.O.ZV9cUsnValRecuperacao=a},v2c:function(){gx.fn.setControlValue("vCUSNVALRECUPERACAO",gx.O.AV9cUsnValRecuperacao,0)},c2v:function(){gx.O.AV9cUsnValRecuperacao=this.val()},val:function(){return gx.fn.getControlValue("vCUSNVALRECUPERACAO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"GROUP2",grid:0};this.GXValidFnc[23]={fld:"TABLE3",grid:0};this.GXValidFnc[27]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:26,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(26))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"USNNROSEQ",gxz:"Z964UsnNroSeq",gxold:"O964UsnNroSeq",gxvar:"A964UsnNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A964UsnNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z964UsnNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridComboBoxValue("USNNROSEQ",gx.fn.currentGridRowImpl(26),gx.O.A964UsnNroSeq)},c2v:function(){gx.O.A964UsnNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("USNNROSEQ",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"vchar",len:10240,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USNDESANOT",gxz:"Z963UsnDesAnot",gxold:"O963UsnDesAnot",gxvar:"A963UsnDesAnot",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A963UsnDesAnot=a
},v2z:function(a){gx.O.Z963UsnDesAnot=a},v2c:function(){gx.fn.setGridControlValue("USNDESANOT",gx.fn.currentGridRowImpl(26),gx.O.A963UsnDesAnot,0)},c2v:function(){gx.O.A963UsnDesAnot=this.val()},val:function(){return gx.fn.getGridControlValue("USNDESANOT",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:14,dec:0,sign:false,ro:1,grid:26,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(26),gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getGridControlValue("USBCOD",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[33]={fld:"TABLE4",grid:0};this.AV6cUsnNroSeq=0;this.ZV6cUsnNroSeq=0;this.OV6cUsnNroSeq=0;this.AV9cUsnValRecuperacao="";this.ZV9cUsnValRecuperacao="";this.OV9cUsnValRecuperacao="";this.ZV5LinkSelection="";
this.OV5LinkSelection="";this.Z964UsnNroSeq=0;this.O964UsnNroSeq=0;this.Z963UsnDesAnot="";this.O963UsnDesAnot="";this.Z787UsbCod="";this.O787UsbCod="";this.AV7pUsbCod="";this.AV8pUsnNroSeq=0;this.A1074UsnValRecu="";this.AV5LinkSelection="";this.A964UsnNroSeq=0;this.A963UsnDesAnot="";this.A787UsbCod="";this.ServerEvents=["e139g2_client","e149g1_client"];this.VarControlMap.AV7pUsbCod={id:"vPUSBCOD",grid:0,type:"char"};this.VarControlMap.AV8pUsnNroSeq={id:"vPUSNNROSEQ",grid:0,type:"int"};this.VarControlMap.AV7pUsbCod={id:"vPUSBCOD",grid:0,type:"char"};
this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar({rfrVar:"AV7pUsbCod"});this.SetStandaloneVars()}gx01k1.prototype=new gx.GxObject;gx.setParentObj(new gx01k1());