gx.evt.autoSkip=false;function tabt019(){this.ServerClass="TAbt019";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A365EptTipEmpr=gx.fn.getControlValue("EPTTIPEMPR");this.A946UsbNomFoto=gx.fn.getControlValue("USBNOMFOTO");this.Gx_mode=gx.fn.getControlValue("vMODE");this.A1128EpiCodUnid=gx.fn.getIntegerValue("EPICODUNID",".");this.A83CaeIndVesp=gx.fn.getControlValue("CAEINDVESP")};this.Valid_Eptnrosequ=function(){gx.ajax.validSrvEvt("dyncall","Valid_Eptnrosequ",["gx.O.A364EptNroSequ",'gx.date.urlDateTime(gx.O.A362EptDatReti,"DMY")',"gx.O.A361EptCodUsua","gx.O.A363EptHorReti","gx.O.A365EptTipEmpr","gx.O.A787UsbCod"],["A362EptDatReti","A787UsbCod","A361EptCodUsua","A363EptHorReti","A365EptTipEmpr","A786UsbNom","A946UsbNomFoto","A883TiuCod","A884TiuDes","Gx_mode","Z364EptNroSequ","Z362EptDatReti","Z787UsbCod","Z361EptCodUsua","Z363EptHorReti","Z365EptTipEmpr","Z786UsbNom","Z946UsbNomFoto","Z883TiuCod","Z884TiuDes","Grid1",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"]]);
return true};this.Valid_Usbcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Usbcod",["gx.O.A787UsbCod","gx.O.A883TiuCod","gx.O.A786UsbNom","gx.O.A946UsbNomFoto","gx.O.A884TiuDes"],["A786UsbNom","A946UsbNomFoto","A883TiuCod","A884TiuDes"]);return true};this.Valid_Tiucod=function(){try{var a=gx.util.balloon.getNew("TIUCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Epinrotomb=function(){try{if(gx.fn.currentGridRowImpl(70)===0){return true
}var a=gx.util.balloon.getNew("EPINROTOMB",gx.fn.currentGridRowImpl(70));this.AnyError=0;this.sMode15=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(15,70);this.standaloneModal0M15();this.standaloneNotModal0M15();if(gx.fn.gridDuplicateKey(72)){a.setError(gx.text.format(gx.getMessage("GXM_1004"),"Level1"));this.AnyError=1}}catch(b){}try{this.Gx_mode=this.sMode15;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Docnro=function(){this.sMode15=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(15,70);
gx.ajax.validSrvEvt("dyncall","Valid_Docnro",["gx.O.A258DocNro","gx.O.A242DocDesL1Ti","gx.O.A863TidCod","gx.O.A652PerNro"],["A242DocDesL1Ti","A863TidCod","A652PerNro"]);this.Gx_mode=this.sMode15;return true};this.Valid_Undcod=function(){try{if(gx.fn.currentGridRowImpl(70)===0){return true}var a=gx.util.balloon.getNew("UNDCOD",gx.fn.currentGridRowImpl(70));this.AnyError=0;this.sMode15=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(15,70)}catch(b){}try{this.Gx_mode=this.sMode15;if(a==null){return true
}return a.show()}catch(b){}return true};this.Valid_Doenrosequ=function(){this.sMode15=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(15,70);gx.ajax.validSrvEvt("dyncall","Valid_Doenrosequ",["gx.O.A258DocNro","gx.O.A922UndCod","gx.O.A281DoeNroSequ",'gx.date.urlDate(gx.O.A273DoeDatLimi,"DMY")'],["A273DoeDatLimi"]);this.Gx_mode=this.sMode15;return true};this.Valid_Dvonrovolu=function(){try{if(gx.fn.currentGridRowImpl(70)===0){return true}var a=gx.util.balloon.getNew("DVONROVOLU",gx.fn.currentGridRowImpl(70));
this.AnyError=0;this.sMode15=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(15,70)}catch(b){}try{this.Gx_mode=this.sMode15;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvonrotomo=function(){this.sMode15=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(15,70);gx.ajax.validSrvEvt("dyncall","Valid_Dvonrotomo",["gx.O.A258DocNro","gx.O.A922UndCod","gx.O.A281DoeNroSequ","gx.O.A317DvoNroVolu","gx.O.A316DvoNroTomo","gx.O.A79CaeCod","gx.O.A84CaeNom","gx.O.A83CaeIndVesp"],["A79CaeCod","A84CaeNom","A83CaeIndVesp"]);
this.Gx_mode=this.sMode15;return true};this.Valid_Caecod=function(){try{if(gx.fn.currentGridRowImpl(70)===0){return true}var a=gx.util.balloon.getNew("CAECOD",gx.fn.currentGridRowImpl(70));this.AnyError=0;this.sMode15=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(15,70)}catch(b){}try{this.Gx_mode=this.sMode15;if(a==null){return true}return a.show()}catch(b){}return true};this.standaloneModal0M15=function(){try{if(this.Gx_mode!="INS"){gx.fn.setCtrlProperty("EPINROTOMB","Enabled",0)}else{gx.fn.setCtrlProperty("EPINROTOMB","Enabled",1)
}}catch(a){}return true};this.standaloneNotModal0M15=function(){return true};this.e120m14_client=function(){this.executeServerEvent("ENTER",true)};this.e130m14_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,24,26,32,34,39,41,45,47,49,52,54,56,59,61,65,67,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92];this.GXLastCtrlId=92;this.Grid1Container=new gx.grid.grid(this,15,"Level1",70,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"tabt019",[359],false,1,false,true,5,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit("nRcdDeleted_15",71,"vNRCDDELETED_15","","","nRcdDeleted_15","int",16,"px",4,4,"right",null,[],"nRcdDeleted_15","nRcdDeleted_15",true,0,false,false);this.Grid1Container.addSingleLineEdit(359,72,"EPINROTOMB","Tombo","","EpiNroTomb","int",64,"px",9,9,"right",null,[],359,"EpiNroTomb",true,0,false,false);this.Grid1Container.addComboBox(1099,73,"EPITIPEMPR","Tipo de empréstimo","EpiTipEmpr","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(258,74,"DOCNRO","Documento","","DocNro","int",72,"px",6,6,"right",null,[],258,"DocNro",true,0,false,false);
this.Grid1Container.addBitmap("prompt_258","PROMPT_258",93,0,"",0,"",null,"","");this.Grid1Container.addSingleLineEdit(922,75,"UNDCOD","Unidade depositária","","UndCod","int",0,"px",3,3,"right",null,[],922,"UndCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(652,76,"PERNRO","Periódico","","PerNro","int",0,"px",5,5,"right",null,[],652,"PerNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(281,77,"DOENROSEQU","Nro. seq. exemplar","","DoeNroSequ","int",0,"px",4,4,"right",null,[],281,"DoeNroSequ",true,0,false,false);
this.Grid1Container.addBitmap("prompt_922_281","PROMPT_922_281",94,0,"",0,"",null,"","");this.Grid1Container.addSingleLineEdit(317,78,"DVONROVOLU","Número volume","","DvoNroVolu","int",0,"px",6,6,"right",null,[],317,"DvoNroVolu",true,0,false,false);this.Grid1Container.addSingleLineEdit(316,79,"DVONROTOMO","Número do tomo","","DvoNroTomo","int",0,"px",2,2,"right",null,[],316,"DvoNroTomo",true,0,false,false);this.Grid1Container.addBitmap("prompt_317_316","PROMPT_317_316",95,0,"",0,"",null,"","");this.Grid1Container.addSingleLineEdit(273,80,"DOEDATLIMI","Limite para pesquisa","","DoeDatLimi","date",0,"px",10,10,"right",null,[],273,"DoeDatLimi",true,0,false,false);
this.Grid1Container.addSingleLineEdit(242,81,"DOCDESL1TI","Título","","DocDesL1Ti","char",0,"px",250,250,"left",null,[],242,"DocDesL1Ti",true,0,false,false);this.Grid1Container.addSingleLineEdit(863,82,"TIDCOD","Código","","TidCod","char",0,"px",3,3,"left",null,[],863,"TidCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(355,83,"EPIDATDEVP","Devolução prevista","","EpiDatDevP","dtime",0,"px",16,10,"right",null,[],355,"EpiDatDevP",true,5,false,false);this.Grid1Container.addSingleLineEdit(354,84,"EPIDATDEVE","Devolução Efetiva","","EpiDatDevE","dtime",0,"px",16,10,"right",null,[],354,"EpiDatDevE",true,5,false,false);
this.Grid1Container.addSingleLineEdit(79,85,"CAECOD","Código","","CaeCod","int",0,"px",3,3,"right",null,[],79,"CaeCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(84,86,"CAENOM","Descrição","","CaeNom","char",0,"px",30,30,"left",null,[],84,"CaeNom",true,0,false,false);this.Grid1Container.addSingleLineEdit(356,87,"EPIDATRETI","Data da retirada","","EpiDatReti","dtime",0,"px",16,10,"right",null,[],356,"EpiDatReti",true,5,false,false);this.Grid1Container.addSingleLineEdit(357,88,"EPIDESDADO","Dados da devolucao","","EpiDesDado","char",0,"px",14,14,"left",null,[],357,"EpiDesDado",true,0,false,false);
this.Grid1Container.addSingleLineEdit(360,89,"EPITIPPRAZ","Tipo de prazo (C/D/H/R)","","EpiTipPraz","char",0,"px",2,1,"left",null,[],360,"EpiTipPraz",true,0,false,false);this.Grid1Container.addSingleLineEdit(353,90,"EPICODBIBU","Código usuário biblioteca","","EpiCodBibU","char",0,"px",14,14,"left",null,[],353,"EpiCodBibU",true,0,false,false);this.Grid1Container.addSingleLineEdit(358,91,"EPIINDDEVO","Devolvido ? (S/N)","","EpiIndDevo","char",0,"px",2,1,"left",null,[],358,"EpiIndDevo",true,0,false,false);
this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[24]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[26]={fld:"TABLE1",grid:0};this.GXValidFnc[32]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"int",len:10,dec:0,sign:false,pic:"ZZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Eptnrosequ,isvalid:null,rgrid:[this.Grid1Container],fld:"EPTNROSEQU",gxz:"Z364EptNroSequ",gxold:"O364EptNroSequ",gxvar:"A364EptNroSequ",ucs:[],op:[47,67,61,41],ip:[47,67,61,41,34],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.setControlValue("EPTNROSEQU",gx.O.A364EptNroSequ,0)},c2v:function(){gx.O.A364EptNroSequ=this.val()},val:function(){return gx.fn.getIntegerValue("EPTNROSEQU",".")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EPTDATRETI",gxz:"Z362EptDatReti",gxold:"O362EptDatReti",gxvar:"A362EptDatReti",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.A362EptDatReti=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z362EptDatReti=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("EPTDATRETI",gx.O.A362EptDatReti,0)},c2v:function(){gx.O.A362EptDatReti=this.val()},val:function(){return gx.fn.getControlValue("EPTDATRETI")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[47]={lvl:0,type:"char",len:14,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Usbcod,isvalid:null,fld:"USBCOD",gxz:"Z787UsbCod",gxold:"O787UsbCod",gxvar:"A787UsbCod",ucs:[],op:[56,54,49],ip:[56,49,54,47],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A787UsbCod=a
},v2z:function(a){gx.O.Z787UsbCod=a},v2c:function(){gx.fn.setControlValue("USBCOD",gx.O.A787UsbCod,0)},c2v:function(){gx.O.A787UsbCod=this.val()},val:function(){return gx.fn.getControlValue("USBCOD")},nac:function(){return false}};this.GXValidFnc[49]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"USBNOM",gxz:"Z786UsbNom",gxold:"O786UsbNom",gxvar:"A786UsbNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A786UsbNom=a},v2z:function(a){gx.O.Z786UsbNom=a
},v2c:function(){gx.fn.setControlValue("USBNOM",gx.O.A786UsbNom,0)},c2v:function(){gx.O.A786UsbNom=this.val()},val:function(){return gx.fn.getControlValue("USBNOM")},nac:function(){return false}};this.GXValidFnc[52]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[54]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Tiucod,isvalid:null,fld:"TIUCOD",gxz:"Z883TiuCod",gxold:"O883TiuCod",gxvar:"A883TiuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A883TiuCod=a
},v2z:function(a){gx.O.Z883TiuCod=a},v2c:function(){gx.fn.setControlValue("TIUCOD",gx.O.A883TiuCod,0)},c2v:function(){gx.O.A883TiuCod=this.val()},val:function(){return gx.fn.getControlValue("TIUCOD")},nac:function(){return false}};this.GXValidFnc[56]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"TIUDES",gxz:"Z884TiuDes",gxold:"O884TiuDes",gxvar:"A884TiuDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A884TiuDes=a},v2z:function(a){gx.O.Z884TiuDes=a
},v2c:function(){gx.fn.setControlValue("TIUDES",gx.O.A884TiuDes,0)},c2v:function(){gx.O.A884TiuDes=this.val()},val:function(){return gx.fn.getControlValue("TIUDES")},nac:function(){return false}};this.GXValidFnc[59]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[61]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EPTCODUSUA",gxz:"Z361EptCodUsua",gxold:"O361EptCodUsua",gxvar:"A361EptCodUsua",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A361EptCodUsua=a
},v2z:function(a){gx.O.Z361EptCodUsua=a},v2c:function(){gx.fn.setControlValue("EPTCODUSUA",gx.O.A361EptCodUsua,0)},c2v:function(){gx.O.A361EptCodUsua=this.val()},val:function(){return gx.fn.getControlValue("EPTCODUSUA")},nac:function(){return false}};this.GXValidFnc[65]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[67]={lvl:0,type:"char",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"EPTHORRETI",gxz:"Z363EptHorReti",gxold:"O363EptHorReti",gxvar:"A363EptHorReti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A363EptHorReti=a
},v2z:function(a){gx.O.Z363EptHorReti=a},v2c:function(){gx.fn.setControlValue("EPTHORRETI",gx.O.A363EptHorReti,0)},c2v:function(){gx.O.A363EptHorReti=this.val()},val:function(){return gx.fn.getControlValue("EPTHORRETI")},nac:function(){return false}};this.GXValidFnc[71]={lvl:15,type:"int",len:4,dec:0,sign:false,pic:"9999",ro:0,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vNRCDDELETED_15",gxz:"ZnRcdDeleted_15",gxold:"OnRcdDeleted_15",gxvar:"nRcdDeleted_15",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.nRcdDeleted_15=gx.num.intval(a)
},v2z:function(a){gx.O.ZnRcdDeleted_15=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vNRCDDELETED_15",gx.fn.currentGridRowImpl(70),gx.O.nRcdDeleted_15,0)},c2v:function(){gx.O.nRcdDeleted_15=this.val()},val:function(){return gx.fn.getGridIntegerValue("vNRCDDELETED_15",gx.fn.currentGridRowImpl(70),".")},nac:function(){return false}};this.GXValidFnc[72]={lvl:15,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:70,gxgrid:this.Grid1Container,fnc:this.Valid_Epinrotomb,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(70),gx.O.A359EpiNroTomb,0)},c2v:function(){gx.O.A359EpiNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("EPINROTOMB",gx.fn.currentGridRowImpl(70),".")},nac:function(){return false}};this.GXValidFnc[73]={lvl:15,type:"char",len:1,dec:0,sign:false,ro:0,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPITIPEMPR",gxz:"Z1099EpiTipEmpr",gxold:"O1099EpiTipEmpr",gxvar:"A1099EpiTipEmpr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1099EpiTipEmpr=a
},v2z:function(a){gx.O.Z1099EpiTipEmpr=a},v2c:function(){gx.fn.setGridComboBoxValue("EPITIPEMPR",gx.fn.currentGridRowImpl(70),gx.O.A1099EpiTipEmpr)},c2v:function(){gx.O.A1099EpiTipEmpr=this.val()},val:function(){return gx.fn.getGridControlValue("EPITIPEMPR",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[74]={lvl:15,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:70,gxgrid:this.Grid1Container,fnc:this.Valid_Docnro,isvalid:null,rgrid:[],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[76,82,81],ip:[76,82,81,74],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(70),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(70),".")},nac:function(){return false}};this.GXValidFnc[75]={lvl:15,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:70,gxgrid:this.Grid1Container,fnc:this.Valid_Undcod,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(70),gx.O.A922UndCod,0)},c2v:function(){gx.O.A922UndCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("UNDCOD",gx.fn.currentGridRowImpl(70),".")},nac:function(){return false}};this.GXValidFnc[76]={lvl:15,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"PERNRO",gxz:"Z652PerNro",gxold:"O652PerNro",gxvar:"A652PerNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A652PerNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z652PerNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("PERNRO",gx.fn.currentGridRowImpl(70),gx.O.A652PerNro,0)},c2v:function(){gx.O.A652PerNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("PERNRO",gx.fn.currentGridRowImpl(70),".")},nac:function(){return false}};this.GXValidFnc[77]={lvl:15,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:70,gxgrid:this.Grid1Container,fnc:this.Valid_Doenrosequ,isvalid:null,rgrid:[],fld:"DOENROSEQU",gxz:"Z281DoeNroSequ",gxold:"O281DoeNroSequ",gxvar:"A281DoeNroSequ",ucs:[],op:[80],ip:[80,77,75,74],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(70),gx.O.A281DoeNroSequ,0)},c2v:function(){gx.O.A281DoeNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOENROSEQU",gx.fn.currentGridRowImpl(70),".")},nac:function(){return false}};this.GXValidFnc[78]={lvl:15,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:70,gxgrid:this.Grid1Container,fnc:this.Valid_Dvonrovolu,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(70),gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(70),".")},nac:function(){return false}};this.GXValidFnc[79]={lvl:15,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:70,gxgrid:this.Grid1Container,fnc:this.Valid_Dvonrotomo,isvalid:null,rgrid:[],fld:"DVONROTOMO",gxz:"Z316DvoNroTomo",gxold:"O316DvoNroTomo",gxvar:"A316DvoNroTomo",ucs:[],op:[86,85],ip:[86,85,79,78,77,75,74],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(70),gx.O.A316DvoNroTomo,0)},c2v:function(){gx.O.A316DvoNroTomo=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMO",gx.fn.currentGridRowImpl(70),".")},nac:function(){return false}};this.GXValidFnc[80]={lvl:15,type:"date",len:10,dec:0,sign:false,ro:1,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOEDATLIMI",gxz:"Z273DoeDatLimi",gxold:"O273DoeDatLimi",gxvar:"A273DoeDatLimi",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A273DoeDatLimi=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z273DoeDatLimi=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("DOEDATLIMI",gx.fn.currentGridRowImpl(70),gx.O.A273DoeDatLimi,0)},c2v:function(){gx.O.A273DoeDatLimi=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDATLIMI",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[81]={lvl:15,type:"char",len:250,dec:0,sign:false,ro:1,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOCDESL1TI",gxz:"Z242DocDesL1Ti",gxold:"O242DocDesL1Ti",gxvar:"A242DocDesL1Ti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A242DocDesL1Ti=a
},v2z:function(a){gx.O.Z242DocDesL1Ti=a},v2c:function(){gx.fn.setGridControlValue("DOCDESL1TI",gx.fn.currentGridRowImpl(70),gx.O.A242DocDesL1Ti,0)},c2v:function(){gx.O.A242DocDesL1Ti=this.val()},val:function(){return gx.fn.getGridControlValue("DOCDESL1TI",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[82]={lvl:15,type:"char",len:3,dec:0,sign:false,ro:1,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"TIDCOD",gxz:"Z863TidCod",gxold:"O863TidCod",gxvar:"A863TidCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A863TidCod=a
},v2z:function(a){gx.O.Z863TidCod=a},v2c:function(){gx.fn.setGridControlValue("TIDCOD",gx.fn.currentGridRowImpl(70),gx.O.A863TidCod,0)},c2v:function(){gx.O.A863TidCod=this.val()},val:function(){return gx.fn.getGridControlValue("TIDCOD",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[83]={lvl:15,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:70,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(70),gx.O.A355EpiDatDevP,0)},c2v:function(){gx.O.A355EpiDatDevP=this.val()},val:function(){return gx.fn.getGridControlValue("EPIDATDEVP",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[84]={lvl:15,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPIDATDEVE",gxz:"Z354EpiDatDevE",gxold:"O354EpiDatDevE",gxvar:"A354EpiDatDevE",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.A354EpiDatDevE=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z354EpiDatDevE=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EPIDATDEVE",gx.fn.currentGridRowImpl(70),gx.O.A354EpiDatDevE,0)},c2v:function(){gx.O.A354EpiDatDevE=this.val()},val:function(){return gx.fn.getGridControlValue("EPIDATDEVE",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[85]={lvl:15,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:70,gxgrid:this.Grid1Container,fnc:this.Valid_Caecod,isvalid:null,rgrid:[],fld:"CAECOD",gxz:"Z79CaeCod",gxold:"O79CaeCod",gxvar:"A79CaeCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A79CaeCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z79CaeCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CAECOD",gx.fn.currentGridRowImpl(70),gx.O.A79CaeCod,0)},c2v:function(){gx.O.A79CaeCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("CAECOD",gx.fn.currentGridRowImpl(70),".")},nac:function(){return false}};this.GXValidFnc[86]={lvl:15,type:"char",len:30,dec:0,sign:false,ro:1,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CAENOM",gxz:"Z84CaeNom",gxold:"O84CaeNom",gxvar:"A84CaeNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A84CaeNom=a
},v2z:function(a){gx.O.Z84CaeNom=a},v2c:function(){gx.fn.setGridControlValue("CAENOM",gx.fn.currentGridRowImpl(70),gx.O.A84CaeNom,0)},c2v:function(){gx.O.A84CaeNom=this.val()},val:function(){return gx.fn.getGridControlValue("CAENOM",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[87]={lvl:15,type:"dtime",len:10,dec:5,sign:false,ro:0,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPIDATRETI",gxz:"Z356EpiDatReti",gxold:"O356EpiDatReti",gxvar:"A356EpiDatReti",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.A356EpiDatReti=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z356EpiDatReti=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EPIDATRETI",gx.fn.currentGridRowImpl(70),gx.O.A356EpiDatReti,0)},c2v:function(){gx.O.A356EpiDatReti=this.val()},val:function(){return gx.fn.getGridControlValue("EPIDATRETI",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[88]={lvl:15,type:"char",len:14,dec:0,sign:false,ro:0,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPIDESDADO",gxz:"Z357EpiDesDado",gxold:"O357EpiDesDado",gxvar:"A357EpiDesDado",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A357EpiDesDado=a
},v2z:function(a){gx.O.Z357EpiDesDado=a},v2c:function(){gx.fn.setGridControlValue("EPIDESDADO",gx.fn.currentGridRowImpl(70),gx.O.A357EpiDesDado,0)},c2v:function(){gx.O.A357EpiDesDado=this.val()},val:function(){return gx.fn.getGridControlValue("EPIDESDADO",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[89]={lvl:15,type:"char",len:1,dec:0,sign:false,ro:0,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPITIPPRAZ",gxz:"Z360EpiTipPraz",gxold:"O360EpiTipPraz",gxvar:"A360EpiTipPraz",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A360EpiTipPraz=a
},v2z:function(a){gx.O.Z360EpiTipPraz=a},v2c:function(){gx.fn.setGridControlValue("EPITIPPRAZ",gx.fn.currentGridRowImpl(70),gx.O.A360EpiTipPraz,0)},c2v:function(){gx.O.A360EpiTipPraz=this.val()},val:function(){return gx.fn.getGridControlValue("EPITIPPRAZ",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[90]={lvl:15,type:"char",len:14,dec:0,sign:false,ro:0,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPICODBIBU",gxz:"Z353EpiCodBibU",gxold:"O353EpiCodBibU",gxvar:"A353EpiCodBibU",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A353EpiCodBibU=a
},v2z:function(a){gx.O.Z353EpiCodBibU=a},v2c:function(){gx.fn.setGridControlValue("EPICODBIBU",gx.fn.currentGridRowImpl(70),gx.O.A353EpiCodBibU,0)},c2v:function(){gx.O.A353EpiCodBibU=this.val()},val:function(){return gx.fn.getGridControlValue("EPICODBIBU",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[91]={lvl:15,type:"char",len:1,dec:0,sign:false,ro:0,grid:70,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EPIINDDEVO",gxz:"Z358EpiIndDevo",gxold:"O358EpiIndDevo",gxvar:"A358EpiIndDevo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A358EpiIndDevo=a
},v2z:function(a){gx.O.Z358EpiIndDevo=a},v2c:function(){gx.fn.setGridControlValue("EPIINDDEVO",gx.fn.currentGridRowImpl(70),gx.O.A358EpiIndDevo,0)},c2v:function(){gx.O.A358EpiIndDevo=this.val()},val:function(){return gx.fn.getGridControlValue("EPIINDDEVO",gx.fn.currentGridRowImpl(70))},nac:function(){return false}};this.GXValidFnc[92]={fld:"PROMPT_787",grid:14};this.A364EptNroSequ=0;this.Z364EptNroSequ=0;this.O364EptNroSequ=0;this.A362EptDatReti=gx.date.nullDate();this.Z362EptDatReti=gx.date.nullDate();
this.O362EptDatReti=gx.date.nullDate();this.A787UsbCod="";this.Z787UsbCod="";this.O787UsbCod="";this.A786UsbNom="";this.Z786UsbNom="";this.O786UsbNom="";this.A883TiuCod="";this.Z883TiuCod="";this.O883TiuCod="";this.A884TiuDes="";this.Z884TiuDes="";this.O884TiuDes="";this.A361EptCodUsua="";this.Z361EptCodUsua="";this.O361EptCodUsua="";this.A363EptHorReti="";this.Z363EptHorReti="";this.O363EptHorReti="";this.ZnRcdDeleted_15=0;this.OnRcdDeleted_15=0;this.Z359EpiNroTomb=0;this.O359EpiNroTomb=0;this.Z1099EpiTipEmpr="";
this.O1099EpiTipEmpr="";this.Z258DocNro=0;this.O258DocNro=0;this.Z922UndCod=0;this.O922UndCod=0;this.Z652PerNro=0;this.O652PerNro=0;this.Z281DoeNroSequ=0;this.O281DoeNroSequ=0;this.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.Z316DvoNroTomo=0;this.O316DvoNroTomo=0;this.Z273DoeDatLimi=gx.date.nullDate();this.O273DoeDatLimi=gx.date.nullDate();this.Z242DocDesL1Ti="";this.O242DocDesL1Ti="";this.Z863TidCod="";this.O863TidCod="";this.Z355EpiDatDevP=gx.date.nullDate();this.O355EpiDatDevP=gx.date.nullDate();
this.Z354EpiDatDevE=gx.date.nullDate();this.O354EpiDatDevE=gx.date.nullDate();this.Z79CaeCod=0;this.O79CaeCod=0;this.Z84CaeNom="";this.O84CaeNom="";this.Z356EpiDatReti=gx.date.nullDate();this.O356EpiDatReti=gx.date.nullDate();this.Z357EpiDesDado="";this.O357EpiDesDado="";this.Z360EpiTipPraz="";this.O360EpiTipPraz="";this.Z353EpiCodBibU="";this.O353EpiCodBibU="";this.Z358EpiIndDevo="";this.O358EpiIndDevo="";this.A359EpiNroTomb=0;this.A258DocNro=0;this.A652PerNro=0;this.A922UndCod=0;this.A281DoeNroSequ=0;
this.A317DvoNroVolu=0;this.A316DvoNroTomo=0;this.A273DoeDatLimi=gx.date.nullDate();this.A242DocDesL1Ti="";this.A863TidCod="";this.A355EpiDatDevP=gx.date.nullDate();this.A354EpiDatDevE=gx.date.nullDate();this.A79CaeCod=0;this.A84CaeNom="";this.A83CaeIndVesp="";this.A356EpiDatReti=gx.date.nullDate();this.A357EpiDesDado="";this.A353EpiCodBibU="";this.A358EpiIndDevo="";this.A360EpiTipPraz="";this.A1099EpiTipEmpr="";this.A1128EpiCodUnid=0;this.AV36UsuCod="";this.A946UsbNomFoto="";this.A365EptTipEmpr="";
this.ServerEvents=["e120m14_client","e130m14_client"];this.setPrompt("PROMPT_787",[47]);this.setPrompt("PROMPT_258",[74]);this.setPrompt("PROMPT_922_281",[75,77]);this.setPrompt("PROMPT_317_316",[78,79]);this.EnterCtrl=["BTN_ENTER"];this.VarControlMap.A365EptTipEmpr={id:"EPTTIPEMPR",grid:0,type:"char"};this.VarControlMap.A946UsbNomFoto={id:"USBNOMFOTO",grid:0,type:"char"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.VarControlMap.A1128EpiCodUnid={id:"EPICODUNID",grid:70,type:"int"};
this.VarControlMap.A83CaeIndVesp={id:"CAEINDVESP",grid:70,type:"char"};this.SetStandaloneVars()}tabt019.prototype=new gx.GxObject;gx.setParentObj(new tabt019());