gx.evt.autoSkip=false;function timt051(){this.ServerClass="TImt051";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_BScreen=gx.fn.getIntegerValue("vGXBSCREEN",".");this.A254DocNomCong=gx.fn.getControlValue("DOCNOMCONG");this.AV75IndPodeModificar=gx.fn.getControlValue("vINDPODEMODIFICAR");this.A1066TidNroDocu=gx.fn.getIntegerValue("TIDNRODOCU",".");this.AV78ValCampo008Nulo=gx.fn.getControlValue("vVALCAMPO008NULO");this.AV56HstCodEstacao=gx.fn.getControlValue("vHSTCODESTACAO");
this.AV24UsuCodCorr=gx.fn.getControlValue("vUSUCODCORR");this.AV46HstTipEntidade=gx.fn.getControlValue("vHSTTIPENTIDADE");this.AV77IndEstiloCatalogacao=gx.fn.getIntegerValue("vINDESTILOCATALOGACAO",".");this.AV42CedNroArtigo=gx.fn.getIntegerValue("vCEDNROARTIGO",".");this.AV41CedNroItem=gx.fn.getIntegerValue("vCEDNROITEM",".");this.AV37DoeNroSeqAux=gx.fn.getIntegerValue("vDOENROSEQAUX",".");this.AV36UndCodAux=gx.fn.getIntegerValue("vUNDCODAUX",".");this.A234DocCodAssu=gx.fn.getControlValue("DOCCODASSU");
this.A235DocCodAuto=gx.fn.getControlValue("DOCCODAUTO");this.A256DocNomL1Au=gx.fn.getControlValue("DOCNOML1AU");this.A253DocNomAuto=gx.fn.getControlValue("DOCNOMAUTO");this.A240DocDesEqui=gx.fn.getControlValue("DOCDESEQUI");this.A249DocDesTitu=gx.fn.getControlValue("DOCDESTITU");this.A239DocDesEdic=gx.fn.getControlValue("DOCDESEDIC");this.A243DocDesLoca=gx.fn.getControlValue("DOCDESLOCA");this.A245DocDesPagi=gx.fn.getControlValue("DOCDESPAGI");this.A261DocNroVolu=gx.fn.getControlValue("DOCNROVOLU");
this.A259DocNroPubl=gx.fn.getControlValue("DOCNROPUBL");this.A264DocQtdVolu=gx.fn.getIntegerValue("DOCQTDVOLU",".");this.A241DocDesISBN=gx.fn.getControlValue("DOCDESISBN");this.A237DocDesBibl=gx.fn.getControlValue("DOCDESBIBL");this.A252DocNomApli=gx.fn.getControlValue("DOCNOMAPLI");this.A246DocDesPubl=gx.fn.getControlValue("DOCDESPUBL");this.A238DocDesCole=gx.fn.getControlValue("DOCDESCOLE");this.A233DocAnoPubl=gx.fn.getControlValue("DOCANOPUBL");this.A257DocNomSecA=gx.fn.getControlValue("DOCNOMSECA");
this.A248DocDesSecT=gx.fn.getControlValue("DOCDESSECT");this.A244DocDesNotG=gx.fn.getControlValue("DOCDESNOTG");this.A265DocTipClas=gx.fn.getControlValue("DOCTIPCLAS");this.A266DocTipRegi=gx.fn.getControlValue("DOCTIPREGI");this.A251DocIndRote=gx.fn.getControlValue("DOCINDROTE");this.A263DocQtdPosi=gx.fn.getIntegerValue("DOCQTDPOSI",".");this.A262DocQtdNega=gx.fn.getIntegerValue("DOCQTDNEGA",".");this.A250DocInd1=gx.fn.getControlValue("DOCIND1");this.A652PerNro=gx.fn.getIntegerValue("PERNRO",".");
this.A872TidIndNroT=gx.fn.getControlValue("TIDINDNROT");this.A482IdiDes=gx.fn.getControlValue("IDIDES");this.A643PerDesLong=gx.fn.getControlValue("PERDESLONG");this.Gx_date=gx.fn.getDateValue("vTODAY");this.AV49IndOrigem=gx.fn.getControlValue("vINDORIGEM");this.Gx_mode=gx.fn.getControlValue("vMODE");this.AV38DvoNroVolAux=gx.fn.getIntegerValue("vDVONROVOLAUX",".");this.AV58IndModeloApresentacao=gx.fn.getControlValue("vINDMODELOAPRESENTACAO");this.AV53TidIndModoPublicacao=gx.fn.getControlValue("vTIDINDMODOPUBLICACAO");
this.AV73NroArtigo=gx.fn.getIntegerValue("vNROARTIGO",".");this.AV72NroVolume=gx.fn.getIntegerValue("vNROVOLUME",".")};this.Valid_Docnro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Docnro",["gx.O.AV75IndPodeModificar","gx.O.AV41CedNroItem","gx.O.AV42CedNroArtigo","gx.O.AV36UndCodAux","gx.O.AV78ValCampo008Nulo","gx.O.AV77IndEstiloCatalogacao","gx.O.AV49IndOrigem","gx.O.A1058TidTipAcer","gx.O.A871TidIndModo","gx.O.A258DocNro","gx.O.A234DocCodAssu","gx.O.A235DocCodAuto","gx.O.A256DocNomL1Au","gx.O.A254DocNomCong","gx.O.A253DocNomAuto","gx.O.A242DocDesL1Ti","gx.O.A240DocDesEqui","gx.O.A249DocDesTitu","gx.O.A239DocDesEdic","gx.O.A243DocDesLoca","gx.O.A245DocDesPagi","gx.O.A261DocNroVolu","gx.O.A259DocNroPubl",'gx.date.urlDate(gx.O.A236DocDatInse,"DMY")',"gx.O.A264DocQtdVolu","gx.O.A241DocDesISBN","gx.O.A237DocDesBibl","gx.O.A252DocNomApli","gx.O.A246DocDesPubl","gx.O.A232DocAnoEdic","gx.O.A238DocDesCole","gx.O.A233DocAnoPubl","gx.O.A257DocNomSecA","gx.O.A248DocDesSecT","gx.O.A244DocDesNotG","gx.O.A265DocTipClas","gx.O.A266DocTipRegi","gx.O.A251DocIndRote","gx.O.A263DocQtdPosi","gx.O.A262DocQtdNega","gx.O.A250DocInd1","gx.O.A863TidCod","gx.O.A480IdiCod","gx.O.A652PerNro","gx.O.A4AcoNro","gx.O.A753SacNro"],["A863TidCod","A234DocCodAssu","A235DocCodAuto","A480IdiCod","A482IdiDes","A256DocNomL1Au","A254DocNomCong","A253DocNomAuto","A242DocDesL1Ti","A240DocDesEqui","A249DocDesTitu","A652PerNro","A643PerDesLong","A239DocDesEdic","A243DocDesLoca","A245DocDesPagi","A261DocNroVolu","A259DocNroPubl","A236DocDatInse","A264DocQtdVolu","A241DocDesISBN","A237DocDesBibl","A252DocNomApli","A246DocDesPubl","A232DocAnoEdic","A238DocDesCole","A233DocAnoPubl","A257DocNomSecA","A248DocDesSecT","A244DocDesNotG","A265DocTipClas","A266DocTipRegi","A753SacNro","A4AcoNro","A251DocIndRote","A263DocQtdPosi","A262DocQtdNega","A250DocInd1","A868TidDes","A872TidIndNroT","A871TidIndModo","A1058TidTipAcer","A1066TidNroDocu","A752SacNom","A3AcoDes","Gx_mode","Z258DocNro","Z863TidCod","Z234DocCodAssu","Z235DocCodAuto","Z480IdiCod","Z482IdiDes","Z256DocNomL1Au","Z254DocNomCong","Z253DocNomAuto","Z242DocDesL1Ti","Z240DocDesEqui","Z249DocDesTitu","Z652PerNro","Z643PerDesLong","Z239DocDesEdic","Z243DocDesLoca","Z245DocDesPagi","Z261DocNroVolu","Z259DocNroPubl","Z236DocDatInse","Z264DocQtdVolu","Z241DocDesISBN","Z237DocDesBibl","Z252DocNomApli","Z246DocDesPubl","Z232DocAnoEdic","Z238DocDesCole","Z233DocAnoPubl","Z257DocNomSecA","Z248DocDesSecT","Z244DocDesNotG","Z265DocTipClas","Z266DocTipRegi","Z753SacNro","Z4AcoNro","Z251DocIndRote","Z263DocQtdPosi","Z262DocQtdNega","Z250DocInd1","Z868TidDes","Z872TidIndNroT","Z871TidIndModo","Z1058TidTipAcer","Z1066TidNroDocu","Z752SacNom","Z3AcoDes",["BTN_ENTER1","Enabled"]]);
return true};this.Valid_Tidcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Tidcod",["gx.O.A863TidCod","gx.O.A868TidDes","gx.O.A872TidIndNroT","gx.O.A871TidIndModo","gx.O.A1058TidTipAcer","gx.O.A1066TidNroDocu"],["A868TidDes","A872TidIndNroT","A871TidIndModo","A1058TidTipAcer","A1066TidNroDocu"]);return true};this.Valid_Tidindmodo=function(){try{var a=gx.util.balloon.getNew("TIDINDMODO");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Aconro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Aconro",["gx.O.A4AcoNro","gx.O.A3AcoDes"],["A3AcoDes"]);
return true};this.Valid_Sacnro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Sacnro",["gx.O.A4AcoNro","gx.O.A753SacNro","gx.O.A752SacNom"],["A752SacNom"]);return true};this.Valid_Idicod=function(){try{var a=gx.util.balloon.getNew("IDICOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e183n5_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("timt081.aspx",[this.A258DocNro,0,"DOCUMENTOS",0,0,0,0]),["A258DocNro","","","","","",""]);
this.refreshOutputs([])};this.e393n5_client=function(){this.clearMessages();this.addMessage("Em desenvolvimento. Aguarde ...");this.refreshOutputs([])};this.e403n5_client=function(){this.clearMessages();this.addMessage("Em desenvolvimento. Aguarde ...");this.refreshOutputs([])};this.e413n5_client=function(){this.clearMessages();this.addMessage("Em desenvolvimento. Aguarde ...");this.refreshOutputs([])};this.e133n5_client=function(){this.clearMessages();this.AV38DvoNroVolAux=0;gx.popup.openUrl(gx.http.formatLink("himh048.aspx",[this.A258DocNro,this.AV38DvoNroVolAux]),["A258DocNro","AV38DvoNroVolAux"]);
this.refreshOutputs([{av:"AV38DvoNroVolAux",fld:"vDVONROVOLAUX"}])};this.e123n5_client=function(){this.clearMessages();this.AV46HstTipEntidade="D";gx.popup.openUrl(gx.http.formatLink("himh073.aspx",[this.AV46HstTipEntidade,this.A258DocNro]),["AV46HstTipEntidade","A258DocNro"]);this.refreshOutputs([{av:"AV46HstTipEntidade",fld:"vHSTTIPENTIDADE"}])};this.e173n5_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh148.aspx",[this.A258DocNro]),[]);this.refreshOutputs([])};this.e153n5_client=function(){this.clearMessages();
gx.popup.openUrl(gx.http.formatLink("habw112.aspx",["DOC"]),[]);this.refreshOutputs([])};this.e143n5_client=function(){this.clearMessages();this.AV72NroVolume=0;this.AV73NroArtigo=0;gx.popup.openUrl(gx.http.formatLink("hmih093.aspx",[this.A258DocNro,this.AV53TidIndModoPublicacao,0,this.AV58IndModeloApresentacao,this.AV72NroVolume,this.AV73NroArtigo,"O"]),["A258DocNro","AV53TidIndModoPublicacao","","AV58IndModeloApresentacao","AV72NroVolume","AV73NroArtigo"]);this.refreshOutputs([{av:"AV73NroArtigo",fld:"vNROARTIGO"},{av:"AV72NroVolume",fld:"vNROVOLUME"}])
};this.e113n5_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh222.aspx",[this.A258DocNro]),[]);this.refreshOutputs([])};this.e163n5_client=function(){this.clearMessages();if(!(0==this.A258DocNro)){gx.popup.openUrl(gx.http.formatLink("himh236.aspx",[this.A258DocNro]),[])}this.refreshOutputs([])};this.e203n2_client=function(){this.executeServerEvent("'EXEMPLARES'",false)};this.e213n2_client=function(){this.executeServerEvent("'GET PENSA-B'",false)};this.e223n2_client=function(){this.executeServerEvent("'ELIMINAR'",false)
};this.e233n2_client=function(){this.executeServerEvent("'ROTEAR'",false)};this.e243n2_client=function(){this.executeServerEvent("'REPLICAR'",false)};this.e253n2_client=function(){this.executeServerEvent("'RESERVAS'",false)};this.e263n2_client=function(){this.executeServerEvent("'REGISTRO MARC'",false)};this.e273n2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e283n2_client=function(){this.executeServerEvent("'PRIMEIRO REGISTRO'",false)};this.e293n2_client=function(){this.executeServerEvent("'PROXIMO REGISTRO'",false)
};this.e303n2_client=function(){this.executeServerEvent("'ULTIMO REGISTRO'",false)};this.e313n2_client=function(){this.executeServerEvent("'REGISTRO ANTERIOR'",false)};this.e323n2_client=function(){this.executeServerEvent("'DOCUMENTOS'",false)};this.e333n2_client=function(){this.executeServerEvent("'NOVO DOCUMENTO'",false)};this.e343n2_client=function(){this.executeServerEvent("'PROXIMO DOCUMENTO LIVRE'",false)};this.e353n2_client=function(){this.executeServerEvent("'COMENTARIOS'",false)};this.e363n2_client=function(){this.executeServerEvent("'REVISAR'",false)
};this.e373n2_client=function(){this.executeServerEvent("'LISTAVINCULOS'",true)};this.e383n2_client=function(){this.executeServerEvent("'OAI-PMH'",false)};this.e423n5_client=function(){this.executeServerEvent("ENTER",true)};this.e433n5_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,24,33,41,43,46,49,51,54,56,60,63,65,68,70,72,74,77,79,82,84,85,88,90,91,94,96,99,101,104,106,110,112,135,137,139,140,141];this.GXLastCtrlId=141;this.GXValidFnc[3]={fld:"TABLE3",grid:0};
this.GXValidFnc[24]={fld:"IMAGE1",grid:0};this.GXValidFnc[33]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOCNRO",gxz:"ZV17DocNro",gxold:"OV17DocNro",gxvar:"AV17DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV17DocNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV17DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOCNRO",gx.O.AV17DocNro,0)},c2v:function(){gx.O.AV17DocNro=this.val()},val:function(){return gx.fn.getIntegerValue("vDOCNRO",".")
},nac:function(){return false}};this.GXValidFnc[41]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[43]={fld:"TABLE1",grid:0};this.GXValidFnc[46]={fld:"TABLE2",grid:0};this.GXValidFnc[49]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[51]={fld:"TABLE4",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_Docnro,isvalid:null,rgrid:[],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[90,84,106,68,101,79,110],ip:[90,84,106,68,101,79,110,54],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[56]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCREVISAR",gxz:"ZV66DscRevisar",gxold:"OV66DscRevisar",gxvar:"AV66DscRevisar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV66DscRevisar=a
},v2z:function(a){gx.O.ZV66DscRevisar=a},v2c:function(){gx.fn.setControlValue("vDSCREVISAR",gx.O.AV66DscRevisar,0)},c2v:function(){gx.O.AV66DscRevisar=this.val()},val:function(){return gx.fn.getControlValue("vDSCREVISAR")},nac:function(){return false}};this.GXValidFnc[60]={fld:"QTDVINCULOS",format:0,grid:0};this.GXValidFnc[63]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[65]={fld:"TABLE6",grid:0};this.GXValidFnc[68]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Tidcod,isvalid:null,fld:"TIDCOD",gxz:"Z863TidCod",gxold:"O863TidCod",gxvar:"A863TidCod",ucs:[],op:[74,72,70],ip:[74,72,70,68],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[70]={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[72]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Tidindmodo,isvalid:null,fld:"TIDINDMODO",gxz:"Z871TidIndModo",gxold:"O871TidIndModo",gxvar:"A871TidIndModo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A871TidIndModo=a},v2z:function(a){gx.O.Z871TidIndModo=a
},v2c:function(){gx.fn.setComboBoxValue("TIDINDMODO",gx.O.A871TidIndModo)},c2v:function(){gx.O.A871TidIndModo=this.val()},val:function(){return gx.fn.getControlValue("TIDINDMODO")},nac:function(){return false}};this.GXValidFnc[74]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"TIDTIPACER",gxz:"Z1058TidTipAcer",gxold:"O1058TidTipAcer",gxvar:"A1058TidTipAcer",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1058TidTipAcer=a},v2z:function(a){gx.O.Z1058TidTipAcer=a
},v2c:function(){gx.fn.setComboBoxValue("TIDTIPACER",gx.O.A1058TidTipAcer)},c2v:function(){gx.O.A1058TidTipAcer=this.val()},val:function(){return gx.fn.getControlValue("TIDTIPACER")},nac:function(){return false}};this.GXValidFnc[77]={fld:"TEXTBLOCK23",format:0,grid:0};this.GXValidFnc[79]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DOCDATINSE",gxz:"Z236DocDatInse",gxold:"O236DocDatInse",gxvar:"A236DocDatInse",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.A236DocDatInse=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z236DocDatInse=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("DOCDATINSE",gx.O.A236DocDatInse,0)},c2v:function(){gx.O.A236DocDatInse=this.val()},val:function(){return gx.fn.getControlValue("DOCDATINSE")},nac:function(){return false}};this.GXValidFnc[82]={fld:"TEXTBLOCK41",format:0,grid:0};this.GXValidFnc[84]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Aconro,isvalid:null,rgrid:[],fld:"ACONRO",gxz:"Z4AcoNro",gxold:"O4AcoNro",gxvar:"A4AcoNro",ucs:[],op:[85],ip:[85,84],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A4AcoNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z4AcoNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("ACONRO",gx.O.A4AcoNro,0)},c2v:function(){gx.O.A4AcoNro=this.val()},val:function(){return gx.fn.getIntegerValue("ACONRO",".")},nac:function(){return false}};this.GXValidFnc[85]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"ACODES",gxz:"Z3AcoDes",gxold:"O3AcoDes",gxvar:"A3AcoDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A3AcoDes=a},v2z:function(a){gx.O.Z3AcoDes=a
},v2c:function(){gx.fn.setControlValue("ACODES",gx.O.A3AcoDes,0)},c2v:function(){gx.O.A3AcoDes=this.val()},val:function(){return gx.fn.getControlValue("ACODES")},nac:function(){return false}};this.GXValidFnc[88]={fld:"TEXTBLOCK39",format:0,grid:0};this.GXValidFnc[90]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Sacnro,isvalid:null,rgrid:[],fld:"SACNRO",gxz:"Z753SacNro",gxold:"O753SacNro",gxvar:"A753SacNro",ucs:[],op:[91],ip:[91,90,84],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A753SacNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z753SacNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("SACNRO",gx.O.A753SacNro,0)},c2v:function(){gx.O.A753SacNro=this.val()},val:function(){return gx.fn.getIntegerValue("SACNRO",".")},nac:function(){return false}};this.GXValidFnc[91]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"SACNOM",gxz:"Z752SacNom",gxold:"O752SacNom",gxvar:"A752SacNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A752SacNom=a
},v2z:function(a){gx.O.Z752SacNom=a},v2c:function(){gx.fn.setControlValue("SACNOM",gx.O.A752SacNom,0)},c2v:function(){gx.O.A752SacNom=this.val()},val:function(){return gx.fn.getControlValue("SACNOM")},nac:function(){return false}};this.GXValidFnc[94]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[96]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCCHAMADA",gxz:"ZV76DscChamada",gxold:"OV76DscChamada",gxvar:"AV76DscChamada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV76DscChamada=a
},v2z:function(a){gx.O.ZV76DscChamada=a},v2c:function(){gx.fn.setControlValue("vDSCCHAMADA",gx.O.AV76DscChamada,0)},c2v:function(){gx.O.AV76DscChamada=this.val()},val:function(){return gx.fn.getControlValue("vDSCCHAMADA")},nac:function(){return false}};this.GXValidFnc[99]={fld:"TEXTBLOCK29",format:0,grid:0};this.GXValidFnc[101]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"DOCANOEDIC",gxz:"Z232DocAnoEdic",gxold:"O232DocAnoEdic",gxvar:"A232DocAnoEdic",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A232DocAnoEdic=gx.num.intval(a)
},v2z:function(a){gx.O.Z232DocAnoEdic=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("DOCANOEDIC",gx.O.A232DocAnoEdic,0)},c2v:function(){gx.O.A232DocAnoEdic=this.val()},val:function(){return gx.fn.getIntegerValue("DOCANOEDIC",".")},nac:function(){return false}};this.GXValidFnc[104]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[106]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Idicod,isvalid:null,fld:"IDICOD",gxz:"Z480IdiCod",gxold:"O480IdiCod",gxvar:"A480IdiCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A480IdiCod=a
},v2z:function(a){gx.O.Z480IdiCod=a},v2c:function(){gx.fn.setControlValue("IDICOD",gx.O.A480IdiCod,0)},c2v:function(){gx.O.A480IdiCod=this.val()},val:function(){return gx.fn.getControlValue("IDICOD")},nac:function(){return false}};this.GXValidFnc[110]={lvl:0,type:"char",len:250,dec:0,sign:false,ro:1,grid:0,gxgrid:null,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.setControlValue("DOCDESL1TI",gx.O.A242DocDesL1Ti,0)},c2v:function(){gx.O.A242DocDesL1Ti=this.val()},val:function(){return gx.fn.getControlValue("DOCDESL1TI")},nac:function(){return false}};this.GXValidFnc[112]={fld:"TABLE5",grid:0};this.GXValidFnc[135]={fld:"TXT_ESPECIFICACAO",format:0,grid:0};this.GXValidFnc[137]={fld:"TXTDOCLIVRES",format:0,grid:0};this.GXValidFnc[139]={fld:"PROMPT_863",grid:5};this.GXValidFnc[140]={fld:"PROMPT_4",grid:5};
this.GXValidFnc[141]={fld:"PROMPT_753",grid:5};this.AV17DocNro=0;this.ZV17DocNro=0;this.OV17DocNro=0;this.A258DocNro=0;this.Z258DocNro=0;this.O258DocNro=0;this.AV66DscRevisar="";this.ZV66DscRevisar="";this.OV66DscRevisar="";this.A863TidCod="";this.Z863TidCod="";this.O863TidCod="";this.A868TidDes="";this.Z868TidDes="";this.O868TidDes="";this.A871TidIndModo="";this.Z871TidIndModo="";this.O871TidIndModo="";this.A1058TidTipAcer="";this.Z1058TidTipAcer="";this.O1058TidTipAcer="";this.A236DocDatInse=gx.date.nullDate();
this.Z236DocDatInse=gx.date.nullDate();this.O236DocDatInse=gx.date.nullDate();this.A4AcoNro=0;this.Z4AcoNro=0;this.O4AcoNro=0;this.A3AcoDes="";this.Z3AcoDes="";this.O3AcoDes="";this.A753SacNro=0;this.Z753SacNro=0;this.O753SacNro=0;this.A752SacNom="";this.Z752SacNom="";this.O752SacNom="";this.AV76DscChamada="";this.ZV76DscChamada="";this.OV76DscChamada="";this.A232DocAnoEdic=0;this.Z232DocAnoEdic=0;this.O232DocAnoEdic=0;this.A480IdiCod="";this.Z480IdiCod="";this.O480IdiCod="";this.A242DocDesL1Ti="";
this.Z242DocDesL1Ti="";this.O242DocDesL1Ti="";this.AV24UsuCodCorr="";this.AV75IndPodeModificar="";this.AV41CedNroItem=0;this.AV42CedNroArtigo=0;this.AV36UndCodAux=0;this.AV55DoeNroSequenciaAux=0;this.AV78ValCampo008Nulo="";this.AV46HstTipEntidade="";this.AV57IpStation="";this.AV56HstCodEstacao="";this.AV77IndEstiloCatalogacao=0;this.AV65DocIndRevisar="";this.AV58IndModeloApresentacao="";this.AV53TidIndModoPublicacao="";this.AV49IndOrigem="";this.AV50Orig="";this.AV54VncCodOrigem="";this.AV71DatCadastramentoInicial=gx.date.nullDate();
this.AV70DatCadastramentoFinal=gx.date.nullDate();this.AV62QtdVinculos=0;this.AV63DscQtdVinculos="";this.AV44TemErro="";this.AV37DoeNroSeqAux=0;this.Gx_date=gx.date.nullDate();this.Gx_BScreen=0;this.A872TidIndNroT="";this.A1066TidNroDocu=0;this.A234DocCodAssu="";this.A235DocCodAuto="";this.A482IdiDes="";this.A256DocNomL1Au="";this.A254DocNomCong="";this.A253DocNomAuto="";this.A240DocDesEqui="";this.A249DocDesTitu="";this.A652PerNro=0;this.A643PerDesLong="";this.A239DocDesEdic="";this.A243DocDesLoca="";
this.A245DocDesPagi="";this.A261DocNroVolu="";this.A259DocNroPubl="";this.A264DocQtdVolu=0;this.A241DocDesISBN="";this.A237DocDesBibl="";this.A252DocNomApli="";this.A246DocDesPubl="";this.A238DocDesCole="";this.A233DocAnoPubl="";this.A257DocNomSecA="";this.A248DocDesSecT="";this.A244DocDesNotG="";this.A265DocTipClas="";this.A266DocTipRegi="";this.A251DocIndRote="";this.A263DocQtdPosi=0;this.A262DocQtdNega=0;this.A250DocInd1="";this.AV38DvoNroVolAux=0;this.AV73NroArtigo=0;this.AV72NroVolume=0;this.ServerEvents=["e203n2_client","e213n2_client","e223n2_client","e233n2_client","e243n2_client","e253n2_client","e263n2_client","e273n2_client","e283n2_client","e293n2_client","e303n2_client","e313n2_client","e323n2_client","e333n2_client","e343n2_client","e353n2_client","e363n2_client","e373n2_client","e383n2_client","e423n5_client","e433n5_client"];
this.setPrompt("PROMPT_863",[68]);this.setPrompt("PROMPT_4",[84]);this.setPrompt("PROMPT_753",[90]);this.EnterCtrl=["BTN_ENTER1"];this.VarControlMap.Gx_BScreen={id:"vGXBSCREEN",grid:0,type:"int"};this.VarControlMap.A254DocNomCong={id:"DOCNOMCONG",grid:0,type:"char"};this.VarControlMap.AV75IndPodeModificar={id:"vINDPODEMODIFICAR",grid:0,type:"char"};this.VarControlMap.A1066TidNroDocu={id:"TIDNRODOCU",grid:0,type:"int"};this.VarControlMap.AV78ValCampo008Nulo={id:"vVALCAMPO008NULO",grid:0,type:"char"};
this.VarControlMap.AV56HstCodEstacao={id:"vHSTCODESTACAO",grid:0,type:"char"};this.VarControlMap.AV24UsuCodCorr={id:"vUSUCODCORR",grid:0,type:"char"};this.VarControlMap.AV46HstTipEntidade={id:"vHSTTIPENTIDADE",grid:0,type:"char"};this.VarControlMap.AV77IndEstiloCatalogacao={id:"vINDESTILOCATALOGACAO",grid:0,type:"int"};this.VarControlMap.AV42CedNroArtigo={id:"vCEDNROARTIGO",grid:0,type:"int"};this.VarControlMap.AV41CedNroItem={id:"vCEDNROITEM",grid:0,type:"int"};this.VarControlMap.AV37DoeNroSeqAux={id:"vDOENROSEQAUX",grid:0,type:"int"};
this.VarControlMap.AV36UndCodAux={id:"vUNDCODAUX",grid:0,type:"int"};this.VarControlMap.A234DocCodAssu={id:"DOCCODASSU",grid:0,type:"char"};this.VarControlMap.A235DocCodAuto={id:"DOCCODAUTO",grid:0,type:"char"};this.VarControlMap.A256DocNomL1Au={id:"DOCNOML1AU",grid:0,type:"char"};this.VarControlMap.A253DocNomAuto={id:"DOCNOMAUTO",grid:0,type:"char"};this.VarControlMap.A240DocDesEqui={id:"DOCDESEQUI",grid:0,type:"char"};this.VarControlMap.A249DocDesTitu={id:"DOCDESTITU",grid:0,type:"char"};this.VarControlMap.A239DocDesEdic={id:"DOCDESEDIC",grid:0,type:"char"};
this.VarControlMap.A243DocDesLoca={id:"DOCDESLOCA",grid:0,type:"char"};this.VarControlMap.A245DocDesPagi={id:"DOCDESPAGI",grid:0,type:"char"};this.VarControlMap.A261DocNroVolu={id:"DOCNROVOLU",grid:0,type:"char"};this.VarControlMap.A259DocNroPubl={id:"DOCNROPUBL",grid:0,type:"char"};this.VarControlMap.A264DocQtdVolu={id:"DOCQTDVOLU",grid:0,type:"int"};this.VarControlMap.A241DocDesISBN={id:"DOCDESISBN",grid:0,type:"char"};this.VarControlMap.A237DocDesBibl={id:"DOCDESBIBL",grid:0,type:"char"};this.VarControlMap.A252DocNomApli={id:"DOCNOMAPLI",grid:0,type:"char"};
this.VarControlMap.A246DocDesPubl={id:"DOCDESPUBL",grid:0,type:"char"};this.VarControlMap.A238DocDesCole={id:"DOCDESCOLE",grid:0,type:"char"};this.VarControlMap.A233DocAnoPubl={id:"DOCANOPUBL",grid:0,type:"char"};this.VarControlMap.A257DocNomSecA={id:"DOCNOMSECA",grid:0,type:"char"};this.VarControlMap.A248DocDesSecT={id:"DOCDESSECT",grid:0,type:"char"};this.VarControlMap.A244DocDesNotG={id:"DOCDESNOTG",grid:0,type:"char"};this.VarControlMap.A265DocTipClas={id:"DOCTIPCLAS",grid:0,type:"char"};this.VarControlMap.A266DocTipRegi={id:"DOCTIPREGI",grid:0,type:"char"};
this.VarControlMap.A251DocIndRote={id:"DOCINDROTE",grid:0,type:"char"};this.VarControlMap.A263DocQtdPosi={id:"DOCQTDPOSI",grid:0,type:"int"};this.VarControlMap.A262DocQtdNega={id:"DOCQTDNEGA",grid:0,type:"int"};this.VarControlMap.A250DocInd1={id:"DOCIND1",grid:0,type:"char"};this.VarControlMap.A652PerNro={id:"PERNRO",grid:0,type:"int"};this.VarControlMap.A872TidIndNroT={id:"TIDINDNROT",grid:0,type:"char"};this.VarControlMap.A482IdiDes={id:"IDIDES",grid:0,type:"char"};this.VarControlMap.A643PerDesLong={id:"PERDESLONG",grid:0,type:"char"};
this.VarControlMap.Gx_date={id:"vTODAY",grid:0,type:"date"};this.VarControlMap.AV49IndOrigem={id:"vINDORIGEM",grid:0,type:"char"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.VarControlMap.AV38DvoNroVolAux={id:"vDVONROVOLAUX",grid:0,type:"int"};this.VarControlMap.AV58IndModeloApresentacao={id:"vINDMODELOAPRESENTACAO",grid:0,type:"char"};this.VarControlMap.AV53TidIndModoPublicacao={id:"vTIDINDMODOPUBLICACAO",grid:0,type:"char"};this.VarControlMap.AV73NroArtigo={id:"vNROARTIGO",grid:0,type:"int"};
this.VarControlMap.AV72NroVolume={id:"vNROVOLUME",grid:0,type:"int"};this.SetStandaloneVars()}timt051.prototype=new gx.GxObject;gx.setParentObj(new timt051());