gx.evt.autoSkip=false;function tabt063(){this.ServerClass="TAbt063";this.PackageName="";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE");this.A900TpaDes=gx.fn.getControlValue("TPADES")};this.Valid_Docnro=function(){gx.ajax.validSrvEvt("dyncall","valid_Docnro",["gx.O.A258DocNro","gx.O.A234DocCodAssu","gx.O.A264DocQtdVolu","gx.O.A863TidCod"],["A234DocCodAssu","A264DocQtdVolu","A863TidCod","A868TidDes","A872TidIndNroT","Gx_mode","Z258DocNro","Z234DocCodAssu","Z264DocQtdVolu","Z863TidCod","Z868TidDes","Z872TidIndNroT","Grid1",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Tidcod=function(){gx.ajax.validSrvEvt("dyncall","valid_Tidcod",["gx.O.A863TidCod","gx.O.A868TidDes","gx.O.A872TidIndNroT"],["A868TidDes","A872TidIndNroT"]);return true};this.Valid_Undcod=function(){this.sMode45=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(45,50);this.standaloneModal0845();this.standaloneNotModal0845();gx.ajax.validSrvEvt("dyncall","valid_Undcod",["gx.O.A922UndCod","gx.O.A925UndNomComp","gx.O.A926UndNomSigl"],["A925UndNomComp","A926UndNomSigl"]);this.Gx_mode=this.sMode45;
return true};this.Valid_Doenrosequ=function(){try{if(gx.fn.currentGridRowImpl(50)===0){return true}var a=gx.util.balloon.getNew("DOENROSEQU",gx.fn.currentGridRowImpl(50));this.AnyError=0;this.sMode45=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(45,50);if(gx.fn.gridDuplicateKey(63)){a.setError(gx.text.format(gx.getMessage("GXM_1004"),"Level1"));this.AnyError=1}}catch(b){}try{this.Gx_mode=this.sMode45;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Tpacod=function(){this.sMode45=this.Gx_mode;
this.Gx_mode=gx.fn.getGridRowMode(45,50);gx.ajax.validSrvEvt("dyncall","valid_Tpacod",["gx.O.A899TpaCod","gx.O.A900TpaDes","gx.O.A1013TpaDsc"],["A900TpaDes","A1013TpaDsc"]);this.Gx_mode=this.sMode45;return true};this.Valid_Forcod=function(){this.sMode45=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(45,50);gx.ajax.validSrvEvt("dyncall","valid_Forcod",["gx.O.A433ForCod","gx.O.A444ForNomComp"],["A444ForNomComp"]);this.Gx_mode=this.sMode45;return true};this.standaloneModal0845=function(){try{if(this.Gx_mode!="INS"){gx.fn.setCtrlProperty("UNDCOD","Enabled",0)
}else{gx.fn.setCtrlProperty("UNDCOD","Enabled",1)}}catch(a){}try{if(this.Gx_mode!="INS"){gx.fn.setCtrlProperty("DOENROSEQU","Enabled",0)}else{gx.fn.setCtrlProperty("DOENROSEQU","Enabled",1)}}catch(a){}return true};this.standaloneNotModal0845=function(){return true};this.Valid_Dvonrovolu=function(){this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,162);this.standaloneModal0841();this.standaloneNotModal0841();gx.ajax.validSrvEvt("dyncall","valid_Dvonrovolu",["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"]);
this.Gx_mode=this.sMode41;return true};this.Valid_Dvonrotomo=function(){try{if(gx.fn.currentGridRowImpl(162)===0){return true}var a=gx.util.balloon.getNew("DVONROTOMO",gx.fn.currentGridRowImpl(162));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,162);if(gx.fn.gridDuplicateKey(165)){a.setError(gx.text.format(gx.getMessage("GXM_1004"),"Level2"));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_Caecod=function(){this.sMode41=this.Gx_mode;
this.Gx_mode=gx.fn.getGridRowMode(41,162);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,162);gx.ajax.validSrvEvt("dyncall","valid_Loccod",["gx.O.A922UndCod","gx.O.A509LocCod","gx.O.A512LocNom"],["A512LocNom"]);this.Gx_mode=this.sMode41;return true};this.standaloneModal0841=function(){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.standaloneNotModal0841=function(){return true};this.e11085_client=function(){this.executeServerEvent("ENTER",true)};this.e12085_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,15,18,20,24,26,29,31,34,36,39,41,44,46,53,56,58,61,63,66,68,71,73,76,78,81,83,86,88,91,93,96,98,101,103,106,108,111,113,116,118,121,123,126,128,131,133,136,138,141,143,146,148,151,153,156,158,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,187];
this.GXLastCtrlId=187;this.Grid1Container=new gx.grid.grid(this,45,"Level1",50,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"tabt063",[922,281],true,1,true,true,5,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.startTable("Table3",53,"0px");this.Grid1Container.addHtmlCode("<TBODY>");this.Grid1Container.startRow("","","","","","");
this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK7",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(922,58,"UNDCOD","","","UndCod","int",3,"chr",3,3,"right",null,[],922,"UndCod",true,0,false,false);this.Grid1Container.addBitmap("prompt_922","PROMPT_922",188,0,"",0,"",null,"","");this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");
this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK8",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(281,63,"DOENROSEQU","","","DoeNroSequ","int",4,"chr",4,4,"right",null,[],281,"DoeNroSequ",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");
this.Grid1Container.addTextBlock("TEXTBLOCK9",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(925,68,"UNDNOMCOMP","","","UndNomComp","char",40,"chr",40,40,"left",null,[],925,"UndNomComp",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK10",null);
this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(926,73,"UNDNOMSIGL","","","UndNomSigl","char",3,"chr",3,3,"left",null,[],926,"UndNomSigl",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK11",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");
this.Grid1Container.addSingleLineEdit(271,78,"DOEDATAQUI","","","DoeDatAqui","date",10,"chr",10,10,"right",null,[],271,"DoeDatAqui",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK12",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(899,83,"TPACOD","","","TpaCod","char",3,"chr",3,3,"left",null,[],899,"TpaCod",true,0,false,false);
this.Grid1Container.addBitmap("prompt_899","PROMPT_899",189,0,"",0,"",null,"","");this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK13",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(1013,88,"TPADSC","","","TpaDsc","char",25,"chr",25,25,"left",null,[],1013,"TpaDsc",true,0,false,false);
this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK16",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(272,93,"DOEDATBAIX","","","DoeDatBaix","date",10,"chr",10,10,"right",null,[],272,"DoeDatBaix",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();
this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK17",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(277,98,"DOEDESMOTI","","","DoeDesMoti","char",25,"chr",25,25,"left",null,[],277,"DoeDesMoti",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");
this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK18",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(96,103,"DOEVALOR","","","DoeValor","decimal",14,"chr",14,12,"right",null,[],96,"DoeValor",true,2,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");
this.Grid1Container.addTextBlock("TEXTBLOCK19",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(276,108,"DOEDESMOED","","","DoeDesMoed","char",5,"chr",5,5,"left",null,[],276,"DoeDesMoed",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK20",null);
this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(278,113,"DOEDESOBSE","","","DoeDesObse","char",30,"chr",30,30,"left",null,[],278,"DoeDesObse",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK21",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");
this.Grid1Container.addSingleLineEdit(433,118,"FORCOD","","","ForCod","int",6,"chr",6,6,"right",null,[],433,"ForCod",true,0,false,false);this.Grid1Container.addBitmap("prompt_433","PROMPT_433",190,0,"",0,"",null,"","");this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK22",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");
this.Grid1Container.addSingleLineEdit(444,123,"FORNOMCOMP","","","ForNomComp","char",60,"chr",60,60,"left",null,[],444,"ForNomComp",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK23",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(273,128,"DOEDATLIMI","","","DoeDatLimi","date",10,"chr",10,10,"right",null,[],273,"DoeDatLimi",true,0,false,false);
this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK24",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(275,133,"DOEDATVALI","","","DoeDatVali","date",10,"chr",10,10,"right",null,[],275,"DoeDatVali",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();
this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK25",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(270,138,"DOECODPROP","","","DoeCodProp","char",3,"chr",3,3,"left",null,[],270,"DoeCodProp",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");
this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addTextBlock("TEXTBLOCK26",null);this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.addSingleLineEdit(269,143,"DOECODCENT","","","DoeCodCent","char",6,"chr",6,6,"left",null,[],269,"DoeCodCent",true,0,false,false);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(283,148,"DOEQTDRENO","","","DoeQtdReno","int",2,"chr",2,2,"right",null,[],283,"DoeQtdReno",true,0,false,false);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(279,153,"DOEINDNOVO","","","DoeIndNovo","char",1,"chr",2,1,"left",null,[],279,"DoeIndNovo",true,0,false,false);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.addSingleLineEdit(267,158,"DOECAMPO1L","","","DoeCampo1L","char",10,"chr",10,10,"left",null,[],267,"DoeCampo1L",true,0,false,false);this.Grid1Container.endCell();this.Grid1Container.endRow();this.Grid1Container.startRow("","","","","","");this.Grid1Container.startCell("","","","","","","","","","");this.Grid1Container.endCell();this.Grid1Container.startCell("","","","","","","","","","");this.Grid2Container=new gx.grid.grid(this,41,"Level2",162,"Grid2","Grid2","Grid2Container",this.CmpContext,this.IsMasterPage,"tabt063",[317,316],false,1,false,true,5,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid2Container.addSingleLineEdit("nRcdDeleted_41",163,"vNRCDDELETED_41","","","nRcdDeleted_41","int",0,"px",4,4,"right",null,[],"nRcdDeleted_41","nRcdDeleted_41",true,0,false,false);this.Grid2Container.addSingleLineEdit(317,164,"DVONROVOLU","Número do item","","DvoNroVolu","int",0,"px",6,6,"right",null,[],317,"DvoNroVolu",true,0,false,false);this.Grid2Container.addBitmap("prompt_317","PROMPT_317",191,0,"",0,"",null,"","");this.Grid2Container.addSingleLineEdit(316,165,"DVONROTOMO","Número do tomo","","DvoNroTomo","int",0,"px",2,2,"right",null,[],316,"DvoNroTomo",true,0,false,false);
this.Grid2Container.addSingleLineEdit(315,166,"DVONROTOMB","Número tombo","","DvoNroTomb","int",0,"px",9,9,"right",null,[],315,"DvoNroTomb",true,0,false,false);this.Grid2Container.addSingleLineEdit(310,167,"DVODESVOLU","Descrição","","DvoDesVolu","vchar",0,"px",36864,36864,"left",null,[],310,"DvoDesVolu",true,0,false,false);this.Grid2Container.addSingleLineEdit(306,168,"DVODATBAIX","Data da baixa","","DvoDatbaix","date",0,"px",10,10,"right",null,[],306,"DvoDatbaix",true,0,false,false);this.Grid2Container.addSingleLineEdit(309,169,"DVODESMOTI","Motivo baixa / Período fascíc","","DvoDesMoti","char",0,"px",25,25,"left",null,[],309,"DvoDesMoti",true,0,false,false);
this.Grid2Container.addSingleLineEdit(318,170,"DVOQTDRENO","Quantidade de renovações","","DvoQtdReno","int",0,"px",2,2,"right",null,[],318,"DvoQtdReno",true,0,false,false);this.Grid2Container.addSingleLineEdit(308,171,"DVODATEFET","Recebimento efetivo","","DvoDatEfet","date",0,"px",10,10,"right",null,[],308,"DvoDatEfet",true,0,false,false);this.Grid2Container.addSingleLineEdit(79,172,"CAECOD","Código","","CaeCod","int",0,"px",3,3,"right",null,[],79,"CaeCod",true,0,false,false);this.Grid2Container.addBitmap("prompt_79","PROMPT_79",192,0,"",0,"",null,"","");
this.Grid2Container.addSingleLineEdit(84,173,"CAENOM","Descrição","","CaeNom","char",0,"px",30,30,"left",null,[],84,"CaeNom",true,0,false,false);this.Grid2Container.addSingleLineEdit(225,174,"DITNROVOLU","Volume","","DitNroVolu","char",0,"px",5,5,"left",null,[],225,"DitNroVolu",true,0,false,false);this.Grid2Container.addSingleLineEdit(224,175,"DITNROTOMO","Tomo","","DitNroTomo","char",0,"px",3,3,"left",null,[],224,"DitNroTomo",true,0,false,false);this.Grid2Container.addSingleLineEdit(509,176,"LOCCOD","Localização","","LocCod","int",0,"px",3,3,"right",null,[],509,"LocCod",true,0,false,false);
this.Grid2Container.addBitmap("prompt_509","PROMPT_509",193,0,"",0,"",null,"","");this.Grid2Container.addSingleLineEdit(512,177,"LOCNOM","Nome da localização","","LocNom","char",0,"px",45,45,"left",null,[],512,"LocNom",true,0,false,false);this.Grid2Container.addSingleLineEdit(227,178,"DITVALEXTE","Extensão","","DitValExte","char",0,"px",20,20,"left",null,[],227,"DitValExte",true,0,false,false);this.Grid2Container.addSingleLineEdit(222,179,"DITDATPUBL","Data da publicação","","DitDatPubl","date",0,"px",10,10,"right",null,[],222,"DitDatPubl",true,0,false,false);
this.Grid1Container.addGrid(this.Grid2Container);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[2]={fld:"TABLE1",grid:0};this.GXValidFnc[15]={fld:"TABLE2",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[20]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Docnro,isvalid:null,rgrid:[this.Grid1Container,this.Grid2Container],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[36,31,26],ip:[36,31,26,20],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[24]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[26]={lvl:0,type:"char",len:25,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"DOCCODASSU",gxz:"Z234DocCodAssu",gxold:"O234DocCodAssu",gxvar:"A234DocCodAssu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A234DocCodAssu=a
},v2z:function(a){gx.O.Z234DocCodAssu=a},v2c:function(){gx.fn.setControlValue("DOCCODASSU",gx.O.A234DocCodAssu,0)},c2v:function(){gx.O.A234DocCodAssu=this.val()},val:function(){return gx.fn.getControlValue("DOCCODASSU")},nac:function(){return false}};this.GXValidFnc[29]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[31]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"DOCQTDVOLU",gxz:"Z264DocQtdVolu",gxold:"O264DocQtdVolu",gxvar:"A264DocQtdVolu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A264DocQtdVolu=gx.num.intval(a)
},v2z:function(a){gx.O.Z264DocQtdVolu=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("DOCQTDVOLU",gx.O.A264DocQtdVolu,0)},c2v:function(){gx.O.A264DocQtdVolu=this.val()},val:function(){return gx.fn.getIntegerValue("DOCQTDVOLU",".")},nac:function(){return false}};this.GXValidFnc[34]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[36]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Tidcod,isvalid:null,fld:"TIDCOD",gxz:"Z863TidCod",gxold:"O863TidCod",gxvar:"A863TidCod",ucs:[],op:[46,41],ip:[46,41,36],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A863TidCod=a
},v2z:function(a){gx.O.Z863TidCod=a},v2c:function(){gx.fn.setControlValue("TIDCOD",gx.O.A863TidCod,0)},c2v:function(){gx.O.A863TidCod=this.val()},val:function(){return gx.fn.getControlValue("TIDCOD")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[41]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"TIDDES",gxz:"Z868TidDes",gxold:"O868TidDes",gxvar:"A868TidDes",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A868TidDes=a
},v2z:function(a){gx.O.Z868TidDes=a},v2c:function(){gx.fn.setControlValue("TIDDES",gx.O.A868TidDes,0)},c2v:function(){gx.O.A868TidDes=this.val()},val:function(){return gx.fn.getControlValue("TIDDES")},nac:function(){return false}};this.GXValidFnc[44]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[46]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"TIDINDNROT",gxz:"Z872TidIndNroT",gxold:"O872TidIndNroT",gxvar:"A872TidIndNroT",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.A872TidIndNroT=a
},v2z:function(a){gx.O.Z872TidIndNroT=a},v2c:function(){gx.fn.setRadioValue("TIDINDNROT",gx.O.A872TidIndNroT)},c2v:function(){gx.O.A872TidIndNroT=this.val()},val:function(){return gx.fn.getControlValue("TIDINDNROT")},nac:function(){return false}};this.GXValidFnc[53]={fld:"TABLE3",grid:50};this.GXValidFnc[56]={fld:"TEXTBLOCK7",format:0,grid:50};this.GXValidFnc[58]={lvl:45,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:50,gxgrid:this.Grid1Container,fnc:this.Valid_Undcod,isvalid:null,rgrid:[this.Grid2Container],fld:"UNDCOD",gxz:"Z922UndCod",gxold:"O922UndCod",gxvar:"A922UndCod",ucs:[],op:[73,68],ip:[73,68,58],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A922UndCod=gx.num.intval(a)
},v2z:function(a){gx.O.Z922UndCod=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("UNDCOD",gx.fn.currentGridRowImpl(50),gx.O.A922UndCod,0)},c2v:function(){gx.O.A922UndCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("UNDCOD",gx.fn.currentGridRowImpl(50),".")},nac:function(){return false}};this.GXValidFnc[61]={fld:"TEXTBLOCK8",format:0,grid:50};this.GXValidFnc[63]={lvl:45,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:50,gxgrid:this.Grid1Container,fnc:this.Valid_Doenrosequ,isvalid:null,rgrid:[this.Grid2Container],fld:"DOENROSEQU",gxz:"Z281DoeNroSequ",gxold:"O281DoeNroSequ",gxvar:"A281DoeNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A281DoeNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z281DoeNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOENROSEQU",gx.fn.currentGridRowImpl(50),gx.O.A281DoeNroSequ,0)},c2v:function(){gx.O.A281DoeNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOENROSEQU",gx.fn.currentGridRowImpl(50),".")},nac:function(){return false}};this.GXValidFnc[66]={fld:"TEXTBLOCK9",format:0,grid:50};this.GXValidFnc[68]={lvl:45,type:"char",len:40,dec:0,sign:false,ro:1,grid:50,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"UNDNOMCOMP",gxz:"Z925UndNomComp",gxold:"O925UndNomComp",gxvar:"A925UndNomComp",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A925UndNomComp=a
},v2z:function(a){gx.O.Z925UndNomComp=a},v2c:function(){gx.fn.setGridControlValue("UNDNOMCOMP",gx.fn.currentGridRowImpl(50),gx.O.A925UndNomComp,0)},c2v:function(){gx.O.A925UndNomComp=this.val()},val:function(){return gx.fn.getGridControlValue("UNDNOMCOMP",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[71]={fld:"TEXTBLOCK10",format:0,grid:50};this.GXValidFnc[73]={lvl:45,type:"char",len:3,dec:0,sign:false,ro:1,grid:50,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"UNDNOMSIGL",gxz:"Z926UndNomSigl",gxold:"O926UndNomSigl",gxvar:"A926UndNomSigl",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A926UndNomSigl=a
},v2z:function(a){gx.O.Z926UndNomSigl=a},v2c:function(){gx.fn.setGridControlValue("UNDNOMSIGL",gx.fn.currentGridRowImpl(50),gx.O.A926UndNomSigl,0)},c2v:function(){gx.O.A926UndNomSigl=this.val()},val:function(){return gx.fn.getGridControlValue("UNDNOMSIGL",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[76]={fld:"TEXTBLOCK11",format:0,grid:50};this.GXValidFnc[78]={lvl:45,type:"date",len:10,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOEDATAQUI",gxz:"Z271DoeDatAqui",gxold:"O271DoeDatAqui",gxvar:"A271DoeDatAqui",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.A271DoeDatAqui=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z271DoeDatAqui=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("DOEDATAQUI",gx.fn.currentGridRowImpl(50),gx.O.A271DoeDatAqui,0)},c2v:function(){gx.O.A271DoeDatAqui=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDATAQUI",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[81]={fld:"TEXTBLOCK12",format:0,grid:50};this.GXValidFnc[83]={lvl:45,type:"char",len:3,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,fnc:this.Valid_Tpacod,isvalid:null,fld:"TPACOD",gxz:"Z899TpaCod",gxold:"O899TpaCod",gxvar:"A899TpaCod",ucs:[],op:[88],ip:[88,83],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A899TpaCod=a
},v2z:function(a){gx.O.Z899TpaCod=a},v2c:function(){gx.fn.setGridControlValue("TPACOD",gx.fn.currentGridRowImpl(50),gx.O.A899TpaCod,0)},c2v:function(){gx.O.A899TpaCod=this.val()},val:function(){return gx.fn.getGridControlValue("TPACOD",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[86]={fld:"TEXTBLOCK13",format:0,grid:50};this.GXValidFnc[88]={lvl:45,type:"char",len:25,dec:0,sign:false,ro:1,grid:50,gxgrid:this.Grid1Container,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.setGridControlValue("TPADSC",gx.fn.currentGridRowImpl(50),gx.O.A1013TpaDsc,0)},c2v:function(){gx.O.A1013TpaDsc=this.val()},val:function(){return gx.fn.getGridControlValue("TPADSC",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[91]={fld:"TEXTBLOCK16",format:0,grid:50};this.GXValidFnc[93]={lvl:45,type:"date",len:10,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,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.setGridControlValue("DOEDATBAIX",gx.fn.currentGridRowImpl(50),gx.O.A272DoeDatBaix,0)},c2v:function(){gx.O.A272DoeDatBaix=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDATBAIX",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[96]={fld:"TEXTBLOCK17",format:0,grid:50};this.GXValidFnc[98]={lvl:45,type:"char",len:25,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOEDESMOTI",gxz:"Z277DoeDesMoti",gxold:"O277DoeDesMoti",gxvar:"A277DoeDesMoti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A277DoeDesMoti=a
},v2z:function(a){gx.O.Z277DoeDesMoti=a},v2c:function(){gx.fn.setGridControlValue("DOEDESMOTI",gx.fn.currentGridRowImpl(50),gx.O.A277DoeDesMoti,0)},c2v:function(){gx.O.A277DoeDesMoti=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDESMOTI",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[101]={fld:"TEXTBLOCK18",format:0,grid:50};this.GXValidFnc[103]={lvl:45,type:"decimal",len:12,dec:2,sign:false,pic:"ZZZ,ZZZ,ZZ9.99",ro:0,grid:50,gxgrid:this.Grid1Container,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.setGridDecimalValue("DOEVALOR",gx.fn.currentGridRowImpl(50),gx.O.A96DoeValor,2,",")},c2v:function(){gx.O.A96DoeValor=this.val()},val:function(){return gx.fn.getGridDecimalValue("DOEVALOR",gx.fn.currentGridRowImpl(50),".",",")},nac:function(){return false}};this.GXValidFnc[106]={fld:"TEXTBLOCK19",format:0,grid:50};this.GXValidFnc[108]={lvl:45,type:"char",len:5,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,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.setGridControlValue("DOEDESMOED",gx.fn.currentGridRowImpl(50),gx.O.A276DoeDesMoed,0)},c2v:function(){gx.O.A276DoeDesMoed=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDESMOED",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[111]={fld:"TEXTBLOCK20",format:0,grid:50};this.GXValidFnc[113]={lvl:45,type:"char",len:30,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,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.setGridControlValue("DOEDESOBSE",gx.fn.currentGridRowImpl(50),gx.O.A278DoeDesObse,0)},c2v:function(){gx.O.A278DoeDesObse=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDESOBSE",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[116]={fld:"TEXTBLOCK21",format:0,grid:50};this.GXValidFnc[118]={lvl:45,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:50,gxgrid:this.Grid1Container,fnc:this.Valid_Forcod,isvalid:null,rgrid:[],fld:"FORCOD",gxz:"Z433ForCod",gxold:"O433ForCod",gxvar:"A433ForCod",ucs:[],op:[123],ip:[123,118],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.setGridControlValue("FORCOD",gx.fn.currentGridRowImpl(50),gx.O.A433ForCod,0)},c2v:function(){gx.O.A433ForCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("FORCOD",gx.fn.currentGridRowImpl(50),".")},nac:function(){return false}};this.GXValidFnc[121]={fld:"TEXTBLOCK22",format:0,grid:50};this.GXValidFnc[123]={lvl:45,type:"char",len:60,dec:0,sign:false,ro:1,grid:50,gxgrid:this.Grid1Container,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.setGridControlValue("FORNOMCOMP",gx.fn.currentGridRowImpl(50),gx.O.A444ForNomComp,0)},c2v:function(){gx.O.A444ForNomComp=this.val()},val:function(){return gx.fn.getGridControlValue("FORNOMCOMP",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[126]={fld:"TEXTBLOCK23",format:0,grid:50};this.GXValidFnc[128]={lvl:45,type:"date",len:10,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOEDATLIMI",gxz:"Z273DoeDatLimi",gxold:"O273DoeDatLimi",gxvar:"A273DoeDatLimi",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A273DoeDatLimi=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z273DoeDatLimi=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("DOEDATLIMI",gx.fn.currentGridRowImpl(50),gx.O.A273DoeDatLimi,0)},c2v:function(){gx.O.A273DoeDatLimi=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDATLIMI",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[131]={fld:"TEXTBLOCK24",format:0,grid:50};this.GXValidFnc[133]={lvl:45,type:"date",len:10,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,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.setGridControlValue("DOEDATVALI",gx.fn.currentGridRowImpl(50),gx.O.A275DoeDatVali,0)},c2v:function(){gx.O.A275DoeDatVali=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDATVALI",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[136]={fld:"TEXTBLOCK25",format:0,grid:50};this.GXValidFnc[138]={lvl:45,type:"char",len:3,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,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.setGridControlValue("DOECODPROP",gx.fn.currentGridRowImpl(50),gx.O.A270DoeCodProp,0)},c2v:function(){gx.O.A270DoeCodProp=this.val()},val:function(){return gx.fn.getGridControlValue("DOECODPROP",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[141]={fld:"TEXTBLOCK26",format:0,grid:50};this.GXValidFnc[143]={lvl:45,type:"char",len:6,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOECODCENT",gxz:"Z269DoeCodCent",gxold:"O269DoeCodCent",gxvar:"A269DoeCodCent",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A269DoeCodCent=a
},v2z:function(a){gx.O.Z269DoeCodCent=a},v2c:function(){gx.fn.setGridControlValue("DOECODCENT",gx.fn.currentGridRowImpl(50),gx.O.A269DoeCodCent,0)},c2v:function(){gx.O.A269DoeCodCent=this.val()},val:function(){return gx.fn.getGridControlValue("DOECODCENT",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[146]={fld:"TEXTBLOCK27",format:0,grid:50};this.GXValidFnc[148]={lvl:45,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:50,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOEQTDRENO",gxz:"Z283DoeQtdReno",gxold:"O283DoeQtdReno",gxvar:"A283DoeQtdReno",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A283DoeQtdReno=gx.num.intval(a)
},v2z:function(a){gx.O.Z283DoeQtdReno=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOEQTDRENO",gx.fn.currentGridRowImpl(50),gx.O.A283DoeQtdReno,0)},c2v:function(){gx.O.A283DoeQtdReno=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOEQTDRENO",gx.fn.currentGridRowImpl(50),".")},nac:function(){return false}};this.GXValidFnc[151]={fld:"TEXTBLOCK28",format:0,grid:50};this.GXValidFnc[153]={lvl:45,type:"char",len:1,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOEINDNOVO",gxz:"Z279DoeIndNovo",gxold:"O279DoeIndNovo",gxvar:"A279DoeIndNovo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A279DoeIndNovo=a
},v2z:function(a){gx.O.Z279DoeIndNovo=a},v2c:function(){gx.fn.setGridControlValue("DOEINDNOVO",gx.fn.currentGridRowImpl(50),gx.O.A279DoeIndNovo,0)},c2v:function(){gx.O.A279DoeIndNovo=this.val()},val:function(){return gx.fn.getGridControlValue("DOEINDNOVO",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[156]={fld:"TEXTBLOCK29",format:0,grid:50};this.GXValidFnc[158]={lvl:45,type:"char",len:10,dec:0,sign:false,ro:0,grid:50,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOECAMPO1L",gxz:"Z267DoeCampo1L",gxold:"O267DoeCampo1L",gxvar:"A267DoeCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A267DoeCampo1L=a
},v2z:function(a){gx.O.Z267DoeCampo1L=a},v2c:function(){gx.fn.setGridControlValue("DOECAMPO1L",gx.fn.currentGridRowImpl(50),gx.O.A267DoeCampo1L,0)},c2v:function(){gx.O.A267DoeCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("DOECAMPO1L",gx.fn.currentGridRowImpl(50))},nac:function(){return false}};this.GXValidFnc[163]={lvl:41,type:"int",len:4,dec:0,sign:false,pic:"9999",ro:0,grid:162,gxgrid:this.Grid2Container,fnc:null,isvalid:null,rgrid:[],fld:"vNRCDDELETED_41",gxz:"ZnRcdDeleted_41",gxold:"OnRcdDeleted_41",gxvar:"nRcdDeleted_41",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.nRcdDeleted_41=gx.num.intval(a)
},v2z:function(a){gx.O.ZnRcdDeleted_41=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vNRCDDELETED_41",gx.fn.currentGridRowImpl(162),gx.O.nRcdDeleted_41,0)},c2v:function(){gx.O.nRcdDeleted_41=this.val()},val:function(){return gx.fn.getGridIntegerValue("vNRCDDELETED_41",gx.fn.currentGridRowImpl(162),".")},nac:function(){return false}};this.GXValidFnc[164]={lvl:41,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:162,gxgrid:this.Grid2Container,fnc:this.Valid_Dvonrovolu,isvalid:null,rgrid:[],fld:"DVONROVOLU",gxz:"Z317DvoNroVolu",gxold:"O317DvoNroVolu",gxvar:"A317DvoNroVolu",ucs:[],op:[179,178,175,174],ip:[179,178,175,174,164,20],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(162),gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(162),".")},nac:function(){return false}};this.GXValidFnc[165]={lvl:41,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:162,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(162),gx.O.A316DvoNroTomo,0)},c2v:function(){gx.O.A316DvoNroTomo=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMO",gx.fn.currentGridRowImpl(162),".")},nac:function(){return false}};this.GXValidFnc[166]={lvl:41,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:162,gxgrid:this.Grid2Container,fnc:null,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(162),gx.O.A315DvoNroTomb,0)},c2v:function(){gx.O.A315DvoNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMB",gx.fn.currentGridRowImpl(162),".")},nac:function(){return false}};this.GXValidFnc[167]={lvl:41,type:"vchar",len:36864,dec:0,sign:false,ro:0,grid:162,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"DVODESVOLU",gxz:"Z310DvoDesVolu",gxold:"O310DvoDesVolu",gxvar:"A310DvoDesVolu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A310DvoDesVolu=a
},v2z:function(a){gx.O.Z310DvoDesVolu=a},v2c:function(){gx.fn.setGridControlValue("DVODESVOLU",gx.fn.currentGridRowImpl(162),gx.O.A310DvoDesVolu,0)},c2v:function(){gx.O.A310DvoDesVolu=this.val()},val:function(){return gx.fn.getGridControlValue("DVODESVOLU",gx.fn.currentGridRowImpl(162))},nac:function(){return false}};this.GXValidFnc[168]={lvl:41,type:"date",len:10,dec:0,sign:false,ro:0,grid:162,gxgrid:this.Grid2Container,fnc:null,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(162),gx.O.A306DvoDatbaix,0)},c2v:function(){gx.O.A306DvoDatbaix=this.val()},val:function(){return gx.fn.getGridControlValue("DVODATBAIX",gx.fn.currentGridRowImpl(162))},nac:function(){return false}};this.GXValidFnc[169]={lvl:41,type:"char",len:25,dec:0,sign:false,ro:0,grid:162,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"DVODESMOTI",gxz:"Z309DvoDesMoti",gxold:"O309DvoDesMoti",gxvar:"A309DvoDesMoti",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A309DvoDesMoti=a
},v2z:function(a){gx.O.Z309DvoDesMoti=a},v2c:function(){gx.fn.setGridControlValue("DVODESMOTI",gx.fn.currentGridRowImpl(162),gx.O.A309DvoDesMoti,0)},c2v:function(){gx.O.A309DvoDesMoti=this.val()},val:function(){return gx.fn.getGridControlValue("DVODESMOTI",gx.fn.currentGridRowImpl(162))},nac:function(){return false}};this.GXValidFnc[170]={lvl:41,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:162,gxgrid:this.Grid2Container,fnc:null,isvalid:null,rgrid:[],fld:"DVOQTDRENO",gxz:"Z318DvoQtdReno",gxold:"O318DvoQtdReno",gxvar:"A318DvoQtdReno",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A318DvoQtdReno=gx.num.intval(a)
},v2z:function(a){gx.O.Z318DvoQtdReno=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DVOQTDRENO",gx.fn.currentGridRowImpl(162),gx.O.A318DvoQtdReno,0)},c2v:function(){gx.O.A318DvoQtdReno=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVOQTDRENO",gx.fn.currentGridRowImpl(162),".")},nac:function(){return false}};this.GXValidFnc[171]={lvl:41,type:"date",len:10,dec:0,sign:false,ro:0,grid:162,gxgrid:this.Grid2Container,fnc:null,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(162),gx.O.A308DvoDatEfet,0)},c2v:function(){gx.O.A308DvoDatEfet=this.val()},val:function(){return gx.fn.getGridControlValue("DVODATEFET",gx.fn.currentGridRowImpl(162))},nac:function(){return false}};this.GXValidFnc[172]={lvl:41,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:162,gxgrid:this.Grid2Container,fnc:this.Valid_Caecod,isvalid:null,rgrid:[],fld:"CAECOD",gxz:"Z79CaeCod",gxold:"O79CaeCod",gxvar:"A79CaeCod",ucs:[],op:[173],ip:[173,172],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(162),gx.O.A79CaeCod,0)},c2v:function(){gx.O.A79CaeCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("CAECOD",gx.fn.currentGridRowImpl(162),".")},nac:function(){return false}};this.GXValidFnc[173]={lvl:41,type:"char",len:30,dec:0,sign:false,ro:1,grid:162,gxgrid:this.Grid2Container,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(162),gx.O.A84CaeNom,0)},c2v:function(){gx.O.A84CaeNom=this.val()},val:function(){return gx.fn.getGridControlValue("CAENOM",gx.fn.currentGridRowImpl(162))},nac:function(){return false}};this.GXValidFnc[174]={lvl:41,type:"char",len:5,dec:0,sign:false,ro:1,grid:162,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(162),gx.O.A225DitNroVolu,0)},c2v:function(){gx.O.A225DitNroVolu=this.val()},val:function(){return gx.fn.getGridControlValue("DITNROVOLU",gx.fn.currentGridRowImpl(162))},nac:function(){return false}};this.GXValidFnc[175]={lvl:41,type:"char",len:3,dec:0,sign:false,ro:1,grid:162,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(162),gx.O.A224DitNroTomo,0)},c2v:function(){gx.O.A224DitNroTomo=this.val()},val:function(){return gx.fn.getGridControlValue("DITNROTOMO",gx.fn.currentGridRowImpl(162))},nac:function(){return false}};this.GXValidFnc[176]={lvl:41,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:162,gxgrid:this.Grid2Container,fnc:this.Valid_Loccod,isvalid:null,rgrid:[],fld:"LOCCOD",gxz:"Z509LocCod",gxold:"O509LocCod",gxvar:"A509LocCod",ucs:[],op:[177],ip:[177,176,58],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(162),gx.O.A509LocCod,0)},c2v:function(){gx.O.A509LocCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("LOCCOD",gx.fn.currentGridRowImpl(162),".")},nac:function(){return false}};this.GXValidFnc[177]={lvl:41,type:"char",len:45,dec:0,sign:false,ro:1,grid:162,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(162),gx.O.A512LocNom,0)},c2v:function(){gx.O.A512LocNom=this.val()},val:function(){return gx.fn.getGridControlValue("LOCNOM",gx.fn.currentGridRowImpl(162))},nac:function(){return false}};this.GXValidFnc[178]={lvl:41,type:"char",len:20,dec:0,sign:false,ro:1,grid:162,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(162),gx.O.A227DitValExte,0)},c2v:function(){gx.O.A227DitValExte=this.val()},val:function(){return gx.fn.getGridControlValue("DITVALEXTE",gx.fn.currentGridRowImpl(162))},nac:function(){return false}};this.GXValidFnc[179]={lvl:41,type:"date",len:10,dec:0,sign:false,ro:1,grid:162,gxgrid:this.Grid2Container,fnc:null,isvalid:null,fld:"DITDATPUBL",gxz:"Z222DitDatPubl",gxold:"O222DitDatPubl",gxvar:"A222DitDatPubl",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A222DitDatPubl=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z222DitDatPubl=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("DITDATPUBL",gx.fn.currentGridRowImpl(162),gx.O.A222DitDatPubl,0)},c2v:function(){gx.O.A222DitDatPubl=this.val()},val:function(){return gx.fn.getGridControlValue("DITDATPUBL",gx.fn.currentGridRowImpl(162))},nac:function(){return false}};this.GXValidFnc[187]={fld:"PROMPT_863",grid:5};this.A258DocNro=0;this.Z258DocNro=0;this.O258DocNro=0;this.A234DocCodAssu="";this.Z234DocCodAssu="";this.O234DocCodAssu="";
this.A264DocQtdVolu=0;this.Z264DocQtdVolu=0;this.O264DocQtdVolu=0;this.A863TidCod="";this.Z863TidCod="";this.O863TidCod="";this.A868TidDes="";this.Z868TidDes="";this.O868TidDes="";this.A872TidIndNroT="";this.Z872TidIndNroT="";this.O872TidIndNroT="";this.Z922UndCod=0;this.O922UndCod=0;this.Z281DoeNroSequ=0;this.O281DoeNroSequ=0;this.Z925UndNomComp="";this.O925UndNomComp="";this.Z926UndNomSigl="";this.O926UndNomSigl="";this.Z271DoeDatAqui=gx.date.nullDate();this.O271DoeDatAqui=gx.date.nullDate();this.Z899TpaCod="";
this.O899TpaCod="";this.Z1013TpaDsc="";this.O1013TpaDsc="";this.Z272DoeDatBaix=gx.date.nullDate();this.O272DoeDatBaix=gx.date.nullDate();this.Z277DoeDesMoti="";this.O277DoeDesMoti="";this.Z96DoeValor=0;this.O96DoeValor=0;this.Z276DoeDesMoed="";this.O276DoeDesMoed="";this.Z278DoeDesObse="";this.O278DoeDesObse="";this.Z433ForCod=0;this.O433ForCod=0;this.Z444ForNomComp="";this.O444ForNomComp="";this.Z273DoeDatLimi=gx.date.nullDate();this.O273DoeDatLimi=gx.date.nullDate();this.Z275DoeDatVali=gx.date.nullDate();
this.O275DoeDatVali=gx.date.nullDate();this.Z270DoeCodProp="";this.O270DoeCodProp="";this.Z269DoeCodCent="";this.O269DoeCodCent="";this.Z283DoeQtdReno=0;this.O283DoeQtdReno=0;this.Z279DoeIndNovo="";this.O279DoeIndNovo="";this.Z267DoeCampo1L="";this.O267DoeCampo1L="";this.ZnRcdDeleted_41=0;this.OnRcdDeleted_41=0;this.Z317DvoNroVolu=0;this.O317DvoNroVolu=0;this.Z316DvoNroTomo=0;this.O316DvoNroTomo=0;this.Z315DvoNroTomb=0;this.O315DvoNroTomb=0;this.Z310DvoDesVolu="";this.O310DvoDesVolu="";this.Z306DvoDatbaix=gx.date.nullDate();
this.O306DvoDatbaix=gx.date.nullDate();this.Z309DvoDesMoti="";this.O309DvoDesMoti="";this.Z318DvoQtdReno=0;this.O318DvoQtdReno=0;this.Z308DvoDatEfet=gx.date.nullDate();this.O308DvoDatEfet=gx.date.nullDate();this.Z79CaeCod=0;this.O79CaeCod=0;this.Z84CaeNom="";this.O84CaeNom="";this.Z225DitNroVolu="";this.O225DitNroVolu="";this.Z224DitNroTomo="";this.O224DitNroTomo="";this.Z509LocCod=0;this.O509LocCod=0;this.Z512LocNom="";this.O512LocNom="";this.Z227DitValExte="";this.O227DitValExte="";this.Z222DitDatPubl=gx.date.nullDate();
this.O222DitDatPubl=gx.date.nullDate();this.A317DvoNroVolu=0;this.A316DvoNroTomo=0;this.A315DvoNroTomb=0;this.A310DvoDesVolu="";this.A306DvoDatbaix=gx.date.nullDate();this.A309DvoDesMoti="";this.A318DvoQtdReno=0;this.A308DvoDatEfet=gx.date.nullDate();this.A79CaeCod=0;this.A84CaeNom="";this.A225DitNroVolu="";this.A224DitNroTomo="";this.A227DitValExte="";this.A222DitDatPubl=gx.date.nullDate();this.A512LocNom="";this.A509LocCod=0;this.A922UndCod=0;this.A281DoeNroSequ=0;this.A925UndNomComp="";this.A926UndNomSigl="";
this.A271DoeDatAqui=gx.date.nullDate();this.A899TpaCod="";this.A900TpaDes="";this.A1013TpaDsc="";this.A272DoeDatBaix=gx.date.nullDate();this.A277DoeDesMoti="";this.A96DoeValor=0;this.A276DoeDesMoed="";this.A278DoeDesObse="";this.A433ForCod=0;this.A444ForNomComp="";this.A273DoeDatLimi=gx.date.nullDate();this.A275DoeDatVali=gx.date.nullDate();this.A270DoeCodProp="";this.A269DoeCodCent="";this.A283DoeQtdReno=0;this.A279DoeIndNovo="";this.A267DoeCampo1L="";this.ServerEvents=["e11085_client","e12085_client"];
this.setPrompt("PROMPT_863",[36]);this.setPrompt("PROMPT_922",[58]);this.setPrompt("PROMPT_899",[83]);this.setPrompt("PROMPT_433",[118]);this.setPrompt("PROMPT_317",[164]);this.setPrompt("PROMPT_79",[172]);this.setPrompt("PROMPT_509",[176]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.VarControlMap.A900TpaDes={id:"TPADES",grid:50,type:"char"};this.SetStandaloneVars()}tabt063.prototype=new gx.GxObject;gx.setParentObj(new tabt063());