gx.evt.autoSkip=false;function timt093(){this.ServerClass="TImt093";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV58UsuCodCorr=gx.fn.getControlValue("vUSUCODCORR");this.AV21IndAcessoPermitido=gx.fn.getControlValue("vINDACESSOPERMITIDO");this.AV38MsgErroPermissao=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.A863TidCod=gx.fn.getControlValue("TIDCOD");this.A868TidDes=gx.fn.getControlValue("TIDDES");this.A1058TidTipAcer=gx.fn.getControlValue("TIDTIPACER");this.A925UndNomComp=gx.fn.getControlValue("UNDNOMCOMP");this.A926UndNomSigl=gx.fn.getControlValue("UNDNOMSIGL");this.A900TpaDes=gx.fn.getControlValue("TPADES");this.Gx_mode=gx.fn.getControlValue("vMODE");
this.A1062DvoQtdAnos=gx.fn.getIntegerValue("DVOQTDANOS",".");this.A1063DvoDatLimi=gx.fn.getDateValue("DVODATLIMI");this.AV81IndPodeBaixar=gx.fn.getControlValue("vINDPODEBAIXAR");this.AV82MsgErroBaixaExemplares=gx.fn.getControlValue("vMSGERROBAIXAEXEMPLARES");this.AV23IndEmprest=gx.fn.getControlValue("vINDEMPREST");this.AV32IndVincLocal=gx.fn.getControlValue("vINDVINCLOCAL");this.AV37Mensagem=gx.fn.getControlValue("vMENSAGEM");this.AV25IndErroLocal=gx.fn.getControlValue("vINDERROLOCAL");this.AV35LocCodAnt=gx.fn.getIntegerValue("vLOCCODANT",".");
this.AV16HstCodEstacao=gx.fn.getControlValue("vHSTCODESTACAO");this.AV15HstCodEntidade=gx.fn.getIntegerValue("vHSTCODENTIDADE",".");this.AV17HstTipEntidade=gx.fn.getControlValue("vHSTTIPENTIDADE");this.A1096DvoInd1=gx.fn.getControlValue("DVOIND1");this.A1112DvoValUnit=gx.fn.getDecimalValue("DVOVALUNIT",".",",");this.A225DitNroVolu=gx.fn.getControlValue("DITNROVOLU");this.A224DitNroTomo=gx.fn.getControlValue("DITNROTOMO");this.A227DitValExte=gx.fn.getControlValue("DITVALEXTE");this.AV64VncCodOrigem=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.AV80IdItem",["A316DvoNroTomo","Visible"],"gx.O.AV58UsuCodCorr","gx.O.AV32IndVincLocal","gx.O.AV81IndPodeBaixar","gx.O.AV82MsgErroBaixaExemplares","gx.O.A316DvoNroTomo","gx.O.A317DvoNroVolu","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.num.urlDecimal(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"],["A863TidCod","A868TidDes","A1058TidTipAcer","A925UndNomComp","A926UndNomSigl","A271DoeDatAqui","A900TpaDes","A1013TpaDsc","A272DoeDatBaix","A277DoeDesMoti","A96DoeValor","A276DoeDesMoed","A278DoeDesObse","A433ForCod","A273DoeDatLimi","A275DoeDatVali","A270DoeCodProp","A269DoeCodCent","A283DoeQtdReno","A279DoeIndNovo","A267DoeCampo1L","A899TpaCod","A317DvoNroVolu","A316DvoNroTomo","A444ForNomComp","Gx_mode","Z258DocNro","Z922UndCod","Z281DoeNroSequ","Z863TidCod","Z868TidDes","Z1058TidTipAcer","Z925UndNomComp","Z926UndNomSigl","Z271DoeDatAqui","Z900TpaDes","Z1013TpaDsc","Z272DoeDatBaix","Z277DoeDesMoti","Z96DoeValor","Z276DoeDesMoed","Z278DoeDesObse","Z433ForCod","Z273DoeDatLimi","Z275DoeDatVali","Z270DoeCodProp","Z269DoeCodCent","Z283DoeQtdReno","Z279DoeIndNovo","Z267DoeCampo1L","Z899TpaCod","Z317DvoNroVolu","Z316DvoNroTomo","Z444ForNomComp","Grid1",["BUTTON2","Enabled"],["BUTTON1","Enabled"]]);
return true};this.Valid_Tpacod=function(){try{var a=gx.util.balloon.getNew("TPACOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}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(){try{if(gx.fn.currentGridRowImpl(95)===0){return true}var a=gx.util.balloon.getNew("DVONROVOLU",gx.fn.currentGridRowImpl(95));this.AnyError=0;
this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,95);this.standaloneModal5P41();this.standaloneNotModal5P41()}catch(b){}try{this.Gx_mode=this.sMode41;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvonrotomo=function(){try{if(gx.fn.currentGridRowImpl(95)===0){return true}var a=gx.util.balloon.getNew("DVONROTOMO",gx.fn.currentGridRowImpl(95));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,95);if(gx.fn.gridDuplicateKey(105)){a.setError(gx.text.format(gx.getMessage("GXM_1004"),"Dvo Nro"));
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(95)===0){return true}var a=gx.util.balloon.getNew("DVONROTOMB",gx.fn.currentGridRowImpl(95));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,95)}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(95)===0){return true
}var a=gx.util.balloon.getNew("DVODATEFET",gx.fn.currentGridRowImpl(95));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,95)}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,95);gx.ajax.validSrvEvt("dyncall","Valid_Caecod",["gx.O.A79CaeCod","gx.O.A84CaeNom"],["A84CaeNom"]);this.Gx_mode=this.sMode41;return true};this.Valid_Loccod=function(){this.sMode41=this.Gx_mode;
this.Gx_mode=gx.fn.getGridRowMode(41,95);gx.ajax.validSrvEvt("dyncall","Valid_Loccod",["gx.O.A922UndCod","gx.O.A509LocCod","gx.O.A512LocNom"],["A512LocNom"]);this.Gx_mode=this.sMode41;return true};this.Valid_Stenrosequ=function(){this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,95);gx.ajax.validSrvEvt("dyncall","Valid_Stenrosequ",["gx.O.A1101SteNroSequ","gx.O.A1102SteDscSitu"],["A1102SteDscSitu"]);this.Gx_mode=this.sMode41;return true};this.Valid_Dvodatbaix=function(){try{if(gx.fn.currentGridRowImpl(95)===0){return true
}var a=gx.util.balloon.getNew("DVODATBAIX",gx.fn.currentGridRowImpl(95));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,95)}catch(b){}try{this.Gx_mode=this.sMode41;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Dvodesmoti=function(){try{if(gx.fn.currentGridRowImpl(95)===0){return true}var a=gx.util.balloon.getNew("DVODESMOTI",gx.fn.currentGridRowImpl(95));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,95)}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(95)===0){return true}var a=gx.util.balloon.getNew("DVODESVOLU",gx.fn.currentGridRowImpl(95));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,95);if(this.Gx_mode=="UPD"){}}catch(b){}try{this.Gx_mode=this.sMode41;if(a==null){return true}return a.show()}catch(b){}return true};this.standaloneModal5P41=function(){try{if(this.A1062DvoQtdAnos>0){this.A1063DvoDatLimi=gx.date.addyr(this.A308DvoDatEfet,this.A1062DvoQtdAnos)
}else{this.A1063DvoDatLimi=gx.date.ymdtod(2999,12,31)}}catch(a){}try{if(this.Gx_mode!="INS"){gx.fn.setCtrlProperty("DVONROVOLU","Enabled",0)}else{gx.fn.setCtrlProperty("DVONROVOLU","Enabled",1)}}catch(a){}try{if(this.Gx_mode!="INS"){gx.fn.setCtrlProperty("DVONROTOMO","Enabled",0)}else{gx.fn.setCtrlProperty("DVONROTOMO","Enabled",1)}}catch(a){}return true};this.standaloneNotModal5P41=function(){try{gx.fn.setCtrlProperty("DVONROTOMB","Enabled",0)}catch(a){}try{gx.fn.setCtrlProperty("DVODATCADA","Enabled",0)
}catch(a){}try{gx.fn.setCtrlProperty("DVODATEFET","Enabled",0)}catch(a){}try{gx.fn.setCtrlProperty("DVOCODUNID","Enabled",0)}catch(a){}try{gx.fn.setCtrlProperty("DVOTIPSITU","Enabled",0)}catch(a){}try{gx.fn.setCtrlProperty("DVOCODCATE","Enabled",0)}catch(a){}try{if(this.AnyError==0&&(this.A317DvoNroVolu!=gx.fn.oldGridKey("A317DvoNroVoluA225DitNroVolu",95)||this.A258DocNro!=gx.fn.oldKey("A258DocNroA225DitNroVolu"))){gx.ajax.loadCrl("gxLoad_35",new Array("A258DocNro","A317DvoNroVolu"),new Array("A225DitNroVolu","A224DitNroTomo","A227DitValExte"));
if(GXLastAjaxSt==101){gxballoon.setError("Não existe 'Itens do documento'.");this.AnyError=1;gx.fn.unsetKey("A258DocNroA225DitNroVolu");gx.fn.unsetGridKey("A317DvoNroVoluA225DitNroVolu",95)}else{gx.fn.setKey("A258DocNroA225DitNroVolu","A258DocNro");gx.fn.setGridKey("A317DvoNroVoluA225DitNroVolu",95,"A317DvoNroVolu")}}}catch(a){}return true};this.e115p45_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("himh174.aspx",[this.AV64VncCodOrigem]),["AV64VncCodOrigem"]);this.refreshOutputs([])
};this.e135p2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e145p2_client=function(){this.executeServerEvent("'TRANSFERE'",false)};this.e155p2_client=function(){this.executeServerEvent("'APAGA EXEMPLAR'",false)};this.e165p2_client=function(){this.executeServerEvent("'RESET'",false)};this.e175p45_client=function(){this.executeServerEvent("ENTER",true)};this.e185p45_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,15,21,24,27,29,32,34,36,38,40,45,47,50,52,55,57,60,62,65,67,70,72,75,77,80,82,85,87,90,92,98,101,103,105,110,115,117,122,124,129,131,136,138,141,143,148,150,153,155,160,162,167,169,172,174,179,181,183,185,188,190,192,194,197,199,201,204,206,209,210];
this.GXLastCtrlId=210;this.Grid1Container=new gx.grid.grid(this,41,"DvoNro",95,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"timt093",[317,316],true,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.startTable("Table1",98,"0px");this.Grid1Container.addHtmlCode("<TBODY>");this.Grid1Container.startRow("","","","","","");
this.Grid1Container.startCell("","","","","","","125px","","","");this.Grid1Container.addTextBlock("TEXTBLOCK21",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(317,103,"DVONROVOLU","","","DvoNroVolu","int",6,"chr",6,6,"right",null,[],317,"DvoNroVolu",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(316,105,"DVONROTOMO","","","DvoNroTomo","int",2,"chr",2,2,"right",null,[],316,"DvoNroTomo",true,0,false,false);
this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit("Iditem",110,"vIDITEM","","","IdItem","char",40,"chr",40,40,"left",null,[],"Iditem","IdItem",true,0,false,false);
this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK27",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(315,117,"DVONROTOMB","","","DvoNroTomb","int",9,"chr",9,9,"right",null,[],315,"DvoNroTomb",true,0,false,false);
this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK28",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(307,124,"DVODATCADA","","","DvoDatCada","date",10,"chr",10,10,"right",null,[],307,"DvoDatCada",true,0,false,false);
this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK30",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(308,131,"DVODATEFET","","","DvoDatEfet","date",10,"chr",10,10,"right",null,[],308,"DvoDatEfet",true,0,false,false);
this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK29",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.startTable("Table10",138,"0px");
this.Grid1Container.addHtmlCode("<TBODY>");this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(79,141,"CAECOD","","","CaeCod","int",3,"chr",3,3,"right",null,[],79,"CaeCod",true,0,false,false);this.Grid1Container.addBitmap("prompt_79","PROMPT_79",211,0,"",0,"",null,"","");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(84,143,"CAENOM","","","CaeNom","char",30,"chr",30,30,"left",null,[],84,"CaeNom",true,0,false,false);
this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.addHtmlCode("</TBODY>");this.Grid1Container.endTable();this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK31",null);
this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.startTable("Table7",150,"0px");this.Grid1Container.addHtmlCode("<TBODY>");this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(509,153,"LOCCOD","","","LocCod","int",3,"chr",3,3,"right",null,[],509,"LocCod",true,0,false,false);this.Grid1Container.addBitmap("prompt_509","PROMPT_509",212,0,"",0,"",null,"","");
this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(512,155,"LOCNOM","","","LocNom","char",45,"chr",45,45,"left",null,[],512,"LocNom",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.addHtmlCode("</TBODY>");this.Grid1Container.endTable();this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");
this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK32",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(1095,162,"DVONROPATR","","","DvoNroPatr","char",12,"chr",12,12,"left",null,[],1095,"DvoNroPatr",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");
this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","23px","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK33",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.startTable("Table8",169,"0px");this.Grid1Container.addHtmlCode("<TBODY>");
this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(1101,172,"STENROSEQU","","","SteNroSequ","int",4,"chr",4,4,"right",null,[],1101,"SteNroSequ",true,0,false,false);this.Grid1Container.addBitmap("prompt_1101","PROMPT_1101",213,0,"",0,"",null,"","");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(1102,174,"STEDSCSITU","","","SteDscSitu","char",25,"chr",25,25,"left",null,[],1102,"SteDscSitu",true,0,false,false);
this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.addHtmlCode("</TBODY>");this.Grid1Container.endTable();this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK34",null);
this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(306,181,"DVODATBAIX","","","DvoDatbaix","date",10,"chr",10,10,"right",null,[],306,"DvoDatbaix",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK36",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(309,185,"DVODESMOTI","","","DvoDesMoti","char",25,"chr",25,25,"left",null,[],309,"DvoDesMoti",true,0,false,false);
this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","17px","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK3",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(1114,190,"DVOCODUNID","","","DvoCodUnid","int",3,"chr",3,3,"right",null,[],1114,"DvoCodUnid",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");
this.Grid1Container.addTextBlock("TEXTBLOCK7",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.startTable("Table2",194,"0px");this.Grid1Container.addHtmlCode("<TBODY>");this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addComboBox(1113,197,"DVOTIPSITU","","DvoTipSitu","char",null,0,true,false,1,"chr");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");
this.Grid1Container.addTextBlock("TEXTBLOCK6",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(1115,201,"DVOCODCATE","","","DvoCodCate","int",3,"chr",3,3,"right",null,[],1115,"DvoCodCate",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.addHtmlCode("</TBODY>");this.Grid1Container.endTable();this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");
this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK35",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","3","","");this.Grid1Container.addMultipleLineEdit(310,206,"DVODESVOLU","","DvoDesVolu","vchar",80,"chr",2,"row","36864",36864,"left",null,true,false,0);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.addHtmlCode("</TBODY>");this.Grid1Container.endTable();this.Grid1Container.endCell();
this.Grid1Container.endRow();this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE3",grid:0};this.GXValidFnc[15]={fld:"VINCULO",grid:0};this.GXValidFnc[21]={fld:"TEXTBLOCK43",format:0,grid:0};this.GXValidFnc[24]={fld:"TABLE4",grid:0};this.GXValidFnc[27]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[29]={fld:"TABLE9",grid:0};this.GXValidFnc[32]={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.Grid1Container],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[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={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.Grid1Container],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[38]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[40]={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.Grid1Container],fld:"DOENROSEQU",gxz:"Z281DoeNroSequ",gxold:"O281DoeNroSequ",gxvar:"A281DoeNroSequ",ucs:[],op:[60,50,67,92,82,87,77,72,90],ip:[60,50,67,92,82,87,77,72,90,40,36,32],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[45]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[47]={fld:"TABLE5",grid:0};this.GXValidFnc[50]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Tpacod,isvalid:null,fld:"TPACOD",gxz:"Z899TpaCod",gxold:"O899TpaCod",gxvar:"A899TpaCod",ucs:[],op:[],ip:[],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[52]={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[55]={fld:"TEXTBLOCK20",format:0,grid:0};this.GXValidFnc[57]={fld:"TABLE11",grid:0};this.GXValidFnc[60]={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:[62],ip:[62,60],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[62]={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[65]={fld:"TEXTBLOCK24",format:0,grid:0};this.GXValidFnc[67]={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[70]={fld:"TEXTBLOCK17",format:0,grid:0};this.GXValidFnc[72]={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,rgrid:[],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[75]={fld:"TEXTBLOCK18",format:0,grid:0};this.GXValidFnc[77]={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[80]={fld:"TEXTBLOCK22",format:0,grid:0};this.GXValidFnc[82]={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[85]={fld:"TEXTBLOCK19",format:0,grid:0};this.GXValidFnc[87]={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[90]={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[92]={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[98]={fld:"TABLE1",grid:95};this.GXValidFnc[101]={fld:"TEXTBLOCK21",format:0,grid:95};this.GXValidFnc[103]={lvl:41,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:95,gxgrid:this.Grid1Container,fnc:this.Valid_Dvonrovolu,isvalid:null,rgrid:[this.Grid1Container],fld:"DVONROVOLU",gxz:"Z317DvoNroVolu",gxold:"O317DvoNroVolu",gxvar:"A317DvoNroVolu",ucs:[],op:[],ip:[131],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(95),gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[105]={lvl:41,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:95,gxgrid:this.Grid1Container,fnc:this.Valid_Dvonrotomo,isvalid:null,rgrid:[this.Grid1Container],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(95),gx.O.A316DvoNroTomo,0)},c2v:function(){gx.O.A316DvoNroTomo=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMO",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[110]={lvl:41,type:"char",len:40,dec:0,sign:false,ro:1,grid:95,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vIDITEM",gxz:"ZV80IdItem",gxold:"OV80IdItem",gxvar:"AV80IdItem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV80IdItem=a
},v2z:function(a){gx.O.ZV80IdItem=a},v2c:function(){gx.fn.setGridControlValue("vIDITEM",gx.fn.currentGridRowImpl(95),gx.O.AV80IdItem,0)},c2v:function(){gx.O.AV80IdItem=this.val()},val:function(){return gx.fn.getGridControlValue("vIDITEM",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[115]={fld:"TEXTBLOCK27",format:0,grid:95};this.GXValidFnc[117]={lvl:41,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:1,grid:95,gxgrid:this.Grid1Container,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(95),gx.O.A315DvoNroTomb,0)},c2v:function(){gx.O.A315DvoNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMB",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[122]={fld:"TEXTBLOCK28",format:0,grid:95};this.GXValidFnc[124]={lvl:41,type:"date",len:10,dec:0,sign:false,ro:1,grid:95,gxgrid:this.Grid1Container,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.setGridControlValue("DVODATCADA",gx.fn.currentGridRowImpl(95),gx.O.A307DvoDatCada,0)},c2v:function(){gx.O.A307DvoDatCada=this.val()},val:function(){return gx.fn.getGridControlValue("DVODATCADA",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[129]={fld:"TEXTBLOCK30",format:0,grid:95};this.GXValidFnc[131]={lvl:41,type:"date",len:10,dec:0,sign:false,ro:1,grid:95,gxgrid:this.Grid1Container,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(95),gx.O.A308DvoDatEfet,0)},c2v:function(){gx.O.A308DvoDatEfet=this.val()},val:function(){return gx.fn.getGridControlValue("DVODATEFET",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[136]={fld:"TEXTBLOCK29",format:0,grid:95};this.GXValidFnc[138]={fld:"TABLE10",grid:95};this.GXValidFnc[141]={lvl:41,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:95,gxgrid:this.Grid1Container,fnc:this.Valid_Caecod,isvalid:null,rgrid:[],fld:"CAECOD",gxz:"Z79CaeCod",gxold:"O79CaeCod",gxvar:"A79CaeCod",ucs:[],op:[143],ip:[143,141],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A79CaeCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z79CaeCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CAECOD",gx.fn.currentGridRowImpl(95),gx.O.A79CaeCod,0)},c2v:function(){gx.O.A79CaeCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("CAECOD",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[143]={lvl:41,type:"char",len:30,dec:0,sign:false,ro:1,grid:95,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CAENOM",gxz:"Z84CaeNom",gxold:"O84CaeNom",gxvar:"A84CaeNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A84CaeNom=a
},v2z:function(a){gx.O.Z84CaeNom=a},v2c:function(){gx.fn.setGridControlValue("CAENOM",gx.fn.currentGridRowImpl(95),gx.O.A84CaeNom,0)},c2v:function(){gx.O.A84CaeNom=this.val()},val:function(){return gx.fn.getGridControlValue("CAENOM",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[148]={fld:"TEXTBLOCK31",format:0,grid:95};this.GXValidFnc[150]={fld:"TABLE7",grid:95};this.GXValidFnc[153]={lvl:41,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:95,gxgrid:this.Grid1Container,fnc:this.Valid_Loccod,isvalid:null,rgrid:[],fld:"LOCCOD",gxz:"Z509LocCod",gxold:"O509LocCod",gxvar:"A509LocCod",ucs:[],op:[153,155],ip:[155,153,36],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(95),gx.O.A509LocCod,0)},c2v:function(){gx.O.A509LocCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("LOCCOD",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[155]={lvl:41,type:"char",len:45,dec:0,sign:false,ro:1,grid:95,gxgrid:this.Grid1Container,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(95),gx.O.A512LocNom,0)},c2v:function(){gx.O.A512LocNom=this.val()},val:function(){return gx.fn.getGridControlValue("LOCNOM",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[160]={fld:"TEXTBLOCK32",format:0,grid:95};this.GXValidFnc[162]={lvl:41,type:"char",len:12,dec:0,sign:false,ro:0,grid:95,gxgrid:this.Grid1Container,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.setGridControlValue("DVONROPATR",gx.fn.currentGridRowImpl(95),gx.O.A1095DvoNroPatr,0)},c2v:function(){gx.O.A1095DvoNroPatr=this.val()},val:function(){return gx.fn.getGridControlValue("DVONROPATR",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[167]={fld:"TEXTBLOCK33",format:0,grid:95};this.GXValidFnc[169]={fld:"TABLE8",grid:95};this.GXValidFnc[172]={lvl:41,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:95,gxgrid:this.Grid1Container,fnc:this.Valid_Stenrosequ,isvalid:null,rgrid:[],fld:"STENROSEQU",gxz:"Z1101SteNroSequ",gxold:"O1101SteNroSequ",gxvar:"A1101SteNroSequ",ucs:[],op:[174],ip:[174,172],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1101SteNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1101SteNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("STENROSEQU",gx.fn.currentGridRowImpl(95),gx.O.A1101SteNroSequ,0)},c2v:function(){gx.O.A1101SteNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("STENROSEQU",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[174]={lvl:41,type:"char",len:25,dec:0,sign:false,ro:1,grid:95,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"STEDSCSITU",gxz:"Z1102SteDscSitu",gxold:"O1102SteDscSitu",gxvar:"A1102SteDscSitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1102SteDscSitu=a
},v2z:function(a){gx.O.Z1102SteDscSitu=a},v2c:function(){gx.fn.setGridControlValue("STEDSCSITU",gx.fn.currentGridRowImpl(95),gx.O.A1102SteDscSitu,0)},c2v:function(){gx.O.A1102SteDscSitu=this.val()},val:function(){return gx.fn.getGridControlValue("STEDSCSITU",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[179]={fld:"TEXTBLOCK34",format:0,grid:95};this.GXValidFnc[181]={lvl:41,type:"date",len:10,dec:0,sign:false,ro:0,grid:95,gxgrid:this.Grid1Container,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(95),gx.O.A306DvoDatbaix,0)},c2v:function(){gx.O.A306DvoDatbaix=this.val()},val:function(){return gx.fn.getGridControlValue("DVODATBAIX",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[183]={fld:"TEXTBLOCK36",format:0,grid:95};this.GXValidFnc[185]={lvl:41,type:"char",len:25,dec:0,sign:false,ro:0,grid:95,gxgrid:this.Grid1Container,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(95),gx.O.A309DvoDesMoti,0)},c2v:function(){gx.O.A309DvoDesMoti=this.val()},val:function(){return gx.fn.getGridControlValue("DVODESMOTI",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[188]={fld:"TEXTBLOCK3",format:0,grid:95};this.GXValidFnc[190]={lvl:41,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:95,gxgrid:this.Grid1Container,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.setGridControlValue("DVOCODUNID",gx.fn.currentGridRowImpl(95),gx.O.A1114DvoCodUnid,0)},c2v:function(){gx.O.A1114DvoCodUnid=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVOCODUNID",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[192]={fld:"TEXTBLOCK7",format:0,grid:95};this.GXValidFnc[194]={fld:"TABLE2",grid:95};this.GXValidFnc[197]={lvl:41,type:"char",len:1,dec:0,sign:false,ro:1,grid:95,gxgrid:this.Grid1Container,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.setGridComboBoxValue("DVOTIPSITU",gx.fn.currentGridRowImpl(95),gx.O.A1113DvoTipSitu)},c2v:function(){gx.O.A1113DvoTipSitu=this.val()},val:function(){return gx.fn.getGridControlValue("DVOTIPSITU",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[199]={fld:"TEXTBLOCK6",format:0,grid:95};this.GXValidFnc[201]={lvl:41,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:95,gxgrid:this.Grid1Container,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.setGridControlValue("DVOCODCATE",gx.fn.currentGridRowImpl(95),gx.O.A1115DvoCodCate,0)},c2v:function(){gx.O.A1115DvoCodCate=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVOCODCATE",gx.fn.currentGridRowImpl(95),".")},nac:function(){return false}};this.GXValidFnc[204]={fld:"TEXTBLOCK35",format:0,grid:95};this.GXValidFnc[206]={lvl:41,type:"vchar",len:36864,dec:0,sign:false,ro:0,grid:95,gxgrid:this.Grid1Container,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(95),gx.O.A310DvoDesVolu,0)},c2v:function(){gx.O.A310DvoDesVolu=this.val()},val:function(){return gx.fn.getGridControlValue("DVODESVOLU",gx.fn.currentGridRowImpl(95))},nac:function(){return false}};this.GXValidFnc[209]={fld:"PROMPT_433",grid:45};this.GXValidFnc[210]={fld:"PROMPT_270",grid:45};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.A899TpaCod="";this.Z899TpaCod="";this.O899TpaCod="";this.A1013TpaDsc="";this.Z1013TpaDsc="";this.O1013TpaDsc="";this.A433ForCod=0;this.Z433ForCod=0;this.O433ForCod=0;this.A444ForNomComp="";this.Z444ForNomComp="";this.O444ForNomComp="";this.A270DoeCodProp="";this.Z270DoeCodProp="";this.O270DoeCodProp="";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.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.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.Z316DvoNroTomo=0;this.O316DvoNroTomo=0;
this.ZV80IdItem="";this.OV80IdItem="";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.Z84CaeNom="";this.O84CaeNom="";this.Z509LocCod=0;this.O509LocCod=0;this.Z512LocNom="";this.O512LocNom="";this.Z1095DvoNroPatr="";this.O1095DvoNroPatr="";this.Z1101SteNroSequ=0;this.O1101SteNroSequ=0;this.Z1102SteDscSitu="";this.O1102SteDscSitu="";
this.Z306DvoDatbaix=gx.date.nullDate();this.O306DvoDatbaix=gx.date.nullDate();this.Z309DvoDesMoti="";this.O309DvoDesMoti="";this.Z1114DvoCodUnid=0;this.O1114DvoCodUnid=0;this.Z1113DvoTipSitu="";this.O1113DvoTipSitu="";this.Z1115DvoCodCate=0;this.O1115DvoCodCate=0;this.Z310DvoDesVolu="";this.O310DvoDesVolu="";this.AV23IndEmprest="";this.AV37Mensagem="";this.AV25IndErroLocal="";this.AV35LocCodAnt=0;this.A1115DvoCodCate=0;this.A1063DvoDatLimi=gx.date.nullDate();this.A315DvoNroTomb=0;this.A310DvoDesVolu="";
this.A306DvoDatbaix=gx.date.nullDate();this.A309DvoDesMoti="";this.A308DvoDatEfet=gx.date.nullDate();this.A307DvoDatCada=gx.date.nullDate();this.A1062DvoQtdAnos=0;this.A1095DvoNroPatr="";this.A1096DvoInd1="";this.A79CaeCod=0;this.A84CaeNom="";this.A225DitNroVolu="";this.A224DitNroTomo="";this.A227DitValExte="";this.A512LocNom="";this.A509LocCod=0;this.A1101SteNroSequ=0;this.A1102SteDscSitu="";this.A1112DvoValUnit=0;this.A1113DvoTipSitu="";this.A1114DvoCodUnid=0;this.AV58UsuCodCorr="";this.AV59UsuCodUnidDepositaria=0;
this.AV60UsuTipAcesso="";this.A317DvoNroVolu=0;this.A316DvoNroTomo=0;this.AV80IdItem="";this.AV7CfgValConteudo="";this.AV32IndVincLocal="";this.AV81IndPodeBaixar="";this.AV82MsgErroBaixaExemplares="";this.Gx_msg="";this.AV17HstTipEntidade="";this.AV15HstCodEntidade=0;this.AV18HstTipOcorrencia="";this.AV33IpStation="";this.AV16HstCodEstacao="";this.AV63VetDesTransacao=[];this.AV22IndAssumeTomboLivre="";this.AV64VncCodOrigem="";this.AV21IndAcessoPermitido="";this.AV38MsgErroPermissao="";this.A863TidCod="";
this.A868TidDes="";this.A1058TidTipAcer="";this.A925UndNomComp="";this.A926UndNomSigl="";this.A271DoeDatAqui=gx.date.nullDate();this.A900TpaDes="";this.A277DoeDesMoti="";this.A269DoeCodCent="";this.A283DoeQtdReno=0;this.A279DoeIndNovo="";this.A267DoeCampo1L="";this.ServerEvents=["e135p2_client","e145p2_client","e155p2_client","e165p2_client","e175p45_client","e185p45_client"];this.setPrompt("PROMPT_433",[60]);this.setPrompt("PROMPT_270",[67]);this.setPrompt("PROMPT_79",[141]);this.setPrompt("PROMPT_509",[153]);
this.setPrompt("PROMPT_1101",[172]);this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV58UsuCodCorr={id:"vUSUCODCORR",grid:0,type:"char"};this.VarControlMap.AV21IndAcessoPermitido={id:"vINDACESSOPERMITIDO",grid:0,type:"char"};this.VarControlMap.AV38MsgErroPermissao={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.A863TidCod={id:"TIDCOD",grid:0,type:"char"};this.VarControlMap.A868TidDes={id:"TIDDES",grid:0,type:"char"};this.VarControlMap.A1058TidTipAcer={id:"TIDTIPACER",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_mode={id:"vMODE",grid:0,type:"char"};this.VarControlMap.A1062DvoQtdAnos={id:"DVOQTDANOS",grid:95,type:"int"};this.VarControlMap.A1063DvoDatLimi={id:"DVODATLIMI",grid:95,type:"date"};this.VarControlMap.AV81IndPodeBaixar={id:"vINDPODEBAIXAR",grid:0,type:"char"};this.VarControlMap.AV82MsgErroBaixaExemplares={id:"vMSGERROBAIXAEXEMPLARES",grid:0,type:"char"};this.VarControlMap.AV23IndEmprest={id:"vINDEMPREST",grid:0,type:"char"};
this.VarControlMap.AV32IndVincLocal={id:"vINDVINCLOCAL",grid:0,type:"char"};this.VarControlMap.AV37Mensagem={id:"vMENSAGEM",grid:0,type:"char"};this.VarControlMap.AV25IndErroLocal={id:"vINDERROLOCAL",grid:0,type:"char"};this.VarControlMap.AV35LocCodAnt={id:"vLOCCODANT",grid:0,type:"int"};this.VarControlMap.AV16HstCodEstacao={id:"vHSTCODESTACAO",grid:0,type:"char"};this.VarControlMap.AV15HstCodEntidade={id:"vHSTCODENTIDADE",grid:0,type:"int"};this.VarControlMap.AV17HstTipEntidade={id:"vHSTTIPENTIDADE",grid:0,type:"char"};
this.VarControlMap.A1096DvoInd1={id:"DVOIND1",grid:95,type:"char"};this.VarControlMap.A1112DvoValUnit={id:"DVOVALUNIT",grid:95,type:"decimal"};this.VarControlMap.A225DitNroVolu={id:"DITNROVOLU",grid:95,type:"char"};this.VarControlMap.A224DitNroTomo={id:"DITNROTOMO",grid:95,type:"char"};this.VarControlMap.A227DitValExte={id:"DITVALEXTE",grid:95,type:"char"};this.VarControlMap.AV64VncCodOrigem={id:"vVNCCODORIGEM",grid:0,type:"char"};this.Grid1Container.addPostingVar("AV80IdItem");this.SetStandaloneVars();
this.LvlOlds[41]=["O79CaeCod","O509LocCod","O306DvoDatbaix","O309DvoDesMoti","O310DvoDesVolu"]}timt093.prototype=new gx.GxObject;gx.setParentObj(new timt093());