gx.evt.autoSkip=false;function gx0411(){this.ServerClass="Gx0411";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pAssNro=gx.fn.getIntegerValue("vPASSNRO",".");this.AV10pLeiCod=gx.fn.getIntegerValue("vPLEICOD",".")};this.e13cj2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14cj1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,28,32,33,34,35,36,39];
this.GXLastCtrlId=39;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0411",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",32,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(497,33,"LEICOD","Leitor","","LeiCod","int",0,"px",4,4,"right",null,[],497,"LeiCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(520,34,"LRCNROSEQ","Sequência do leitor","Selecionar","LrcNroSeq","int",0,"px",4,4,"right",null,[],520,"LrcNroSeq",true,0,false,false);
this.Grid1Container.addSingleLineEdit(521,35,"LRCQTDDIAS","Dias prazo","","LrcQtdDias","int",0,"px",2,2,"right",null,[],521,"LrcQtdDias",true,0,false,false);this.Grid1Container.addSingleLineEdit(57,36,"ASSNRO","Assinatura","","AssNro","int",0,"px",5,5,"right",null,[],57,"AssNro",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:"TEXTBLOCKLEICOD",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCLEICOD",gxz:"ZV6cLeiCod",gxold:"OV6cLeiCod",gxvar:"AV6cLeiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cLeiCod=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cLeiCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCLEICOD",gx.O.AV6cLeiCod,0)},c2v:function(){gx.O.AV6cLeiCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCLEICOD",".")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKLRCNROSEQ",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCLRCNROSEQ",gxz:"ZV7cLrcNroSeq",gxold:"OV7cLrcNroSeq",gxvar:"AV7cLrcNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cLrcNroSeq=gx.num.intval(a)},v2z:function(a){gx.O.ZV7cLrcNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCLRCNROSEQ",gx.O.AV7cLrcNroSeq,0)
},c2v:function(){gx.O.AV7cLrcNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("vCLRCNROSEQ",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKLRCQTDDIASPRAZO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCLRCQTDDIASPRAZO",gxz:"ZV8cLrcQtdDiasPrazo",gxold:"OV8cLrcQtdDiasPrazo",gxvar:"AV8cLrcQtdDiasPrazo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cLrcQtdDiasPrazo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cLrcQtdDiasPrazo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCLRCQTDDIASPRAZO",gx.O.AV8cLrcQtdDiasPrazo,0)},c2v:function(){gx.O.AV8cLrcQtdDiasPrazo=this.val()},val:function(){return gx.fn.getIntegerValue("vCLRCQTDDIASPRAZO",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"GROUP2",grid:0};this.GXValidFnc[28]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:31,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(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LEICOD",gxz:"Z497LeiCod",gxold:"O497LeiCod",gxvar:"A497LeiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A497LeiCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z497LeiCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("LEICOD",gx.fn.currentGridRowImpl(31),gx.O.A497LeiCod,0)},c2v:function(){gx.O.A497LeiCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("LEICOD",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LRCNROSEQ",gxz:"Z520LrcNroSeq",gxold:"O520LrcNroSeq",gxvar:"A520LrcNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A520LrcNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z520LrcNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("LRCNROSEQ",gx.fn.currentGridRowImpl(31),gx.O.A520LrcNroSeq,0)},c2v:function(){gx.O.A520LrcNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("LRCNROSEQ",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"LRCQTDDIAS",gxz:"Z521LrcQtdDias",gxold:"O521LrcQtdDias",gxvar:"A521LrcQtdDias",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A521LrcQtdDias=gx.num.intval(a)
},v2z:function(a){gx.O.Z521LrcQtdDias=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("LRCQTDDIAS",gx.fn.currentGridRowImpl(31),gx.O.A521LrcQtdDias,0)},c2v:function(){gx.O.A521LrcQtdDias=this.val()},val:function(){return gx.fn.getGridIntegerValue("LRCQTDDIAS",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASSNRO",gxz:"Z57AssNro",gxold:"O57AssNro",gxvar:"A57AssNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A57AssNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z57AssNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ASSNRO",gx.fn.currentGridRowImpl(31),gx.O.A57AssNro,0)},c2v:function(){gx.O.A57AssNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASSNRO",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TABLE4",grid:0};this.AV6cLeiCod=0;this.ZV6cLeiCod=0;this.OV6cLeiCod=0;this.AV7cLrcNroSeq=0;this.ZV7cLrcNroSeq=0;this.OV7cLrcNroSeq=0;this.AV8cLrcQtdDiasPrazo=0;this.ZV8cLrcQtdDiasPrazo=0;
this.OV8cLrcQtdDiasPrazo=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z497LeiCod=0;this.O497LeiCod=0;this.Z520LrcNroSeq=0;this.O520LrcNroSeq=0;this.Z521LrcQtdDias=0;this.O521LrcQtdDias=0;this.Z57AssNro=0;this.O57AssNro=0;this.AV9pAssNro=0;this.AV10pLeiCod=0;this.AV5LinkSelection="";this.A497LeiCod=0;this.A520LrcNroSeq=0;this.A521LrcQtdDias=0;this.A57AssNro=0;this.ServerEvents=["e13cj2_client","e14cj1_client"];this.VarControlMap.AV9pAssNro={id:"vPASSNRO",grid:0,type:"int"};this.VarControlMap.AV10pLeiCod={id:"vPLEICOD",grid:0,type:"int"};
this.VarControlMap.AV9pAssNro={id:"vPASSNRO",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({rfrVar:"AV9pAssNro"});this.SetStandaloneVars()}gx0411.prototype=new gx.GxObject;gx.setParentObj(new gx0411());