gx.evt.autoSkip=false;function gx00f1(){this.ServerClass="Gx00F1";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV12pEptNroSequencia=gx.fn.getIntegerValue("vPEPTNROSEQUENCIA",".");this.AV13pEpiNroTombo=gx.fn.getIntegerValue("vPEPINROTOMBO",".")};this.e13d92_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14d91_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,43,47,48,49,50,51,52,53,54,55,58];this.GXLastCtrlId=58;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",46,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx00f1",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",47,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(359,48,"EPINROTOMB","Nro do tombo - emprestimo","","EpiNroTomb","int",0,"px",9,9,"right",null,[],359,"EpiNroTomb",true,0,false,false);
this.Grid1Container.addSingleLineEdit(258,49,"DOCNRO","Documento","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(922,50,"UNDCOD","Unidade depositária","","UndCod","int",0,"px",3,3,"right",null,[],922,"UndCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(281,51,"DOENROSEQU","Nro seqüência exemplar","","DoeNroSequ","int",0,"px",4,4,"right",null,[],281,"DoeNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(317,52,"DVONROVOLU","Número do item","","DvoNroVolu","int",0,"px",6,6,"right",null,[],317,"DvoNroVolu",true,0,false,false);
this.Grid1Container.addSingleLineEdit(316,53,"DVONROTOMO","Número do tomo","","DvoNroTomo","int",0,"px",2,2,"right",null,[],316,"DvoNroTomo",true,0,false,false);this.Grid1Container.addSingleLineEdit(355,54,"EPIDATDEVP","Devolução prevista","Selecionar","EpiDatDevP","dtime",0,"px",16,10,"right",null,[],355,"EpiDatDevP",true,5,false,false);this.Grid1Container.addSingleLineEdit(364,55,"EPTNROSEQU","Sequencia","","EptNroSequ","int",0,"px",10,10,"right",null,[],364,"EptNroSequ",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:"TEXTBLOCKEPINROTOMBO",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCEPINROTOMBO",gxz:"ZV6cEpiNroTombo",gxold:"OV6cEpiNroTombo",gxvar:"AV6cEpiNroTombo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cEpiNroTombo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cEpiNroTombo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCEPINROTOMBO",gx.O.AV6cEpiNroTombo,0)},c2v:function(){gx.O.AV6cEpiNroTombo=this.val()},val:function(){return gx.fn.getIntegerValue("vCEPINROTOMBO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKDOCNRO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDOCNRO",gxz:"ZV7cDocNro",gxold:"OV7cDocNro",gxvar:"AV7cDocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cDocNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cDocNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDOCNRO",gx.O.AV7cDocNro,0)},c2v:function(){gx.O.AV7cDocNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCDOCNRO",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKUNDCOD",format:0,grid:0};this.GXValidFnc[24]={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:"vCUNDCOD",gxz:"ZV8cUndCod",gxold:"OV8cUndCod",gxvar:"AV8cUndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cUndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cUndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCUNDCOD",gx.O.AV8cUndCod,0)},c2v:function(){gx.O.AV8cUndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vCUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKDOENROSEQUENCIA",format:0,grid:0};this.GXValidFnc[29]={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:"vCDOENROSEQUENCIA",gxz:"ZV9cDoeNroSequencia",gxold:"OV9cDoeNroSequencia",gxvar:"AV9cDoeNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cDoeNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9cDoeNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDOENROSEQUENCIA",gx.O.AV9cDoeNroSequencia,0)},c2v:function(){gx.O.AV9cDoeNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCDOENROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKDVONROVOLUME",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCDVONROVOLUME",gxz:"ZV10cDvoNroVolume",gxold:"OV10cDvoNroVolume",gxvar:"AV10cDvoNroVolume",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cDvoNroVolume=gx.num.intval(a)
},v2z:function(a){gx.O.ZV10cDvoNroVolume=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDVONROVOLUME",gx.O.AV10cDvoNroVolume,0)},c2v:function(){gx.O.AV10cDvoNroVolume=this.val()},val:function(){return gx.fn.getIntegerValue("vCDVONROVOLUME",".")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKDVONROTOMO",format:0,grid:0};this.GXValidFnc[39]={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:"vCDVONROTOMO",gxz:"ZV11cDvoNroTomo",gxold:"OV11cDvoNroTomo",gxvar:"AV11cDvoNroTomo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cDvoNroTomo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV11cDvoNroTomo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCDVONROTOMO",gx.O.AV11cDvoNroTomo,0)},c2v:function(){gx.O.AV11cDvoNroTomo=this.val()},val:function(){return gx.fn.getIntegerValue("vCDVONROTOMO",".")},nac:function(){return false}};this.GXValidFnc[42]={fld:"GROUP2",grid:0};this.GXValidFnc[43]={fld:"TABLE3",grid:0};this.GXValidFnc[47]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:46,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(46))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EPINROTOMB",gxz:"Z359EpiNroTomb",gxold:"O359EpiNroTomb",gxvar:"A359EpiNroTomb",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A359EpiNroTomb=gx.num.intval(a)
},v2z:function(a){gx.O.Z359EpiNroTomb=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EPINROTOMB",gx.fn.currentGridRowImpl(46),gx.O.A359EpiNroTomb,0)},c2v:function(){gx.O.A359EpiNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("EPINROTOMB",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A258DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z258DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOCNRO",gx.fn.currentGridRowImpl(46),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"UNDCOD",gxz:"Z922UndCod",gxold:"O922UndCod",gxvar:"A922UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A922UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z922UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("UNDCOD",gx.fn.currentGridRowImpl(46),gx.O.A922UndCod,0)},c2v:function(){gx.O.A922UndCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("UNDCOD",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOENROSEQU",gxz:"Z281DoeNroSequ",gxold:"O281DoeNroSequ",gxvar:"A281DoeNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A281DoeNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z281DoeNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOENROSEQU",gx.fn.currentGridRowImpl(46),gx.O.A281DoeNroSequ,0)},c2v:function(){gx.O.A281DoeNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOENROSEQU",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DVONROVOLU",gxz:"Z317DvoNroVolu",gxold:"O317DvoNroVolu",gxvar:"A317DvoNroVolu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A317DvoNroVolu=gx.num.intval(a)
},v2z:function(a){gx.O.Z317DvoNroVolu=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DVONROVOLU",gx.fn.currentGridRowImpl(46),gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DVONROTOMO",gxz:"Z316DvoNroTomo",gxold:"O316DvoNroTomo",gxvar:"A316DvoNroTomo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A316DvoNroTomo=gx.num.intval(a)
},v2z:function(a){gx.O.Z316DvoNroTomo=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DVONROTOMO",gx.fn.currentGridRowImpl(46),gx.O.A316DvoNroTomo,0)},c2v:function(){gx.O.A316DvoNroTomo=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMO",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[54]={lvl:2,type:"dtime",len:10,dec:5,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPIDATDEVP",gxz:"Z355EpiDatDevP",gxold:"O355EpiDatDevP",gxvar:"A355EpiDatDevP",dp:{f:0,st:true,wn:false,mf:false,pic:"99/99/9999 99:99",dec:5},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A355EpiDatDevP=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z355EpiDatDevP=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EPIDATDEVP",gx.fn.currentGridRowImpl(46),gx.O.A355EpiDatDevP,0)},c2v:function(){gx.O.A355EpiDatDevP=this.val()},val:function(){return gx.fn.getGridControlValue("EPIDATDEVP",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[55]={lvl:2,type:"int",len:10,dec:0,sign:false,pic:"ZZZZZZZZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EPTNROSEQU",gxz:"Z364EptNroSequ",gxold:"O364EptNroSequ",gxvar:"A364EptNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A364EptNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z364EptNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EPTNROSEQU",gx.fn.currentGridRowImpl(46),gx.O.A364EptNroSequ,0)},c2v:function(){gx.O.A364EptNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("EPTNROSEQU",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[58]={fld:"TABLE4",grid:0};this.AV6cEpiNroTombo=0;this.ZV6cEpiNroTombo=0;this.OV6cEpiNroTombo=0;this.AV7cDocNro=0;this.ZV7cDocNro=0;this.OV7cDocNro=0;
this.AV8cUndCod=0;this.ZV8cUndCod=0;this.OV8cUndCod=0;this.AV9cDoeNroSequencia=0;this.ZV9cDoeNroSequencia=0;this.OV9cDoeNroSequencia=0;this.AV10cDvoNroVolume=0;this.ZV10cDvoNroVolume=0;this.OV10cDvoNroVolume=0;this.AV11cDvoNroTomo=0;this.ZV11cDvoNroTomo=0;this.OV11cDvoNroTomo=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z359EpiNroTomb=0;this.O359EpiNroTomb=0;this.Z258DocNro=0;this.O258DocNro=0;this.Z922UndCod=0;this.O922UndCod=0;this.Z281DoeNroSequ=0;this.O281DoeNroSequ=0;this.Z317DvoNroVolu=0;
this.O317DvoNroVolu=0;this.Z316DvoNroTomo=0;this.O316DvoNroTomo=0;this.Z355EpiDatDevP=gx.date.nullDate();this.O355EpiDatDevP=gx.date.nullDate();this.Z364EptNroSequ=0;this.O364EptNroSequ=0;this.AV12pEptNroSequencia=0;this.AV13pEpiNroTombo=0;this.AV5LinkSelection="";this.A359EpiNroTomb=0;this.A258DocNro=0;this.A922UndCod=0;this.A281DoeNroSequ=0;this.A317DvoNroVolu=0;this.A316DvoNroTomo=0;this.A355EpiDatDevP=gx.date.nullDate();this.A364EptNroSequ=0;this.ServerEvents=["e13d92_client","e14d91_client"];
this.VarControlMap.AV12pEptNroSequencia={id:"vPEPTNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV13pEpiNroTombo={id:"vPEPINROTOMBO",grid:0,type:"int"};this.VarControlMap.AV12pEptNroSequencia={id:"vPEPTNROSEQUENCIA",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(this.GXValidFnc[39]);this.Grid1Container.addRefreshingVar({rfrVar:"AV12pEptNroSequencia"});this.SetStandaloneVars()}gx00f1.prototype=new gx.GxObject;gx.setParentObj(new gx00f1());