gx.evt.autoSkip=false;function timt060(){this.ServerClass="TImt060";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.addKeyListener("4","e16452_client");this.SetStandaloneVars=function(){this.Gx_date=gx.fn.getDateValue("vTODAY");this.Gx_BScreen=gx.fn.getIntegerValue("vGXBSCREEN",".");this.A312DvoIndRote=gx.fn.getControlValue("DVOINDROTE");this.A311DvoIndFasc=gx.fn.getControlValue("DVOINDFASC");this.AV32UsuCodCorr=gx.fn.getControlValue("vUSUCODCORR");this.AV61IndAcessoPermitido=gx.fn.getControlValue("vINDACESSOPERMITIDO");
this.AV62MsgErroPermissao=gx.fn.getControlValue("vMSGERROPERMISSAO");this.Gx_msg=gx.fn.getControlValue("vMSG");this.AV16IndErro=gx.fn.getControlValue("vINDERRO");this.AV22Mensagem=gx.fn.getControlValue("vMENSAGEM");this.AV21IndMudou=gx.fn.getControlValue("vINDMUDOU");this.AV45HstCodEstacao=gx.fn.getControlValue("vHSTCODESTACAO");this.AV46HstTipEntidade=gx.fn.getControlValue("vHSTTIPENTIDADE");this.AV63IndAssumeTomboLivre=gx.fn.getControlValue("vINDASSUMETOMBOLIVRE");this.A318DvoQtdReno=gx.fn.getIntegerValue("DVOQTDRENO",".");
this.A319DvoTipFasc=gx.fn.getControlValue("DVOTIPFASC");this.A314DvoNroEdic=gx.fn.getIntegerValue("DVONROEDIC",".");this.A304DvoAnoEdic=gx.fn.getControlValue("DVOANOEDIC");this.A305DvoCampo1L=gx.fn.getControlValue("DVOCAMPO1L");this.A652PerNro=gx.fn.getIntegerValue("PERNRO",".");this.A871TidIndModo=gx.fn.getControlValue("TIDINDMODO");this.A280DoeNroAssi=gx.fn.getIntegerValue("DOENROASSI",".");this.A269DoeCodCent=gx.fn.getControlValue("DOECODCENT");this.A283DoeQtdReno=gx.fn.getIntegerValue("DOEQTDRENO",".");
this.A433ForCod=gx.fn.getIntegerValue("FORCOD",".");this.A224DitNroTomo=gx.fn.getControlValue("DITNROTOMO");this.Gx_mode=gx.fn.getControlValue("vMODE");this.AV25TemErro=gx.fn.getControlValue("vTEMERRO");this.AV52VncCodOrigem=gx.fn.getControlValue("vVNCCODORIGEM")};this.Valid_Docnro=function(){try{var a=gx.util.balloon.getNew("DOCNRO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Undcod=function(){try{var a=gx.util.balloon.getNew("UNDCOD");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Doenrosequ=function(){try{var a=gx.util.balloon.getNew("DOENROSEQU");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvonrovolu=function(){try{var a=gx.util.balloon.getNew("DVONROVOLU");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvonrotomo=function(){gx.ajax.validSrvEvt("dyncall","valid_Dvonrotomo",["gx.O.AV32UsuCodCorr","gx.O.Gx_msg","gx.O.AV46HstTipEntidade","gx.O.AV45HstCodEstacao","gx.O.AV63IndAssumeTomboLivre","gx.O.A226DitTipFasc","gx.O.A872TidIndNroT","gx.O.A258DocNro","gx.O.A922UndCod","gx.O.A281DoeNroSequ","gx.O.A317DvoNroVolu","gx.O.A316DvoNroTomo","gx.O.A1115DvoCodCate","gx.O.A315DvoNroTomb","gx.O.A310DvoDesVolu",'gx.date.urlDate(gx.O.A306DvoDatbaix,"DMY")',"gx.O.A309DvoDesMoti","gx.O.A318DvoQtdReno","gx.O.A319DvoTipFasc",'gx.date.urlDate(gx.O.A308DvoDatEfet,"DMY")','gx.date.urlDate(gx.O.A307DvoDatCada,"DMY")',"gx.O.A314DvoNroEdic","gx.O.A304DvoAnoEdic","gx.O.A313DvoIndSitu","gx.O.A311DvoIndFasc","gx.O.A305DvoCampo1L","gx.O.A312DvoIndRote","gx.O.A1095DvoNroPatr","gx.O.A1114DvoCodUnid","gx.O.A1113DvoTipSitu","gx.O.A509LocCod","gx.O.A79CaeCod"],["A1115DvoCodCate","A315DvoNroTomb","A863TidCod","A868TidDes","A872TidIndNroT","A871TidIndModo","A652PerNro","A509LocCod","A433ForCod","A280DoeNroAssi","A310DvoDesVolu","A306DvoDatbaix","A309DvoDesMoti","A318DvoQtdReno","A269DoeCodCent","A283DoeQtdReno","A319DvoTipFasc","A308DvoDatEfet","A307DvoDatCada","A314DvoNroEdic","A304DvoAnoEdic","A313DvoIndSitu","A311DvoIndFasc","A305DvoCampo1L","A225DitNroVolu","A222DitDatPubl","A227DitValExte","A220DitAnoEdic","A226DitTipFasc","A224DitNroTomo","A223DitNroEdic","A79CaeCod","A312DvoIndRote","A1095DvoNroPatr","A1114DvoCodUnid","A1113DvoTipSitu","A512LocNom","A84CaeNom","Gx_mode","Z258DocNro","Z922UndCod","Z281DoeNroSequ","Z317DvoNroVolu","Z316DvoNroTomo","Z1115DvoCodCate","Z315DvoNroTomb","Z863TidCod","Z868TidDes","Z872TidIndNroT","Z871TidIndModo","Z652PerNro","Z509LocCod","Z433ForCod","Z280DoeNroAssi","Z310DvoDesVolu","Z306DvoDatbaix","Z309DvoDesMoti","Z318DvoQtdReno","Z269DoeCodCent","Z283DoeQtdReno","Z319DvoTipFasc","Z308DvoDatEfet","Z307DvoDatCada","Z314DvoNroEdic","Z304DvoAnoEdic","Z313DvoIndSitu","Z311DvoIndFasc","Z305DvoCampo1L","Z225DitNroVolu","Z222DitDatPubl","Z227DitValExte","Z220DitAnoEdic","Z226DitTipFasc","Z224DitNroTomo","Z223DitNroEdic","Z79CaeCod","Z312DvoIndRote","Z1095DvoNroPatr","Z1114DvoCodUnid","Z1113DvoTipSitu","Z512LocNom","Z84CaeNom","O79CaeCod","O315DvoNroTomb","O308DvoDatEfet","O313DvoIndSitu","O306DvoDatbaix",["BUTTON1","Enabled"]]);
return true};this.Valid_Tidcod=function(){try{var a=gx.util.balloon.getNew("TIDCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Tidindnrot=function(){try{var a=gx.util.balloon.getNew("TIDINDNROT");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvodatefet=function(){try{var a=gx.util.balloon.getNew("DVODATEFET");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true
};this.Valid_Caecod=function(){gx.ajax.validSrvEvt("dyncall","valid_Caecod",["gx.O.A79CaeCod","gx.O.A84CaeNom"],["A84CaeNom"]);return true};this.Valid_Dvonrotomb=function(){try{var a=gx.util.balloon.getNew("DVONROTOMB");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Loccod=function(){gx.ajax.validSrvEvt("dyncall","valid_Loccod",["gx.O.A922UndCod","gx.O.A509LocCod","gx.O.A512LocNom"],["A512LocNom"]);return true};this.Valid_Dvoindsitu=function(){try{var a=gx.util.balloon.getNew("DVOINDSITU");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvodatbaix=function(){try{var a=gx.util.balloon.getNew("DVODATBAIX");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e144541_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("timt081",[this.A258DocNro,this.A317DvoNroVolu,"FASCICULO#",this.A922UndCod,this.A281DoeNroSequ,this.A317DvoNroVolu,this.A316DvoNroTomo]),["A258DocNro","A317DvoNroVolu","","A922UndCod","A281DoeNroSequ","A317DvoNroVolu","A316DvoNroTomo"]);
this.refreshOutputs([])};this.e114541_client=function(){this.clearMessages();this.AV25TemErro="N";if(this.AV25TemErro=="N"){if(this.Gx_mode!="UPD"){this.Gx_msg="Para replicar deve-se já ter cadastrado o fascículo";this.AV25TemErro="S"}}if(this.AV25TemErro=="N"){gx.popup.openUrl(gx.http.formatLink("habw181",[this.A258DocNro,this.A922UndCod,this.A281DoeNroSequ,this.A317DvoNroVolu,this.A316DvoNroTomo]),["A258DocNro","A922UndCod","A281DoeNroSequ","A317DvoNroVolu","A316DvoNroTomo"])}else{this.addMessage(this.Gx_msg)
}this.refreshOutputs([{av:"Gx_msg",fld:"vMSG"},{av:"AV25TemErro",fld:"vTEMERRO"}])};this.e124541_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh048",[this.A258DocNro,this.A317DvoNroVolu]),["A258DocNro","A317DvoNroVolu"]);this.refreshOutputs([])};this.e134541_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh174",[this.AV52VncCodOrigem]),["AV52VncCodOrigem"]);this.refreshOutputs([])};this.e17452_client=function(){this.executeServerEvent("'APAGA FASCíCULO'",false)
};this.e18452_client=function(){this.executeServerEvent("'GET PENSA-B'",false)};this.e19452_client=function(){this.executeServerEvent("'ROTEAR'",false)};this.e20452_client=function(){this.executeServerEvent("'ARTIGOS'",false)};this.e21452_client=function(){this.executeServerEvent("'ROTEIRO CIRCULACAO'",false)};this.e16452_client=function(){this.executeServerEvent("'ITEM'",false)};this.e22452_client=function(){this.executeServerEvent("'CARTA PARA ATRASO'",false)};this.e23452_client=function(){this.executeServerEvent("'VOLTAR'",false)
};this.e24452_client=function(){this.executeServerEvent("'DUPLICATA'",false)};this.e25452_client=function(){this.executeServerEvent("'RESET'",false)};this.e264541_client=function(){this.executeServerEvent("ENTER",true)};this.e274541_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,18,28,31,37,40,42,44,46,48,50,52,54,56,58,63,65,67,69,72,75,78,80,83,85,88,90,93,95,98,100,103,105,108,111,114,116,118,120,123,125,127,129,132,134,136,138,141,143,145,147,150,152,154,156,158,160,163,165,167,169,171,173,176,178,188,196,198,201,208,217,218];
this.GXLastCtrlId=218;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[18]={fld:"VINCULO",grid:0};this.GXValidFnc[28]={fld:"TEXTBLOCK43",format:0,grid:0};this.GXValidFnc[31]={fld:"TABLE3",grid:0};this.GXValidFnc[37]={fld:"TABLE4",grid:0};this.GXValidFnc[40]={fld:"TEXTBLOCK22",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Docnro,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.setControlValue("DOCNRO",gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getIntegerValue("DOCNRO",".")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,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.setControlValue("UNDCOD",gx.O.A922UndCod,0)},c2v:function(){gx.O.A922UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("UNDCOD",".")},nac:function(){return false}};this.GXValidFnc[48]={fld:"TEXTBLOCK18",format:0,grid:0};this.GXValidFnc[50]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Doenrosequ,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.setControlValue("DOENROSEQU",gx.O.A281DoeNroSequ,0)},c2v:function(){gx.O.A281DoeNroSequ=this.val()},val:function(){return gx.fn.getIntegerValue("DOENROSEQU",".")},nac:function(){return false}};this.GXValidFnc[52]={fld:"TEXTBLOCK26",format:0,grid:0};this.GXValidFnc[54]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:0,gxgrid:null,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.setControlValue("DVONROVOLU",gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getIntegerValue("DVONROVOLU",".")},nac:function(){return false}};this.GXValidFnc[56]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[58]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Dvonrotomo,isvalid:null,rgrid:[],fld:"DVONROTOMO",gxz:"Z316DvoNroTomo",gxold:"O316DvoNroTomo",gxvar:"A316DvoNroTomo",ucs:[],op:[123,141,169,165,147,152,129,116,160,156,178,134,173],ip:[123,141,169,165,147,152,129,116,160,156,178,134,173,58,54,50,46,42],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.setControlValue("DVONROTOMO",gx.O.A316DvoNroTomo,0)},c2v:function(){gx.O.A316DvoNroTomo=this.val()},val:function(){return gx.fn.getIntegerValue("DVONROTOMO",".")},nac:function(){return false}};this.GXValidFnc[63]={fld:"TEXTBLOCK15",format:0,grid:0};this.GXValidFnc[65]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Tidcod,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.setControlValue("TIDCOD",gx.O.A863TidCod,0)},c2v:function(){gx.O.A863TidCod=this.val()},val:function(){return gx.fn.getControlValue("TIDCOD")},nac:function(){return false}};this.GXValidFnc[67]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"TIDDES",gxz:"Z868TidDes",gxold:"O868TidDes",gxvar:"A868TidDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A868TidDes=a},v2z:function(a){gx.O.Z868TidDes=a
},v2c:function(){gx.fn.setControlValue("TIDDES",gx.O.A868TidDes,0)},c2v:function(){gx.O.A868TidDes=this.val()},val:function(){return gx.fn.getControlValue("TIDDES")},nac:function(){return false}};this.GXValidFnc[69]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Tidindnrot,isvalid:null,fld:"TIDINDNROT",gxz:"Z872TidIndNroT",gxold:"O872TidIndNroT",gxvar:"A872TidIndNroT",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A872TidIndNroT=a},v2z:function(a){gx.O.Z872TidIndNroT=a
},v2c:function(){gx.fn.setComboBoxValue("TIDINDNROT",gx.O.A872TidIndNroT)},c2v:function(){gx.O.A872TidIndNroT=this.val()},val:function(){return gx.fn.getControlValue("TIDINDNROT")},nac:function(){return false}};this.GXValidFnc[72]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[75]={fld:"TABLE5",grid:0};this.GXValidFnc[78]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[80]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DITDATPUBL",gxz:"Z222DitDatPubl",gxold:"O222DitDatPubl",gxvar:"A222DitDatPubl",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.A222DitDatPubl=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z222DitDatPubl=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("DITDATPUBL",gx.O.A222DitDatPubl,0)},c2v:function(){gx.O.A222DitDatPubl=this.val()},val:function(){return gx.fn.getControlValue("DITDATPUBL")},nac:function(){return false}};this.GXValidFnc[83]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[85]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DITANOEDIC",gxz:"Z220DitAnoEdic",gxold:"O220DitAnoEdic",gxvar:"A220DitAnoEdic",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A220DitAnoEdic=a
},v2z:function(a){gx.O.Z220DitAnoEdic=a},v2c:function(){gx.fn.setControlValue("DITANOEDIC",gx.O.A220DitAnoEdic,0)},c2v:function(){gx.O.A220DitAnoEdic=this.val()},val:function(){return gx.fn.getControlValue("DITANOEDIC")},nac:function(){return false}};this.GXValidFnc[88]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[90]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DITNROVOLU",gxz:"Z225DitNroVolu",gxold:"O225DitNroVolu",gxvar:"A225DitNroVolu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A225DitNroVolu=a
},v2z:function(a){gx.O.Z225DitNroVolu=a},v2c:function(){gx.fn.setControlValue("DITNROVOLU",gx.O.A225DitNroVolu,0)},c2v:function(){gx.O.A225DitNroVolu=this.val()},val:function(){return gx.fn.getControlValue("DITNROVOLU")},nac:function(){return false}};this.GXValidFnc[93]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[95]={lvl:0,type:"char",len:12,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DITNROEDIC",gxz:"Z223DitNroEdic",gxold:"O223DitNroEdic",gxvar:"A223DitNroEdic",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A223DitNroEdic=a
},v2z:function(a){gx.O.Z223DitNroEdic=a},v2c:function(){gx.fn.setControlValue("DITNROEDIC",gx.O.A223DitNroEdic,0)},c2v:function(){gx.O.A223DitNroEdic=this.val()},val:function(){return gx.fn.getControlValue("DITNROEDIC")},nac:function(){return false}};this.GXValidFnc[98]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[100]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DITVALEXTE",gxz:"Z227DitValExte",gxold:"O227DitValExte",gxvar:"A227DitValExte",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A227DitValExte=a
},v2z:function(a){gx.O.Z227DitValExte=a},v2c:function(){gx.fn.setControlValue("DITVALEXTE",gx.O.A227DitValExte,0)},c2v:function(){gx.O.A227DitValExte=this.val()},val:function(){return gx.fn.getControlValue("DITVALEXTE")},nac:function(){return false}};this.GXValidFnc[103]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[105]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DITTIPFASC",gxz:"Z226DitTipFasc",gxold:"O226DitTipFasc",gxvar:"A226DitTipFasc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A226DitTipFasc=a
},v2z:function(a){gx.O.Z226DitTipFasc=a},v2c:function(){gx.fn.setComboBoxValue("DITTIPFASC",gx.O.A226DitTipFasc)},c2v:function(){gx.O.A226DitTipFasc=this.val()},val:function(){return gx.fn.getControlValue("DITTIPFASC")},nac:function(){return false}};this.GXValidFnc[108]={fld:"TEXTBLOCK21",format:0,grid:0};this.GXValidFnc[111]={fld:"TABLE6",grid:0};this.GXValidFnc[114]={fld:"TEXTBLOCK17",format:0,grid:0};this.GXValidFnc[116]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Dvodatefet,isvalid:null,fld:"DVODATEFET",gxz:"Z308DvoDatEfet",gxold:"O308DvoDatEfet",gxvar:"A308DvoDatEfet",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.A308DvoDatEfet=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z308DvoDatEfet=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("DVODATEFET",gx.O.A308DvoDatEfet,0)},c2v:function(){gx.O.A308DvoDatEfet=this.val()},val:function(){return gx.fn.getControlValue("DVODATEFET")},nac:function(){return false}};this.GXValidFnc[118]={fld:"TEXTBLOCK11",format:0,grid:0};this.GXValidFnc[120]={fld:"TABLE7",grid:0};this.GXValidFnc[123]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Caecod,isvalid:null,rgrid:[],fld:"CAECOD",gxz:"Z79CaeCod",gxold:"O79CaeCod",gxvar:"A79CaeCod",ucs:[],op:[125],ip:[125,123],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.setControlValue("CAECOD",gx.O.A79CaeCod,0)},c2v:function(){gx.O.A79CaeCod=this.val()},val:function(){return gx.fn.getIntegerValue("CAECOD",".")},nac:function(){return false}};this.GXValidFnc[125]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:1,grid:0,gxgrid:null,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.setControlValue("CAENOM",gx.O.A84CaeNom,0)},c2v:function(){gx.O.A84CaeNom=this.val()},val:function(){return gx.fn.getControlValue("CAENOM")},nac:function(){return false}};this.GXValidFnc[127]={fld:"TEXTBLOCK10",format:0,grid:0};this.GXValidFnc[129]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DVODATCADA",gxz:"Z307DvoDatCada",gxold:"O307DvoDatCada",gxvar:"A307DvoDatCada",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.A307DvoDatCada=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z307DvoDatCada=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("DVODATCADA",gx.O.A307DvoDatCada,0)},c2v:function(){gx.O.A307DvoDatCada=this.val()},val:function(){return gx.fn.getControlValue("DVODATCADA")},nac:function(){return false}};this.GXValidFnc[132]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[134]={lvl:0,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Dvonrotomb,isvalid:null,rgrid:[],fld:"DVONROTOMB",gxz:"Z315DvoNroTomb",gxold:"O315DvoNroTomb",gxvar:"A315DvoNroTomb",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A315DvoNroTomb=gx.num.intval(a)
},v2z:function(a){gx.O.Z315DvoNroTomb=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("DVONROTOMB",gx.O.A315DvoNroTomb,0)},c2v:function(){gx.O.A315DvoNroTomb=this.val()},val:function(){return gx.fn.getIntegerValue("DVONROTOMB",".")},nac:function(){return false}};this.GXValidFnc[136]={fld:"TEXTBLOCK29",format:0,grid:0};this.GXValidFnc[138]={fld:"TABLE2",grid:0};this.GXValidFnc[141]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Loccod,isvalid:null,rgrid:[],fld:"LOCCOD",gxz:"Z509LocCod",gxold:"O509LocCod",gxvar:"A509LocCod",ucs:[],op:[143],ip:[143,141,46],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A509LocCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z509LocCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("LOCCOD",gx.O.A509LocCod,0)},c2v:function(){gx.O.A509LocCod=this.val()},val:function(){return gx.fn.getIntegerValue("LOCCOD",".")},nac:function(){return false}};this.GXValidFnc[143]={lvl:0,type:"char",len:45,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"LOCNOM",gxz:"Z512LocNom",gxold:"O512LocNom",gxvar:"A512LocNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A512LocNom=a
},v2z:function(a){gx.O.Z512LocNom=a},v2c:function(){gx.fn.setControlValue("LOCNOM",gx.O.A512LocNom,0)},c2v:function(){gx.O.A512LocNom=this.val()},val:function(){return gx.fn.getControlValue("LOCNOM")},nac:function(){return false}};this.GXValidFnc[145]={fld:"TEXTBLOCK20",format:0,grid:0};this.GXValidFnc[147]={lvl:0,type:"char",len:12,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DVONROPATR",gxz:"Z1095DvoNroPatr",gxold:"O1095DvoNroPatr",gxvar:"A1095DvoNroPatr",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1095DvoNroPatr=a
},v2z:function(a){gx.O.Z1095DvoNroPatr=a},v2c:function(){gx.fn.setControlValue("DVONROPATR",gx.O.A1095DvoNroPatr,0)},c2v:function(){gx.O.A1095DvoNroPatr=this.val()},val:function(){return gx.fn.getControlValue("DVONROPATR")},nac:function(){return false}};this.GXValidFnc[150]={fld:"TEXTBLOCK13",format:0,grid:0};this.GXValidFnc[152]={lvl:0,type:"int",len:1,dec:0,sign:false,pic:"9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Dvoindsitu,isvalid:null,rgrid:[],fld:"DVOINDSITU",gxz:"Z313DvoIndSitu",gxold:"O313DvoIndSitu",gxvar:"A313DvoIndSitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A313DvoIndSitu=gx.num.intval(a)
},v2z:function(a){gx.O.Z313DvoIndSitu=gx.num.intval(a)},v2c:function(){gx.fn.setComboBoxValue("DVOINDSITU",gx.O.A313DvoIndSitu)},c2v:function(){gx.O.A313DvoIndSitu=this.val()},val:function(){return gx.fn.getIntegerValue("DVOINDSITU",".")},nac:function(){return false}};this.GXValidFnc[154]={fld:"TEXTBLOCK12",format:0,grid:0};this.GXValidFnc[156]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Dvodatbaix,isvalid:null,fld:"DVODATBAIX",gxz:"Z306DvoDatbaix",gxold:"O306DvoDatbaix",gxvar:"A306DvoDatbaix",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.A306DvoDatbaix=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z306DvoDatbaix=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("DVODATBAIX",gx.O.A306DvoDatbaix,0)},c2v:function(){gx.O.A306DvoDatbaix=this.val()},val:function(){return gx.fn.getControlValue("DVODATBAIX")},nac:function(){return false}};this.GXValidFnc[158]={fld:"TEXTBLOCK16",format:0,grid:0};this.GXValidFnc[160]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DVODESMOTI",gxz:"Z309DvoDesMoti",gxold:"O309DvoDesMoti",gxvar:"A309DvoDesMoti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A309DvoDesMoti=a
},v2z:function(a){gx.O.Z309DvoDesMoti=a},v2c:function(){gx.fn.setControlValue("DVODESMOTI",gx.O.A309DvoDesMoti,0)},c2v:function(){gx.O.A309DvoDesMoti=this.val()},val:function(){return gx.fn.getControlValue("DVODESMOTI")},nac:function(){return false}};this.GXValidFnc[163]={fld:"TEXTBLOCK23",format:0,grid:0};this.GXValidFnc[165]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"DVOCODUNID",gxz:"Z1114DvoCodUnid",gxold:"O1114DvoCodUnid",gxvar:"A1114DvoCodUnid",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1114DvoCodUnid=gx.num.intval(a)
},v2z:function(a){gx.O.Z1114DvoCodUnid=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("DVOCODUNID",gx.O.A1114DvoCodUnid,0)},c2v:function(){gx.O.A1114DvoCodUnid=this.val()},val:function(){return gx.fn.getIntegerValue("DVOCODUNID",".")},nac:function(){return false}};this.GXValidFnc[167]={fld:"TEXTBLOCK27",format:0,grid:0};this.GXValidFnc[169]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DVOTIPSITU",gxz:"Z1113DvoTipSitu",gxold:"O1113DvoTipSitu",gxvar:"A1113DvoTipSitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1113DvoTipSitu=a
},v2z:function(a){gx.O.Z1113DvoTipSitu=a},v2c:function(){gx.fn.setComboBoxValue("DVOTIPSITU",gx.O.A1113DvoTipSitu)},c2v:function(){gx.O.A1113DvoTipSitu=this.val()},val:function(){return gx.fn.getControlValue("DVOTIPSITU")},nac:function(){return false}};this.GXValidFnc[171]={fld:"TEXTBLOCK28",format:0,grid:0};this.GXValidFnc[173]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"DVOCODCATE",gxz:"Z1115DvoCodCate",gxold:"O1115DvoCodCate",gxvar:"A1115DvoCodCate",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1115DvoCodCate=gx.num.intval(a)
},v2z:function(a){gx.O.Z1115DvoCodCate=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("DVOCODCATE",gx.O.A1115DvoCodCate,0)},c2v:function(){gx.O.A1115DvoCodCate=this.val()},val:function(){return gx.fn.getIntegerValue("DVOCODCATE",".")},nac:function(){return false}};this.GXValidFnc[176]={fld:"TEXTBLOCK19",format:0,grid:0};this.GXValidFnc[178]={lvl:0,type:"vchar",len:36864,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DVODESVOLU",gxz:"Z310DvoDesVolu",gxold:"O310DvoDesVolu",gxvar:"A310DvoDesVolu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A310DvoDesVolu=a
},v2z:function(a){gx.O.Z310DvoDesVolu=a},v2c:function(){gx.fn.setControlValue("DVODESVOLU",gx.O.A310DvoDesVolu,0)},c2v:function(){gx.O.A310DvoDesVolu=this.val()},val:function(){return gx.fn.getControlValue("DVODESVOLU")},nac:function(){return false}};this.GXValidFnc[188]={fld:"TEXTBLOCK24",format:0,grid:0};this.GXValidFnc[196]={fld:"TEXTBLOCK25",format:0,grid:0};this.GXValidFnc[198]={fld:"TABLE9",grid:0};this.GXValidFnc[201]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDVONROTOMOTELA",gxz:"ZV51DvoNroTomoTela",gxold:"OV51DvoNroTomoTela",gxvar:"AV51DvoNroTomoTela",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV51DvoNroTomoTela=gx.num.intval(a)
},v2z:function(a){gx.O.ZV51DvoNroTomoTela=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDVONROTOMOTELA",gx.O.AV51DvoNroTomoTela,0)},c2v:function(){gx.O.AV51DvoNroTomoTela=this.val()},val:function(){return gx.fn.getIntegerValue("vDVONROTOMOTELA",".")},nac:function(){return false}};this.GXValidFnc[208]={fld:"TABLE8",grid:0};this.GXValidFnc[217]={fld:"PROMPT_79",grid:41};this.GXValidFnc[218]={fld:"PROMPT_509",grid:41};this.A258DocNro=0;this.Z258DocNro=0;this.O258DocNro=0;this.A922UndCod=0;
this.Z922UndCod=0;this.O922UndCod=0;this.A281DoeNroSequ=0;this.Z281DoeNroSequ=0;this.O281DoeNroSequ=0;this.A317DvoNroVolu=0;this.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.A316DvoNroTomo=0;this.Z316DvoNroTomo=0;this.O316DvoNroTomo=0;this.A863TidCod="";this.Z863TidCod="";this.O863TidCod="";this.A868TidDes="";this.Z868TidDes="";this.O868TidDes="";this.A872TidIndNroT="";this.Z872TidIndNroT="";this.O872TidIndNroT="";this.A222DitDatPubl=gx.date.nullDate();this.Z222DitDatPubl=gx.date.nullDate();this.O222DitDatPubl=gx.date.nullDate();
this.A220DitAnoEdic="";this.Z220DitAnoEdic="";this.O220DitAnoEdic="";this.A225DitNroVolu="";this.Z225DitNroVolu="";this.O225DitNroVolu="";this.A223DitNroEdic="";this.Z223DitNroEdic="";this.O223DitNroEdic="";this.A227DitValExte="";this.Z227DitValExte="";this.O227DitValExte="";this.A226DitTipFasc="";this.Z226DitTipFasc="";this.O226DitTipFasc="";this.A308DvoDatEfet=gx.date.nullDate();this.Z308DvoDatEfet=gx.date.nullDate();this.O308DvoDatEfet=gx.date.nullDate();this.A79CaeCod=0;this.Z79CaeCod=0;this.O79CaeCod=0;
this.A84CaeNom="";this.Z84CaeNom="";this.O84CaeNom="";this.A307DvoDatCada=gx.date.nullDate();this.Z307DvoDatCada=gx.date.nullDate();this.O307DvoDatCada=gx.date.nullDate();this.A315DvoNroTomb=0;this.Z315DvoNroTomb=0;this.O315DvoNroTomb=0;this.A509LocCod=0;this.Z509LocCod=0;this.O509LocCod=0;this.A512LocNom="";this.Z512LocNom="";this.O512LocNom="";this.A1095DvoNroPatr="";this.Z1095DvoNroPatr="";this.O1095DvoNroPatr="";this.A313DvoIndSitu=0;this.Z313DvoIndSitu=0;this.O313DvoIndSitu=0;this.A306DvoDatbaix=gx.date.nullDate();
this.Z306DvoDatbaix=gx.date.nullDate();this.O306DvoDatbaix=gx.date.nullDate();this.A309DvoDesMoti="";this.Z309DvoDesMoti="";this.O309DvoDesMoti="";this.A1114DvoCodUnid=0;this.Z1114DvoCodUnid=0;this.O1114DvoCodUnid=0;this.A1113DvoTipSitu="";this.Z1113DvoTipSitu="";this.O1113DvoTipSitu="";this.A1115DvoCodCate=0;this.Z1115DvoCodCate=0;this.O1115DvoCodCate=0;this.A310DvoDesVolu="";this.Z310DvoDesVolu="";this.O310DvoDesVolu="";this.AV51DvoNroTomoTela=0;this.ZV51DvoNroTomoTela=0;this.OV51DvoNroTomoTela=0;
this.AV32UsuCodCorr="";this.AV34UsuCodUnidDepositaria=0;this.AV35UsuTipAcesso="";this.AV36ParTipFormatoCatalogacao="";this.Gx_msg="";this.AV65IdItem="";this.AV46HstTipEntidade="";this.AV47HstTipOcorrencia="";this.AV45HstCodEstacao="";this.AV63IndAssumeTomboLivre="";this.AV52VncCodOrigem="";this.AV61IndAcessoPermitido="";this.AV62MsgErroPermissao="";this.AV16IndErro="";this.AV22Mensagem="";this.AV21IndMudou="";this.Gx_BScreen=0;this.Gx_date=gx.date.nullDate();this.A871TidIndModo="";this.A652PerNro=0;
this.A433ForCod=0;this.A280DoeNroAssi=0;this.A318DvoQtdReno=0;this.A269DoeCodCent="";this.A283DoeQtdReno=0;this.A319DvoTipFasc="";this.A314DvoNroEdic=0;this.A304DvoAnoEdic="";this.A311DvoIndFasc="";this.A305DvoCampo1L="";this.A224DitNroTomo="";this.A312DvoIndRote="";this.Gx_mode="";this.AV25TemErro="";this.ServerEvents=["e17452_client","e18452_client","e19452_client","e20452_client","e21452_client","e16452_client","e22452_client","e23452_client","e24452_client","e25452_client","e264541_client","e274541_client"];
this.setPrompt("PROMPT_79",[123]);this.setPrompt("PROMPT_509",[141]);this.EnterCtrl=["BUTTON1"];this.VarControlMap.Gx_date={id:"vTODAY",grid:0,type:"date"};this.VarControlMap.Gx_BScreen={id:"vGXBSCREEN",grid:0,type:"int"};this.VarControlMap.A312DvoIndRote={id:"DVOINDROTE",grid:0,type:"char"};this.VarControlMap.A311DvoIndFasc={id:"DVOINDFASC",grid:0,type:"char"};this.VarControlMap.AV32UsuCodCorr={id:"vUSUCODCORR",grid:0,type:"char"};this.VarControlMap.AV61IndAcessoPermitido={id:"vINDACESSOPERMITIDO",grid:0,type:"char"};
this.VarControlMap.AV62MsgErroPermissao={id:"vMSGERROPERMISSAO",grid:0,type:"char"};this.VarControlMap.Gx_msg={id:"vMSG",grid:0,type:"char"};this.VarControlMap.AV16IndErro={id:"vINDERRO",grid:0,type:"char"};this.VarControlMap.AV22Mensagem={id:"vMENSAGEM",grid:0,type:"char"};this.VarControlMap.AV21IndMudou={id:"vINDMUDOU",grid:0,type:"char"};this.VarControlMap.AV45HstCodEstacao={id:"vHSTCODESTACAO",grid:0,type:"char"};this.VarControlMap.AV46HstTipEntidade={id:"vHSTTIPENTIDADE",grid:0,type:"char"};
this.VarControlMap.AV63IndAssumeTomboLivre={id:"vINDASSUMETOMBOLIVRE",grid:0,type:"char"};this.VarControlMap.A318DvoQtdReno={id:"DVOQTDRENO",grid:0,type:"int"};this.VarControlMap.A319DvoTipFasc={id:"DVOTIPFASC",grid:0,type:"char"};this.VarControlMap.A314DvoNroEdic={id:"DVONROEDIC",grid:0,type:"int"};this.VarControlMap.A304DvoAnoEdic={id:"DVOANOEDIC",grid:0,type:"char"};this.VarControlMap.A305DvoCampo1L={id:"DVOCAMPO1L",grid:0,type:"char"};this.VarControlMap.A652PerNro={id:"PERNRO",grid:0,type:"int"};
this.VarControlMap.A871TidIndModo={id:"TIDINDMODO",grid:0,type:"char"};this.VarControlMap.A280DoeNroAssi={id:"DOENROASSI",grid:0,type:"int"};this.VarControlMap.A269DoeCodCent={id:"DOECODCENT",grid:0,type:"char"};this.VarControlMap.A283DoeQtdReno={id:"DOEQTDRENO",grid:0,type:"int"};this.VarControlMap.A433ForCod={id:"FORCOD",grid:0,type:"int"};this.VarControlMap.A224DitNroTomo={id:"DITNROTOMO",grid:0,type:"char"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.VarControlMap.AV25TemErro={id:"vTEMERRO",grid:0,type:"char"};
this.VarControlMap.AV52VncCodOrigem={id:"vVNCCODORIGEM",grid:0,type:"char"};this.SetStandaloneVars();this.LvlOlds[41]=["O79CaeCod","O315DvoNroTomb","O308DvoDatEfet","O313DvoIndSitu","O306DvoDatbaix"]}timt060.prototype=new gx.GxObject;gx.setParentObj(new timt060());