gx.evt.autoSkip=false;function timt063(){this.ServerClass="TImt063";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.addKeyListener("5","e133g2_client");this.SetStandaloneVars=function(){this.Gx_BScreen=gx.fn.getIntegerValue("vGXBSCREEN",".");this.AV33UsuCodCorr=gx.fn.getControlValue("vUSUCODCORR");this.AV70IndAcessoPermitido=gx.fn.getControlValue("vINDACESSOPERMITIDO");this.AV71MsgErroPermissao=gx.fn.getControlValue("vMSGERROPERMISSAO");this.A271DoeDatAqui=gx.fn.getDateValue("DOEDATAQUI");
this.A277DoeDesMoti=gx.fn.getControlValue("DOEDESMOTI");this.A269DoeCodCent=gx.fn.getControlValue("DOECODCENT");this.A283DoeQtdReno=gx.fn.getIntegerValue("DOEQTDRENO",".");this.A279DoeIndNovo=gx.fn.getControlValue("DOEINDNOVO");this.A267DoeCampo1L=gx.fn.getControlValue("DOECAMPO1L");this.A234DocCodAssu=gx.fn.getControlValue("DOCCODASSU");this.A264DocQtdVolu=gx.fn.getIntegerValue("DOCQTDVOLU",".");this.A863TidCod=gx.fn.getControlValue("TIDCOD");this.A868TidDes=gx.fn.getControlValue("TIDDES");this.A872TidIndNroT=gx.fn.getControlValue("TIDINDNROT");
this.A925UndNomComp=gx.fn.getControlValue("UNDNOMCOMP");this.A926UndNomSigl=gx.fn.getControlValue("UNDNOMSIGL");this.A900TpaDes=gx.fn.getControlValue("TPADES");this.Gx_date=gx.fn.getDateValue("vTODAY");this.Gx_mode=gx.fn.getControlValue("vMODE");this.A311DvoIndFasc=gx.fn.getControlValue("DVOINDFASC");this.AV37LocCodAnt=gx.fn.getIntegerValue("vLOCCODANT",".");this.AV23IndEmprest=gx.fn.getControlValue("vINDEMPREST");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.AV38IndErroLocal=gx.fn.getControlValue("vINDERROLOCAL");this.AV35IndVincLocal=gx.fn.getControlValue("vINDVINCLOCAL");this.AV45HstCodEstacao=gx.fn.getControlValue("vHSTCODESTACAO");this.AV44HstCodEntidade=gx.fn.getIntegerValue("vHSTCODENTIDADE",".");this.AV46HstTipEntidade=gx.fn.getControlValue("vHSTTIPENTIDADE");this.A318DvoQtdReno=gx.fn.getIntegerValue("DVOQTDRENO",".");this.A1106DvoInd2=gx.fn.getControlValue("DVOIND2");
this.A1101SteNroSequ=gx.fn.getIntegerValue("STENROSEQU",".");this.A222DitDatPubl=gx.fn.getDateValue("DITDATPUBL");this.A84CaeNom=gx.fn.getControlValue("CAENOM");this.AV62VncCodOrigem=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(){gx.ajax.validSrvEvt("dyncall","valid_Doenrosequ",["gx.O.AV33UsuCodCorr","gx.O.Gx_msg","gx.O.AV72IndAssumeTomboLivre","gx.O.A258DocNro","gx.O.A922UndCod","gx.O.A281DoeNroSequ",'gx.date.urlDate(gx.O.A271DoeDatAqui,"DMY")','gx.date.urlDate(gx.O.A272DoeDatBaix,"DMY")',"gx.O.A277DoeDesMoti","gx.O.A96DoeValor","gx.O.A276DoeDesMoed","gx.O.A278DoeDesObse",'gx.date.urlDate(gx.O.A273DoeDatLimi,"DMY")','gx.date.urlDate(gx.O.A275DoeDatVali,"DMY")',"gx.O.A270DoeCodProp","gx.O.A269DoeCodCent","gx.O.A283DoeQtdReno","gx.O.A279DoeIndNovo","gx.O.A267DoeCampo1L","gx.O.A899TpaCod","gx.O.A433ForCod"],["A234DocCodAssu","A264DocQtdVolu","A863TidCod","A868TidDes","A872TidIndNroT","A925UndNomComp","A926UndNomSigl","A271DoeDatAqui","A272DoeDatBaix","A277DoeDesMoti","A96DoeValor","A276DoeDesMoed","A278DoeDesObse","A433ForCod","A273DoeDatLimi","A275DoeDatVali","A270DoeCodProp","A269DoeCodCent","A283DoeQtdReno","A279DoeIndNovo","A267DoeCampo1L","A899TpaCod","A444ForNomComp","A900TpaDes","A1013TpaDsc","Gx_mode","Z258DocNro","Z922UndCod","Z281DoeNroSequ","Z234DocCodAssu","Z264DocQtdVolu","Z863TidCod","Z868TidDes","Z872TidIndNroT","Z925UndNomComp","Z926UndNomSigl","Z271DoeDatAqui","Z272DoeDatBaix","Z277DoeDesMoti","Z96DoeValor","Z276DoeDesMoed","Z278DoeDesObse","Z433ForCod","Z273DoeDatLimi","Z275DoeDatVali","Z270DoeCodProp","Z269DoeCodCent","Z283DoeQtdReno","Z279DoeIndNovo","Z267DoeCampo1L","Z899TpaCod","Z444ForNomComp","Z900TpaDes","Z1013TpaDsc","Grid2",["BUTTON1","Enabled"]]);
return true};this.Validv_Indassumetombolivre=function(){try{var a=gx.util.balloon.getNew("vINDASSUMETOMBOLIVRE");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Tpacod=function(){gx.ajax.validSrvEvt("dyncall","valid_Tpacod",["gx.O.A899TpaCod","gx.O.A900TpaDes","gx.O.A1013TpaDsc"],["A900TpaDes","A1013TpaDsc"]);return true};this.Valid_Forcod=function(){gx.ajax.validSrvEvt("dyncall","valid_Forcod",["gx.O.A433ForCod","gx.O.A444ForNomComp"],["A444ForNomComp"]);
return true};this.Valid_Dvonrovolu=function(){this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,138);this.standaloneModal3G41();this.standaloneNotModal3G41();gx.ajax.validSrvEvt("dyncall","valid_Dvonrovolu",["gx.O.A315DvoNroTomb","gx.O.AV35IndVincLocal","gx.O.AV22Mensagem","gx.O.AV38IndErroLocal","gx.O.A509LocCod","gx.O.AV33UsuCodCorr","gx.O.A258DocNro","gx.O.A317DvoNroVolu","gx.O.A225DitNroVolu","gx.O.A224DitNroTomo","gx.O.A227DitValExte",'gx.date.urlDate(gx.O.A222DitDatPubl,"DMY")'],["A225DitNroVolu","A224DitNroTomo","A227DitValExte","A222DitDatPubl",["AV50ImgEdtItem","Link"],"AV33UsuCodCorr","A509LocCod","A509LocCod","AV38IndErroLocal","AV22Mensagem"]);
this.Gx_mode=this.sMode41;return true};this.Valid_Dvonrotomo=function(){try{if(gx.fn.currentGridRowImpl(138)===0){return true}var a=gx.util.balloon.getNew("DVONROTOMO",gx.fn.currentGridRowImpl(138));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,138);if(gx.fn.gridDuplicateKey(140)){a.setError(gx.text.format(gx.getMessage("GXM_1004"),"Level1"));this.AnyError=1}}catch(b){}try{this.Gx_mode=this.sMode41;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvonrotomb=function(){try{if(gx.fn.currentGridRowImpl(138)===0){return true
}var a=gx.util.balloon.getNew("DVONROTOMB",gx.fn.currentGridRowImpl(138));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,138)}catch(b){}try{this.Gx_mode=this.sMode41;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvodatcada=function(){try{if(gx.fn.currentGridRowImpl(138)===0){return true}var a=gx.util.balloon.getNew("DVODATCADA",gx.fn.currentGridRowImpl(138));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,138)
}catch(b){}try{this.Gx_mode=this.sMode41;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvodatefet=function(){try{if(gx.fn.currentGridRowImpl(138)===0){return true}var a=gx.util.balloon.getNew("DVODATEFET",gx.fn.currentGridRowImpl(138));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,138)}catch(b){}try{this.Gx_mode=this.sMode41;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Caecod=function(){this.sMode41=this.Gx_mode;
this.Gx_mode=gx.fn.getGridRowMode(41,138);gx.ajax.validSrvEvt("dyncall","valid_Caecod",["gx.O.A79CaeCod","gx.O.A84CaeNom"],["A84CaeNom"]);this.Gx_mode=this.sMode41;return true};this.Valid_Dvodatbaix=function(){try{if(gx.fn.currentGridRowImpl(138)===0){return true}var a=gx.util.balloon.getNew("DVODATBAIX",gx.fn.currentGridRowImpl(138));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,138)}catch(b){}try{this.Gx_mode=this.sMode41;if(a==null){return true}return a.show()}catch(b){}return true
};this.Valid_Loccod=function(){this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,138);gx.ajax.validSrvEvt("dyncall","valid_Loccod",["gx.O.AV35IndVincLocal","gx.O.AV22Mensagem","gx.O.O509LocCod","gx.O.A922UndCod","gx.O.A509LocCod","gx.O.A512LocNom","gx.O.AV37LocCodAnt","gx.O.AV38IndErroLocal","gx.O.AV33UsuCodCorr"],["A512LocNom","AV33UsuCodCorr","A509LocCod","AV37LocCodAnt","AV38IndErroLocal","AV22Mensagem"]);this.Gx_mode=this.sMode41;return true};this.Valid_Dvodesmoti=function(){try{if(gx.fn.currentGridRowImpl(138)===0){return true
}var a=gx.util.balloon.getNew("DVODESMOTI",gx.fn.currentGridRowImpl(138));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,138)}catch(b){}try{this.Gx_mode=this.sMode41;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvodesvolu=function(){try{if(gx.fn.currentGridRowImpl(138)===0){return true}var a=gx.util.balloon.getNew("DVODESVOLU",gx.fn.currentGridRowImpl(138));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,138);
if(this.Gx_mode=="UPD"){gx.SetOld("LOCCOD","O509LocCod","A509LocCod")}}catch(b){}try{this.Gx_mode=this.sMode41;if(a==null){return true}return a.show()}catch(b){}return true};this.standaloneModal3G41=function(){try{if((this.Gx_mode=="INS")){this.A316DvoNroTomo=0}}catch(a){}try{if((this.Gx_mode=="INS")&&(new gx.date.gxdate("").compare(this.A308DvoDatEfet)==0)&&this.Gx_BScreen==0){this.A308DvoDatEfet=this.Gx_date}}catch(a){}try{if((this.Gx_mode=="INS")&&(""==this.A311DvoIndFasc)&&this.Gx_BScreen==0){this.A311DvoIndFasc="S"
}}catch(a){}try{if((this.Gx_mode=="INS")&&(new gx.date.gxdate("").compare(this.A307DvoDatCada)==0)&&this.Gx_BScreen==0){this.A307DvoDatCada=this.Gx_date}}catch(a){}try{if((this.Gx_mode=="INS")&&(0==this.A79CaeCod)&&this.Gx_BScreen==0){this.A79CaeCod=E79CaeCod}}catch(a){}try{if(this.AnyError==0){gx.ajax.loadCrl("gxLoad_54",new Array("A1101SteNroSequ"),new Array());if(GXLastAjaxSt==101){if(!((0==this.A1101SteNroSequ))){gxballoon.setError("Não existe 'Situação dos exemplares'.");this.AnyError=1}}else{}}}catch(a){}try{if(this.Gx_mode!="INS"){gx.fn.setCtrlProperty("DVONROVOLU","Enabled",0)
}else{gx.fn.setCtrlProperty("DVONROVOLU","Enabled",1)}}catch(a){}return true};this.standaloneNotModal3G41=function(){try{gx.fn.setCtrlProperty("DVONROTOMO","Enabled",0)}catch(a){}try{gx.fn.setCtrlProperty("DVODATCADA","Enabled",0)}catch(a){}return true};this.e113g45_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh174",[this.AV62VncCodOrigem]),["AV62VncCodOrigem"]);this.refreshOutputs([])};this.e143g2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e133g2_client=function(){this.executeServerEvent("'REGISTRO MARC'",false)
};this.e153g2_client=function(){this.executeServerEvent("'APAGA EXEMPLAR'",false)};this.e163g2_client=function(){this.executeServerEvent("'APAGA ITEM'",false)};this.e173g2_client=function(){this.executeServerEvent("'INSERçãO EM LOTE'",false)};this.e183g2_client=function(){this.executeServerEvent("'REPLICAR EXEMPLAR'",false)};this.e193g2_client=function(){this.executeServerEvent("'CENTROS DE CUSTO'",false)};this.e203g2_client=function(){this.executeServerEvent("'RELACIONAMENTO ACADêMICO'",false)};
this.e213g2_client=function(){this.executeServerEvent("'PRIMEIRO'",false)};this.e223g2_client=function(){this.executeServerEvent("'PROXIMO'",false)};this.e233g2_client=function(){this.executeServerEvent("'ULTIMO'",false)};this.e243g2_client=function(){this.executeServerEvent("'IRPARA'",false)};this.e253g2_client=function(){this.executeServerEvent("'TRANSFERE'",false)};this.e263g45_client=function(){this.executeServerEvent("ENTER",true)};this.e273g45_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[3,22,31,34,37,39,41,45,47,49,51,53,56,60,63,65,68,70,72,74,76,78,80,83,85,88,90,93,95,97,99,105,107,110,112,114,116,118,120,124,126,128,130,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,156,159,161,167,169,170,171];this.GXLastCtrlId=171;this.Grid2Container=new gx.grid.grid(this,41,"Level1",138,"Grid2","Grid2","Grid2Container",this.CmpContext,this.IsMasterPage,"timt063",[317,316],false,1,false,true,5,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid2Container.addSingleLineEdit(317,139,"DVONROVOLU","Item","","DvoNroVolu","int",66,"px",6,6,"right",null,[],317,"DvoNroVolu",true,0,false,false);this.Grid2Container.addSingleLineEdit(316,140,"DVONROTOMO","Número do tomo","","DvoNroTomo","int",0,"px",2,2,"right",null,[],316,"DvoNroTomo",false,0,false,false);this.Grid2Container.addBitmap("&Imgedtitem","vIMGEDTITEM",141,0,"px",17,"px",null,"","");this.Grid2Container.addSingleLineEdit(225,142,"DITNROVOLU","Vol.","","DitNroVolu","char",65,"px",5,5,"left",null,[],225,"DitNroVolu",true,0,false,false);
this.Grid2Container.addSingleLineEdit(224,143,"DITNROTOMO","Tomo","","DitNroTomo","char",43,"px",3,3,"left",null,[],224,"DitNroTomo",true,0,false,false);this.Grid2Container.addSingleLineEdit(227,144,"DITVALEXTE","Extensão","","DitValExte","char",110,"px",20,20,"left",null,[],227,"DitValExte",true,0,false,false);this.Grid2Container.addSingleLineEdit(315,145,"DVONROTOMB","Tombo","","DvoNroTomb","int",64,"px",9,9,"right",null,[],315,"DvoNroTomb",true,0,false,false);this.Grid2Container.addSingleLineEdit(307,146,"DVODATCADA","Cadastro","","DvoDatCada","date",68,"px",10,10,"right",null,[],307,"DvoDatCada",true,0,false,false);
this.Grid2Container.addSingleLineEdit(308,147,"DVODATEFET","Aquisição","","DvoDatEfet","date",68,"px",10,10,"right",null,[],308,"DvoDatEfet",true,0,false,false);this.Grid2Container.addComboBox(79,148,"CAECOD","Categoria empréstimo","CaeCod","int",null,0,true,false,177,"px");this.Grid2Container.addSingleLineEdit(306,149,"DVODATBAIX","Baixa","","DvoDatbaix","date",68,"px",10,10,"right",null,[],306,"DvoDatbaix",true,0,false,false);this.Grid2Container.addSingleLineEdit(509,150,"LOCCOD","Localização","","LocCod","int",0,"px",3,3,"right",null,[],509,"LocCod",true,0,false,false);
this.Grid2Container.addBitmap("prompt_509","PROMPT_509",172,0,"",0,"",null,"","");this.Grid2Container.addSingleLineEdit(512,151,"LOCNOM","Nome da localização","","LocNom","char",0,"px",45,45,"left",null,[],512,"LocNom",true,0,false,false);this.Grid2Container.addSingleLineEdit(309,152,"DVODESMOTI","Motivo baixa","","DvoDesMoti","char",135,"px",25,25,"left",null,[],309,"DvoDesMoti",true,0,false,false);this.Grid2Container.addSingleLineEdit(310,153,"DVODESVOLU","Descrição","","DvoDesVolu","vchar",410,"px",36864,36864,"left",null,[],310,"DvoDesVolu",true,0,false,false);
this.setGrid(this.Grid2Container);this.GXValidFnc[3]={fld:"TABLE3",grid:0};this.GXValidFnc[22]={fld:"VINCULO",grid:0};this.GXValidFnc[31]={fld:"TEXTBLOCK43",format:0,grid:0};this.GXValidFnc[34]={fld:"TABLE2",grid:0};this.GXValidFnc[37]={fld:"TEXTBLOCK14",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vUNDCOD",gxz:"ZV60UndCod",gxold:"OV60UndCod",gxvar:"AV60UndCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV60UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.ZV60UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vUNDCOD",gx.O.AV60UndCod,0)},c2v:function(){gx.O.AV60UndCod=this.val()},val:function(){return gx.fn.getIntegerValue("vUNDCOD",".")},nac:function(){return false}};this.GXValidFnc[41]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDOENROSEQUENCIA",gxz:"ZV61DoeNroSequencia",gxold:"OV61DoeNroSequencia",gxvar:"AV61DoeNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV61DoeNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV61DoeNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDOENROSEQUENCIA",gx.O.AV61DoeNroSequencia,0)},c2v:function(){gx.O.AV61DoeNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vDOENROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[47]={fld:"QTDEXEMPLAR",format:0,grid:0};this.GXValidFnc[49]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[51]={fld:"LISTA",format:0,grid:0};
this.GXValidFnc[53]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Validv_Indassumetombolivre,isvalid:null,fld:"vINDASSUMETOMBOLIVRE",gxz:"ZV72IndAssumeTomboLivre",gxold:"OV72IndAssumeTomboLivre",gxvar:"AV72IndAssumeTomboLivre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV72IndAssumeTomboLivre=a},v2z:function(a){gx.O.ZV72IndAssumeTomboLivre=a},v2c:function(){gx.fn.setCheckBoxValue("vINDASSUMETOMBOLIVRE",gx.O.AV72IndAssumeTomboLivre,"S")},c2v:function(){gx.O.AV72IndAssumeTomboLivre=this.val()
},val:function(){return gx.fn.getCheckBoxValue("vINDASSUMETOMBOLIVRE","S","N")},nac:function(){return false}};this.GXValidFnc[56]={fld:"TABLE1",grid:0};this.GXValidFnc[60]={fld:"TABLE10",grid:0};this.GXValidFnc[63]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[65]={fld:"TABLE6",grid:0};this.GXValidFnc[68]={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:[this.Grid2Container],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[70]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[72]={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:[this.Grid2Container],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[74]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[76]={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:[this.Grid2Container],fld:"DOENROSEQU",gxz:"Z281DoeNroSequ",gxold:"O281DoeNroSequ",gxvar:"A281DoeNroSequ",ucs:[],op:[110,93,99,85,126,130,120,116,83],ip:[110,93,99,85,126,130,120,116,83,76,72,68],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[78]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[80]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDSCCHAMADA",gxz:"ZV77DscChamada",gxold:"OV77DscChamada",gxvar:"AV77DscChamada",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV77DscChamada=a
},v2z:function(a){gx.O.ZV77DscChamada=a},v2c:function(){gx.fn.setControlValue("vDSCCHAMADA",gx.O.AV77DscChamada,0)},c2v:function(){gx.O.AV77DscChamada=this.val()},val:function(){return gx.fn.getControlValue("vDSCCHAMADA")},nac:function(){return false}};this.GXValidFnc[83]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DOEDATBAIX",gxz:"Z272DoeDatBaix",gxold:"O272DoeDatBaix",gxvar:"A272DoeDatBaix",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.A272DoeDatBaix=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z272DoeDatBaix=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("DOEDATBAIX",gx.O.A272DoeDatBaix,0)},c2v:function(){gx.O.A272DoeDatBaix=this.val()},val:function(){return gx.fn.getControlValue("DOEDATBAIX")},nac:function(){return false}};this.GXValidFnc[85]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DOEDATVALI",gxz:"Z275DoeDatVali",gxold:"O275DoeDatVali",gxvar:"A275DoeDatVali",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.A275DoeDatVali=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z275DoeDatVali=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("DOEDATVALI",gx.O.A275DoeDatVali,0)},c2v:function(){gx.O.A275DoeDatVali=this.val()},val:function(){return gx.fn.getControlValue("DOEDATVALI")},nac:function(){return false}};this.GXValidFnc[88]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[90]={fld:"TABLE5",grid:0};this.GXValidFnc[93]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Tpacod,isvalid:null,fld:"TPACOD",gxz:"Z899TpaCod",gxold:"O899TpaCod",gxvar:"A899TpaCod",ucs:[],op:[95],ip:[95,93],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A899TpaCod=a
},v2z:function(a){gx.O.Z899TpaCod=a},v2c:function(){gx.fn.setControlValue("TPACOD",gx.O.A899TpaCod,0)},c2v:function(){gx.O.A899TpaCod=this.val()},val:function(){return gx.fn.getControlValue("TPACOD")},nac:function(){return false}};this.GXValidFnc[95]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"TPADSC",gxz:"Z1013TpaDsc",gxold:"O1013TpaDsc",gxvar:"A1013TpaDsc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1013TpaDsc=a},v2z:function(a){gx.O.Z1013TpaDsc=a
},v2c:function(){gx.fn.setControlValue("TPADSC",gx.O.A1013TpaDsc,0)},c2v:function(){gx.O.A1013TpaDsc=this.val()},val:function(){return gx.fn.getControlValue("TPADSC")},nac:function(){return false}};this.GXValidFnc[97]={fld:"TEXTBLOCK24",format:0,grid:0};this.GXValidFnc[99]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DOECODPROP",gxz:"Z270DoeCodProp",gxold:"O270DoeCodProp",gxvar:"A270DoeCodProp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A270DoeCodProp=a
},v2z:function(a){gx.O.Z270DoeCodProp=a},v2c:function(){gx.fn.setControlValue("DOECODPROP",gx.O.A270DoeCodProp,0)},c2v:function(){gx.O.A270DoeCodProp=this.val()},val:function(){return gx.fn.getControlValue("DOECODPROP")},nac:function(){return false}};this.GXValidFnc[105]={fld:"TEXTBLOCK20",format:0,grid:0};this.GXValidFnc[107]={fld:"TABLE11",grid:0};this.GXValidFnc[110]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Forcod,isvalid:null,rgrid:[],fld:"FORCOD",gxz:"Z433ForCod",gxold:"O433ForCod",gxvar:"A433ForCod",ucs:[],op:[112],ip:[112,110],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A433ForCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z433ForCod=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("FORCOD",gx.O.A433ForCod,0)},c2v:function(){gx.O.A433ForCod=this.val()},val:function(){return gx.fn.getIntegerValue("FORCOD",".")},nac:function(){return false}};this.GXValidFnc[112]={lvl:0,type:"char",len:60,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"FORNOMCOMP",gxz:"Z444ForNomComp",gxold:"O444ForNomComp",gxvar:"A444ForNomComp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A444ForNomComp=a
},v2z:function(a){gx.O.Z444ForNomComp=a},v2c:function(){gx.fn.setControlValue("FORNOMCOMP",gx.O.A444ForNomComp,0)},c2v:function(){gx.O.A444ForNomComp=this.val()},val:function(){return gx.fn.getControlValue("FORNOMCOMP")},nac:function(){return false}};this.GXValidFnc[114]={fld:"TEXTBLOCK17",format:0,grid:0};this.GXValidFnc[116]={lvl:0,type:"decimal",len:12,dec:2,sign:false,pic:"ZZZ,ZZZ,ZZ9.99",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DOEVALOR",gxz:"Z96DoeValor",gxold:"O96DoeValor",gxvar:"A96DoeValor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A96DoeValor=gx.fn.toDecimalValue(a,",",".")
},v2z:function(a){gx.O.Z96DoeValor=gx.fn.toDecimalValue(a,".",",")},v2c:function(){gx.fn.setDecimalValue("DOEVALOR",gx.O.A96DoeValor,2,",")},c2v:function(){gx.O.A96DoeValor=this.val()},val:function(){return gx.fn.getDecimalValue("DOEVALOR",".",",")},nac:function(){return false}};this.GXValidFnc[118]={fld:"TEXTBLOCK18",format:0,grid:0};this.GXValidFnc[120]={lvl:0,type:"char",len:5,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DOEDESMOED",gxz:"Z276DoeDesMoed",gxold:"O276DoeDesMoed",gxvar:"A276DoeDesMoed",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A276DoeDesMoed=a
},v2z:function(a){gx.O.Z276DoeDesMoed=a},v2c:function(){gx.fn.setControlValue("DOEDESMOED",gx.O.A276DoeDesMoed,0)},c2v:function(){gx.O.A276DoeDesMoed=this.val()},val:function(){return gx.fn.getControlValue("DOEDESMOED")},nac:function(){return false}};this.GXValidFnc[124]={fld:"TEXTBLOCK22",format:0,grid:0};this.GXValidFnc[126]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,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.setControlValue("DOEDATLIMI",gx.O.A273DoeDatLimi,0)},c2v:function(){gx.O.A273DoeDatLimi=this.val()},val:function(){return gx.fn.getControlValue("DOEDATLIMI")},nac:function(){return false}};this.GXValidFnc[128]={fld:"TEXTBLOCK19",format:0,grid:0};this.GXValidFnc[130]={lvl:0,type:"char",len:30,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DOEDESOBSE",gxz:"Z278DoeDesObse",gxold:"O278DoeDesObse",gxvar:"A278DoeDesObse",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A278DoeDesObse=a
},v2z:function(a){gx.O.Z278DoeDesObse=a},v2c:function(){gx.fn.setControlValue("DOEDESOBSE",gx.O.A278DoeDesObse,0)},c2v:function(){gx.O.A278DoeDesObse=this.val()},val:function(){return gx.fn.getControlValue("DOEDESOBSE")},nac:function(){return false}};this.GXValidFnc[139]={lvl:41,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:138,gxgrid:this.Grid2Container,fnc:this.Valid_Dvonrovolu,isvalid:null,rgrid:[],fld:"DVONROVOLU",gxz:"Z317DvoNroVolu",gxold:"O317DvoNroVolu",gxvar:"A317DvoNroVolu",ucs:[],op:[150,148,146,147,140,139,145,144,143,142],ip:[148,146,147,140,144,143,142,145,139,68],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(138),gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(138),".")},nac:function(){return false}};this.GXValidFnc[140]={lvl:41,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:138,gxgrid:this.Grid2Container,fnc:this.Valid_Dvonrotomo,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(138),gx.O.A316DvoNroTomo,0)},c2v:function(){gx.O.A316DvoNroTomo=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMO",gx.fn.currentGridRowImpl(138),".")},nac:function(){return false}};this.GXValidFnc[141]={lvl:41,type:"bits",len:5,dec:0,sign:false,ro:1,grid:138,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"vIMGEDTITEM",gxz:"ZV50ImgEdtItem",gxold:"OV50ImgEdtItem",gxvar:"AV50ImgEdtItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV50ImgEdtItem=a
},v2z:function(a){gx.O.ZV50ImgEdtItem=a},v2c:function(){},c2v:function(){gx.O.AV50ImgEdtItem=this.val()},val:function(){return gx.fn.getGridControlValue("vIMGEDTITEM",gx.fn.currentGridRowImpl(138))},nac:function(){return false}};this.GXValidFnc[142]={lvl:41,type:"char",len:5,dec:0,sign:false,ro:1,grid:138,gxgrid:this.Grid2Container,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.setGridControlValue("DITNROVOLU",gx.fn.currentGridRowImpl(138),gx.O.A225DitNroVolu,0)},c2v:function(){gx.O.A225DitNroVolu=this.val()},val:function(){return gx.fn.getGridControlValue("DITNROVOLU",gx.fn.currentGridRowImpl(138))},nac:function(){return false}};this.GXValidFnc[143]={lvl:41,type:"char",len:3,dec:0,sign:false,ro:1,grid:138,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"DITNROTOMO",gxz:"Z224DitNroTomo",gxold:"O224DitNroTomo",gxvar:"A224DitNroTomo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A224DitNroTomo=a
},v2z:function(a){gx.O.Z224DitNroTomo=a},v2c:function(){gx.fn.setGridControlValue("DITNROTOMO",gx.fn.currentGridRowImpl(138),gx.O.A224DitNroTomo,0)},c2v:function(){gx.O.A224DitNroTomo=this.val()},val:function(){return gx.fn.getGridControlValue("DITNROTOMO",gx.fn.currentGridRowImpl(138))},nac:function(){return false}};this.GXValidFnc[144]={lvl:41,type:"char",len:20,dec:0,sign:false,ro:1,grid:138,gxgrid:this.Grid2Container,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.setGridControlValue("DITVALEXTE",gx.fn.currentGridRowImpl(138),gx.O.A227DitValExte,0)},c2v:function(){gx.O.A227DitValExte=this.val()},val:function(){return gx.fn.getGridControlValue("DITVALEXTE",gx.fn.currentGridRowImpl(138))},nac:function(){return false}};this.GXValidFnc[145]={lvl:41,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:138,gxgrid:this.Grid2Container,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.setGridControlValue("DVONROTOMB",gx.fn.currentGridRowImpl(138),gx.O.A315DvoNroTomb,0)},c2v:function(){gx.O.A315DvoNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMB",gx.fn.currentGridRowImpl(138),".")},nac:function(){return false}};this.GXValidFnc[146]={lvl:41,type:"date",len:10,dec:0,sign:false,ro:1,grid:138,gxgrid:this.Grid2Container,fnc:this.Valid_Dvodatcada,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.setGridControlValue("DVODATCADA",gx.fn.currentGridRowImpl(138),gx.O.A307DvoDatCada,0)},c2v:function(){gx.O.A307DvoDatCada=this.val()},val:function(){return gx.fn.getGridControlValue("DVODATCADA",gx.fn.currentGridRowImpl(138))},nac:function(){return false}};this.GXValidFnc[147]={lvl:41,type:"date",len:10,dec:0,sign:false,ro:0,grid:138,gxgrid:this.Grid2Container,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.setGridControlValue("DVODATEFET",gx.fn.currentGridRowImpl(138),gx.O.A308DvoDatEfet,0)},c2v:function(){gx.O.A308DvoDatEfet=this.val()},val:function(){return gx.fn.getGridControlValue("DVODATEFET",gx.fn.currentGridRowImpl(138))},nac:function(){return false}};this.GXValidFnc[148]={lvl:41,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:138,gxgrid:this.Grid2Container,fnc:this.Valid_Caecod,isvalid:null,rgrid:[],fld:"CAECOD",gxz:"Z79CaeCod",gxold:"O79CaeCod",gxvar:"A79CaeCod",ucs:[],op:[],ip:[148],nacdep:[],ctrltype:"dyncombo",v2v:function(a){gx.O.A79CaeCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z79CaeCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridComboBoxValue("CAECOD",gx.fn.currentGridRowImpl(138),gx.O.A79CaeCod)},c2v:function(){gx.O.A79CaeCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("CAECOD",gx.fn.currentGridRowImpl(138),".")},nac:function(){return false}};this.GXValidFnc[149]={lvl:41,type:"date",len:10,dec:0,sign:false,ro:0,grid:138,gxgrid:this.Grid2Container,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.setGridControlValue("DVODATBAIX",gx.fn.currentGridRowImpl(138),gx.O.A306DvoDatbaix,0)},c2v:function(){gx.O.A306DvoDatbaix=this.val()},val:function(){return gx.fn.getGridControlValue("DVODATBAIX",gx.fn.currentGridRowImpl(138))},nac:function(){return false}};this.GXValidFnc[150]={lvl:41,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:138,gxgrid:this.Grid2Container,fnc:this.Valid_Loccod,isvalid:null,rgrid:[],fld:"LOCCOD",gxz:"Z509LocCod",gxold:"O509LocCod",gxvar:"A509LocCod",ucs:[],op:[150,151],ip:[151,150,72],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.setGridControlValue("LOCCOD",gx.fn.currentGridRowImpl(138),gx.O.A509LocCod,0)},c2v:function(){gx.O.A509LocCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("LOCCOD",gx.fn.currentGridRowImpl(138),".")},nac:function(){return false}};this.GXValidFnc[151]={lvl:41,type:"char",len:45,dec:0,sign:false,ro:1,grid:138,gxgrid:this.Grid2Container,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.setGridControlValue("LOCNOM",gx.fn.currentGridRowImpl(138),gx.O.A512LocNom,0)},c2v:function(){gx.O.A512LocNom=this.val()},val:function(){return gx.fn.getGridControlValue("LOCNOM",gx.fn.currentGridRowImpl(138))},nac:function(){return false}};this.GXValidFnc[152]={lvl:41,type:"char",len:25,dec:0,sign:false,ro:0,grid:138,gxgrid:this.Grid2Container,fnc:this.Valid_Dvodesmoti,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.setGridControlValue("DVODESMOTI",gx.fn.currentGridRowImpl(138),gx.O.A309DvoDesMoti,0)},c2v:function(){gx.O.A309DvoDesMoti=this.val()},val:function(){return gx.fn.getGridControlValue("DVODESMOTI",gx.fn.currentGridRowImpl(138))},nac:function(){return false}};this.GXValidFnc[153]={lvl:41,type:"vchar",len:36864,dec:0,sign:false,ro:0,grid:138,gxgrid:this.Grid2Container,fnc:this.Valid_Dvodesvolu,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.setGridControlValue("DVODESVOLU",gx.fn.currentGridRowImpl(138),gx.O.A310DvoDesVolu,0)},c2v:function(){gx.O.A310DvoDesVolu=this.val()},val:function(){return gx.fn.getGridControlValue("DVODESVOLU",gx.fn.currentGridRowImpl(138))},nac:function(){return false}};this.GXValidFnc[156]={fld:"TABLE4",grid:0};this.GXValidFnc[159]={fld:"TXTMAIORTOMBO",format:0,grid:0};this.GXValidFnc[161]={fld:"TXTTOMBOSLIVRES",format:0,grid:0};this.GXValidFnc[167]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vDVONROVOLUMEAPAGAR",gxz:"ZV52DvoNroVolumeApagar",gxold:"OV52DvoNroVolumeApagar",gxvar:"AV52DvoNroVolumeApagar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV52DvoNroVolumeApagar=gx.num.intval(a)
},v2z:function(a){gx.O.ZV52DvoNroVolumeApagar=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vDVONROVOLUMEAPAGAR",gx.O.AV52DvoNroVolumeApagar,0)},c2v:function(){gx.O.AV52DvoNroVolumeApagar=this.val()},val:function(){return gx.fn.getIntegerValue("vDVONROVOLUMEAPAGAR",".")},nac:function(){return false}};this.GXValidFnc[169]={fld:"PROMPT_899",grid:45};this.GXValidFnc[170]={fld:"PROMPT_270",grid:45};this.GXValidFnc[171]={fld:"PROMPT_433",grid:45};this.AV60UndCod=0;this.ZV60UndCod=0;this.OV60UndCod=0;
this.AV61DoeNroSequencia=0;this.ZV61DoeNroSequencia=0;this.OV61DoeNroSequencia=0;this.AV72IndAssumeTomboLivre="";this.ZV72IndAssumeTomboLivre="";this.OV72IndAssumeTomboLivre="";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.AV77DscChamada="";this.ZV77DscChamada="";this.OV77DscChamada="";this.A272DoeDatBaix=gx.date.nullDate();this.Z272DoeDatBaix=gx.date.nullDate();this.O272DoeDatBaix=gx.date.nullDate();
this.A275DoeDatVali=gx.date.nullDate();this.Z275DoeDatVali=gx.date.nullDate();this.O275DoeDatVali=gx.date.nullDate();this.A899TpaCod="";this.Z899TpaCod="";this.O899TpaCod="";this.A1013TpaDsc="";this.Z1013TpaDsc="";this.O1013TpaDsc="";this.A270DoeCodProp="";this.Z270DoeCodProp="";this.O270DoeCodProp="";this.A433ForCod=0;this.Z433ForCod=0;this.O433ForCod=0;this.A444ForNomComp="";this.Z444ForNomComp="";this.O444ForNomComp="";this.A96DoeValor=0;this.Z96DoeValor=0;this.O96DoeValor=0;this.A276DoeDesMoed="";
this.Z276DoeDesMoed="";this.O276DoeDesMoed="";this.A273DoeDatLimi=gx.date.nullDate();this.Z273DoeDatLimi=gx.date.nullDate();this.O273DoeDatLimi=gx.date.nullDate();this.A278DoeDesObse="";this.Z278DoeDesObse="";this.O278DoeDesObse="";this.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.Z316DvoNroTomo=0;this.O316DvoNroTomo=0;this.ZV50ImgEdtItem="";this.OV50ImgEdtItem="";this.Z225DitNroVolu="";this.O225DitNroVolu="";this.Z224DitNroTomo="";this.O224DitNroTomo="";this.Z227DitValExte="";this.O227DitValExte="";
this.Z315DvoNroTomb=0;this.O315DvoNroTomb=0;this.Z307DvoDatCada=gx.date.nullDate();this.O307DvoDatCada=gx.date.nullDate();this.Z308DvoDatEfet=gx.date.nullDate();this.O308DvoDatEfet=gx.date.nullDate();this.Z79CaeCod=0;this.O79CaeCod=0;this.Z306DvoDatbaix=gx.date.nullDate();this.O306DvoDatbaix=gx.date.nullDate();this.Z509LocCod=0;this.O509LocCod=0;this.Z512LocNom="";this.O512LocNom="";this.Z309DvoDesMoti="";this.O309DvoDesMoti="";this.Z310DvoDesVolu="";this.O310DvoDesVolu="";this.AV52DvoNroVolumeApagar=0;
this.ZV52DvoNroVolumeApagar=0;this.OV52DvoNroVolumeApagar=0;this.A317DvoNroVolu=0;this.A316DvoNroTomo=0;this.A308DvoDatEfet=gx.date.nullDate();this.A311DvoIndFasc="";this.A307DvoDatCada=gx.date.nullDate();this.A79CaeCod=0;this.AV23IndEmprest="";this.A315DvoNroTomb=0;this.AV16IndErro="";this.AV22Mensagem="";this.AV21IndMudou="";this.AV37LocCodAnt=0;this.AV38IndErroLocal="";this.A310DvoDesVolu="";this.A306DvoDatbaix=gx.date.nullDate();this.A309DvoDesMoti="";this.A318DvoQtdReno=0;this.A84CaeNom="";this.A225DitNroVolu="";
this.A224DitNroTomo="";this.A227DitValExte="";this.A222DitDatPubl=gx.date.nullDate();this.A1106DvoInd2="";this.A1101SteNroSequ=0;this.A509LocCod=0;this.A512LocNom="";this.AV33UsuCodCorr="";this.AV39UsuCodUnidDepositaria=0;this.AV40UsuTipAcesso="";this.AV34IndLiber="";this.Gx_msg="";this.AV36CfgValConteudo="";this.AV35IndVincLocal="";this.AV67QtdExemplares=0;this.AV46HstTipEntidade="";this.AV44HstCodEntidade=0;this.AV47HstTipOcorrencia="";this.AV66IpStation="";this.AV45HstCodEstacao="";this.AV49VetDesTransacao=[];
this.AV62VncCodOrigem="";this.AV50ImgEdtItem="";this.AV70IndAcessoPermitido="";this.AV71MsgErroPermissao="";this.Gx_BScreen=0;this.Gx_date=gx.date.nullDate();this.A234DocCodAssu="";this.A264DocQtdVolu=0;this.A863TidCod="";this.A868TidDes="";this.A872TidIndNroT="";this.A925UndNomComp="";this.A926UndNomSigl="";this.A271DoeDatAqui=gx.date.nullDate();this.A900TpaDes="";this.A277DoeDesMoti="";this.A269DoeCodCent="";this.A283DoeQtdReno=0;this.A279DoeIndNovo="";this.A267DoeCampo1L="";this.ServerEvents=["e143g2_client","e133g2_client","e153g2_client","e163g2_client","e173g2_client","e183g2_client","e193g2_client","e203g2_client","e213g2_client","e223g2_client","e233g2_client","e243g2_client","e253g2_client","e263g45_client","e273g45_client"];
this.setPrompt("PROMPT_899",[93]);this.setPrompt("PROMPT_270",[99]);this.setPrompt("PROMPT_433",[110]);this.setPrompt("PROMPT_509",[150]);this.EnterCtrl=["BUTTON1"];this.VarControlMap.Gx_BScreen={id:"vGXBSCREEN",grid:0,type:"int"};this.VarControlMap.AV33UsuCodCorr={id:"vUSUCODCORR",grid:0,type:"char"};this.VarControlMap.AV70IndAcessoPermitido={id:"vINDACESSOPERMITIDO",grid:0,type:"char"};this.VarControlMap.AV71MsgErroPermissao={id:"vMSGERROPERMISSAO",grid:0,type:"char"};this.VarControlMap.A271DoeDatAqui={id:"DOEDATAQUI",grid:0,type:"date"};
this.VarControlMap.A277DoeDesMoti={id:"DOEDESMOTI",grid:0,type:"char"};this.VarControlMap.A269DoeCodCent={id:"DOECODCENT",grid:0,type:"char"};this.VarControlMap.A283DoeQtdReno={id:"DOEQTDRENO",grid:0,type:"int"};this.VarControlMap.A279DoeIndNovo={id:"DOEINDNOVO",grid:0,type:"char"};this.VarControlMap.A267DoeCampo1L={id:"DOECAMPO1L",grid:0,type:"char"};this.VarControlMap.A234DocCodAssu={id:"DOCCODASSU",grid:0,type:"char"};this.VarControlMap.A264DocQtdVolu={id:"DOCQTDVOLU",grid:0,type:"int"};this.VarControlMap.A863TidCod={id:"TIDCOD",grid:0,type:"char"};
this.VarControlMap.A868TidDes={id:"TIDDES",grid:0,type:"char"};this.VarControlMap.A872TidIndNroT={id:"TIDINDNROT",grid:0,type:"char"};this.VarControlMap.A925UndNomComp={id:"UNDNOMCOMP",grid:0,type:"char"};this.VarControlMap.A926UndNomSigl={id:"UNDNOMSIGL",grid:0,type:"char"};this.VarControlMap.A900TpaDes={id:"TPADES",grid:0,type:"char"};this.VarControlMap.Gx_date={id:"vTODAY",grid:0,type:"date"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.VarControlMap.A311DvoIndFasc={id:"DVOINDFASC",grid:138,type:"char"};
this.VarControlMap.AV37LocCodAnt={id:"vLOCCODANT",grid:0,type:"int"};this.VarControlMap.AV23IndEmprest={id:"vINDEMPREST",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.AV38IndErroLocal={id:"vINDERROLOCAL",grid:0,type:"char"};this.VarControlMap.AV35IndVincLocal={id:"vINDVINCLOCAL",grid:0,type:"char"};
this.VarControlMap.AV45HstCodEstacao={id:"vHSTCODESTACAO",grid:0,type:"char"};this.VarControlMap.AV44HstCodEntidade={id:"vHSTCODENTIDADE",grid:0,type:"int"};this.VarControlMap.AV46HstTipEntidade={id:"vHSTTIPENTIDADE",grid:0,type:"char"};this.VarControlMap.A318DvoQtdReno={id:"DVOQTDRENO",grid:138,type:"int"};this.VarControlMap.A1106DvoInd2={id:"DVOIND2",grid:138,type:"char"};this.VarControlMap.A1101SteNroSequ={id:"STENROSEQU",grid:138,type:"int"};this.VarControlMap.A222DitDatPubl={id:"DITDATPUBL",grid:138,type:"date"};
this.VarControlMap.A84CaeNom={id:"CAENOM",grid:138,type:"char"};this.VarControlMap.AV62VncCodOrigem={id:"vVNCCODORIGEM",grid:0,type:"char"};this.SetStandaloneVars();this.LvlOlds[41]=["O509LocCod","O315DvoNroTomb"]}timt063.prototype=new gx.GxObject;gx.setParentObj(new timt063());