gx.evt.autoSkip=false;function tabt060(){this.ServerClass="TAbt060";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A280DoeNroAssi=gx.fn.getIntegerValue("DOENROASSI",".");this.A652PerNro=gx.fn.getIntegerValue("PERNRO",".");this.Gx_mode=gx.fn.getControlValue("vMODE");this.A79CaeCod=gx.fn.getIntegerValue("CAECOD",".");this.A225DitNroVolu=gx.fn.getControlValue("DITNROVOLU");this.A222DitDatPubl=gx.fn.getDateValue("DITDATPUBL");
this.A227DitValExte=gx.fn.getControlValue("DITVALEXTE");this.A220DitAnoEdic=gx.fn.getControlValue("DITANOEDIC");this.A226DitTipFasc=gx.fn.getControlValue("DITTIPFASC");this.A224DitNroTomo=gx.fn.getControlValue("DITNROTOMO");this.A223DitNroEdic=gx.fn.getControlValue("DITNROEDIC");this.A84CaeNom=gx.fn.getControlValue("CAENOM")};this.Valid_Docnro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Docnro",["gx.O.A258DocNro","gx.O.A863TidCod","gx.O.A652PerNro","gx.O.A868TidDes","gx.O.A872TidIndNroT","gx.O.A871TidIndModo"],["A863TidCod","A652PerNro","A868TidDes","A872TidIndNroT","A871TidIndModo"]);
return true};this.Valid_Undcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Undcod",["gx.O.A922UndCod"],[]);return true};this.Valid_Doenrosequ=function(){gx.ajax.validSrvEvt("dyncall","Valid_Doenrosequ",["gx.O.A871TidIndModo","gx.O.A258DocNro","gx.O.A922UndCod","gx.O.A281DoeNroSequ","gx.O.A280DoeNroAssi","gx.O.A433ForCod"],["A433ForCod","A280DoeNroAssi","A863TidCod","A652PerNro","A868TidDes","A872TidIndNroT","A871TidIndModo","Gx_mode","Z258DocNro","Z922UndCod","Z281DoeNroSequ","Z433ForCod","Z280DoeNroAssi","Z863TidCod","Z652PerNro","Z868TidDes","Z872TidIndNroT","Z871TidIndModo","Grid1",["BTN_GET","Enabled"],["BTN_ENTER","Enabled"],["BTN_CHECK","Enabled"]]);
return true};this.Valid_Tidcod=function(){try{var a=gx.util.balloon.getNew("TIDCOD");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Forcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Forcod",["gx.O.A433ForCod"],[]);return true};this.Valid_Dvonrovolu=function(){this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,49);this.standaloneModal1E41();this.standaloneNotModal1E41();gx.ajax.validSrvEvt("dyncall","Valid_Dvonrovolu",["gx.O.A258DocNro","gx.O.A317DvoNroVolu","gx.O.A225DitNroVolu",'gx.date.urlDate(gx.O.A222DitDatPubl,"DMY")',"gx.O.A227DitValExte","gx.O.A220DitAnoEdic","gx.O.A226DitTipFasc","gx.O.A224DitNroTomo","gx.O.A223DitNroEdic"],["A225DitNroVolu","A222DitDatPubl","A227DitValExte","A220DitAnoEdic","A226DitTipFasc","A224DitNroTomo","A223DitNroEdic"]);
this.Gx_mode=this.sMode41;return true};this.Valid_Dvonrotomo=function(){try{if(gx.fn.currentGridRowImpl(49)===0){return true}var a=gx.util.balloon.getNew("DVONROTOMO",gx.fn.currentGridRowImpl(49));this.AnyError=0;this.sMode41=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(41,49);if(gx.fn.gridDuplicateKey(52)){a.setError(gx.text.format(gx.getMessage("GXM_1004"),"Level1"));this.AnyError=1}}catch(b){}try{this.Gx_mode=this.sMode41;if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Loccod=function(){this.sMode41=this.Gx_mode;
this.Gx_mode=gx.fn.getGridRowMode(41,49);gx.ajax.validSrvEvt("dyncall","Valid_Loccod",["gx.O.A922UndCod","gx.O.A509LocCod"],[]);this.Gx_mode=this.sMode41;return true};this.standaloneModal1E41=function(){try{if(this.AnyError==0&&(this.A79CaeCod!=gx.fn.oldKey("A79CaeCodA84CaeNom"))){gx.ajax.loadCrl("gxLoad_9",new Array("A79CaeCod"),new Array("A84CaeNom"));if(GXLastAjaxSt==101){gxballoon.setError("Não existe 'Categorias p/ empréstimo'.");this.AnyError=1;gx.fn.unsetKey("A79CaeCodA84CaeNom")}else{gx.fn.setKey("A79CaeCodA84CaeNom","A79CaeCod")
}}}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.standaloneNotModal1E41=function(){return true};this.e111e45_client=function(){this.executeServerEvent("ENTER",true)};this.e121e45_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];
this.GXCtrlIds=[2,16,20,24,29,33,37,41,45,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,75,76,77];this.GXLastCtrlId=77;this.Grid1Container=new gx.grid.grid(this,41,"Level1",49,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"tabt060",[317,316],false,1,false,true,5,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("nRcdDeleted_41",50,"vNRCDDELETED_41","Remove Line","","nRcdDeleted_41","int",0,"px",4,4,"right",null,[],"nRcdDeleted_41","nRcdDeleted_41",true,0,false,false);
this.Grid1Container.addSingleLineEdit(317,51,"DVONROVOLU","Número volume","","DvoNroVolu","int",0,"px",6,6,"right",null,[],317,"DvoNroVolu",true,0,false,false);this.Grid1Container.addBitmap("prompt_317","PROMPT_317",78,0,"",0,"",null,"","");this.Grid1Container.addSingleLineEdit(316,52,"DVONROTOMO","Número do tomo","","DvoNroTomo","int",0,"px",2,2,"right",null,[],316,"DvoNroTomo",true,0,false,false);this.Grid1Container.addSingleLineEdit(315,53,"DVONROTOMB","Número tombo","","DvoNroTomb","int",0,"px",9,9,"right",null,[],315,"DvoNroTomb",true,0,false,false);
this.Grid1Container.addSingleLineEdit(310,54,"DVODESVOLU","Descrição","","DvoDesVolu","vchar",0,"px",36864,36864,"left",null,[],310,"DvoDesVolu",true,0,false,false);this.Grid1Container.addSingleLineEdit(306,55,"DVODATBAIX","Data da baixa","","DvoDatbaix","date",0,"px",10,10,"right",null,[],306,"DvoDatbaix",true,0,false,false);this.Grid1Container.addSingleLineEdit(309,56,"DVODESMOTI","Motivo baixa / Período fascíc","","DvoDesMoti","char",0,"px",25,25,"left",null,[],309,"DvoDesMoti",true,0,false,false);
this.Grid1Container.addSingleLineEdit(318,57,"DVOQTDRENO","Quantidade de renovações","","DvoQtdReno","int",0,"px",2,2,"right",null,[],318,"DvoQtdReno",true,0,false,false);this.Grid1Container.addSingleLineEdit(269,58,"DOECODCENT","Código centro de custo","","DoeCodCent","char",0,"px",6,6,"left",null,[],269,"DoeCodCent",true,0,false,false);this.Grid1Container.addSingleLineEdit(283,59,"DOEQTDRENO","Quantidade de renovações","","DoeQtdReno","int",0,"px",2,2,"right",null,[],283,"DoeQtdReno",true,0,false,false);
this.Grid1Container.addComboBox(319,60,"DVOTIPFASC","Tipo de fascículo","DvoTipFasc","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(509,61,"LOCCOD","Localização","","LocCod","int",0,"px",3,3,"right",null,[],509,"LocCod",true,0,false,false);this.Grid1Container.addBitmap("prompt_509","PROMPT_509",79,0,"",0,"",null,"","");this.Grid1Container.addSingleLineEdit(308,62,"DVODATEFET","Recebimento efetivo","","DvoDatEfet","date",0,"px",10,10,"right",null,[],308,"DvoDatEfet",true,0,false,false);
this.Grid1Container.addSingleLineEdit(314,63,"DVONROEDIC","Nr. ediçãO","","DvoNroEdic","int",0,"px",5,5,"right",null,[],314,"DvoNroEdic",true,0,false,false);this.Grid1Container.addSingleLineEdit(304,64,"DVOANOEDIC","Ano edição","","DvoAnoEdic","char",0,"px",5,5,"left",null,[],304,"DvoAnoEdic",true,0,false,false);this.Grid1Container.addComboBox(313,65,"DVOINDSITU","Situação","DvoIndSitu","int",null,0,true,false,0,"px");this.Grid1Container.addComboBox(311,66,"DVOINDFASC","Fascículo indexado","DvoIndFasc","char",null,0,true,false,0,"px");
this.Grid1Container.addSingleLineEdit(305,67,"DVOCAMPO1L","Campo livre","","DvoCampo1L","char",0,"px",5,5,"left",null,[],305,"DvoCampo1L",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[16]={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],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[41,37,33,29],ip:[41,37,33,29,16],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[20]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Undcod,isvalid:null,rgrid:[this.Grid1Container],fld:"UNDCOD",gxz:"Z922UndCod",gxold:"O922UndCod",gxvar:"A922UndCod",ucs:[],op:[],ip:[20],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[24]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Doenrosequ,isvalid:null,rgrid:[this.Grid1Container],fld:"DOENROSEQU",gxz:"Z281DoeNroSequ",gxold:"O281DoeNroSequ",gxvar:"A281DoeNroSequ",ucs:[],op:[45],ip:[45,24,20,16],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[29]={lvl:0,type:"char",len:3,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Tidcod,isvalid:null,fld:"TIDCOD",gxz:"Z863TidCod",gxold:"O863TidCod",gxvar:"A863TidCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A863TidCod=a
},v2z:function(a){gx.O.Z863TidCod=a},v2c:function(){gx.fn.setControlValue("TIDCOD",gx.O.A863TidCod,0)},c2v:function(){gx.O.A863TidCod=this.val()},val:function(){return gx.fn.getControlValue("TIDCOD")},nac:function(){return false}};this.GXValidFnc[33]={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[37]={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[41]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"TIDINDMODO",gxz:"Z871TidIndModo",gxold:"O871TidIndModo",gxvar:"A871TidIndModo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A871TidIndModo=a},v2z:function(a){gx.O.Z871TidIndModo=a
},v2c:function(){gx.fn.setComboBoxValue("TIDINDMODO",gx.O.A871TidIndModo)},c2v:function(){gx.O.A871TidIndModo=this.val()},val:function(){return gx.fn.getControlValue("TIDINDMODO")},nac:function(){return false}};this.GXValidFnc[45]={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:[],ip:[45],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[50]={lvl:41,type:"int",len:4,dec:0,sign:false,pic:"9999",ro:0,grid:49,gxgrid:this.Grid1Container,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(49),gx.O.nRcdDeleted_41,0)},c2v:function(){gx.O.nRcdDeleted_41=this.val()},val:function(){return gx.fn.getGridIntegerValue("vNRCDDELETED_41",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[51]={lvl:41,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:49,gxgrid:this.Grid1Container,fnc:this.Valid_Dvonrovolu,isvalid:null,rgrid:[],fld:"DVONROVOLU",gxz:"Z317DvoNroVolu",gxold:"O317DvoNroVolu",gxvar:"A317DvoNroVolu",ucs:[],op:[],ip:[51,16],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(49),gx.O.A317DvoNroVolu,0)},c2v:function(){gx.O.A317DvoNroVolu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROVOLU",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[52]={lvl:41,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:49,gxgrid:this.Grid1Container,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(49),gx.O.A316DvoNroTomo,0)},c2v:function(){gx.O.A316DvoNroTomo=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMO",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[53]={lvl:41,type:"int",len:9,dec:0,sign:false,pic:"ZZZZZZZZ9",ro:0,grid:49,gxgrid:this.Grid1Container,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(49),gx.O.A315DvoNroTomb,0)},c2v:function(){gx.O.A315DvoNroTomb=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROTOMB",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[54]={lvl:41,type:"vchar",len:36864,dec:0,sign:false,ro:0,grid:49,gxgrid:this.Grid1Container,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(49),gx.O.A310DvoDesVolu,0)},c2v:function(){gx.O.A310DvoDesVolu=this.val()},val:function(){return gx.fn.getGridControlValue("DVODESVOLU",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[55]={lvl:41,type:"date",len:10,dec:0,sign:false,ro:0,grid:49,gxgrid:this.Grid1Container,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(49),gx.O.A306DvoDatbaix,0)},c2v:function(){gx.O.A306DvoDatbaix=this.val()},val:function(){return gx.fn.getGridControlValue("DVODATBAIX",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[56]={lvl:41,type:"char",len:25,dec:0,sign:false,ro:0,grid:49,gxgrid:this.Grid1Container,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(49),gx.O.A309DvoDesMoti,0)},c2v:function(){gx.O.A309DvoDesMoti=this.val()},val:function(){return gx.fn.getGridControlValue("DVODESMOTI",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[57]={lvl:41,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:49,gxgrid:this.Grid1Container,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(49),gx.O.A318DvoQtdReno,0)},c2v:function(){gx.O.A318DvoQtdReno=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVOQTDRENO",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[58]={lvl:41,type:"char",len:6,dec:0,sign:false,ro:1,grid:49,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(49),gx.O.A269DoeCodCent,0)},c2v:function(){gx.O.A269DoeCodCent=this.val()},val:function(){return gx.fn.getGridControlValue("DOECODCENT",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[59]={lvl:41,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:49,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(49),gx.O.A283DoeQtdReno,0)},c2v:function(){gx.O.A283DoeQtdReno=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOEQTDRENO",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[60]={lvl:41,type:"char",len:1,dec:0,sign:false,ro:0,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DVOTIPFASC",gxz:"Z319DvoTipFasc",gxold:"O319DvoTipFasc",gxvar:"A319DvoTipFasc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A319DvoTipFasc=a
},v2z:function(a){gx.O.Z319DvoTipFasc=a},v2c:function(){gx.fn.setGridComboBoxValue("DVOTIPFASC",gx.fn.currentGridRowImpl(49),gx.O.A319DvoTipFasc)},c2v:function(){gx.O.A319DvoTipFasc=this.val()},val:function(){return gx.fn.getGridControlValue("DVOTIPFASC",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[61]={lvl:41,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:49,gxgrid:this.Grid1Container,fnc:this.Valid_Loccod,isvalid:null,rgrid:[],fld:"LOCCOD",gxz:"Z509LocCod",gxold:"O509LocCod",gxvar:"A509LocCod",ucs:[],op:[],ip:[61,20],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(49),gx.O.A509LocCod,0)},c2v:function(){gx.O.A509LocCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("LOCCOD",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[62]={lvl:41,type:"date",len:10,dec:0,sign:false,ro:0,grid:49,gxgrid:this.Grid1Container,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(49),gx.O.A308DvoDatEfet,0)},c2v:function(){gx.O.A308DvoDatEfet=this.val()},val:function(){return gx.fn.getGridControlValue("DVODATEFET",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[63]={lvl:41,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DVONROEDIC",gxz:"Z314DvoNroEdic",gxold:"O314DvoNroEdic",gxvar:"A314DvoNroEdic",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A314DvoNroEdic=gx.num.intval(a)
},v2z:function(a){gx.O.Z314DvoNroEdic=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DVONROEDIC",gx.fn.currentGridRowImpl(49),gx.O.A314DvoNroEdic,0)},c2v:function(){gx.O.A314DvoNroEdic=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVONROEDIC",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[64]={lvl:41,type:"char",len:5,dec:0,sign:false,ro:0,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DVOANOEDIC",gxz:"Z304DvoAnoEdic",gxold:"O304DvoAnoEdic",gxvar:"A304DvoAnoEdic",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A304DvoAnoEdic=a
},v2z:function(a){gx.O.Z304DvoAnoEdic=a},v2c:function(){gx.fn.setGridControlValue("DVOANOEDIC",gx.fn.currentGridRowImpl(49),gx.O.A304DvoAnoEdic,0)},c2v:function(){gx.O.A304DvoAnoEdic=this.val()},val:function(){return gx.fn.getGridControlValue("DVOANOEDIC",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[65]={lvl:41,type:"int",len:1,dec:0,sign:false,pic:"9",ro:0,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DVOINDSITU",gxz:"Z313DvoIndSitu",gxold:"O313DvoIndSitu",gxvar:"A313DvoIndSitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A313DvoIndSitu=gx.num.intval(a)
},v2z:function(a){gx.O.Z313DvoIndSitu=gx.num.intval(a)},v2c:function(){gx.fn.setGridComboBoxValue("DVOINDSITU",gx.fn.currentGridRowImpl(49),gx.O.A313DvoIndSitu)},c2v:function(){gx.O.A313DvoIndSitu=this.val()},val:function(){return gx.fn.getGridIntegerValue("DVOINDSITU",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[66]={lvl:41,type:"char",len:1,dec:0,sign:false,ro:0,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DVOINDFASC",gxz:"Z311DvoIndFasc",gxold:"O311DvoIndFasc",gxvar:"A311DvoIndFasc",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A311DvoIndFasc=a
},v2z:function(a){gx.O.Z311DvoIndFasc=a},v2c:function(){gx.fn.setGridComboBoxValue("DVOINDFASC",gx.fn.currentGridRowImpl(49),gx.O.A311DvoIndFasc)},c2v:function(){gx.O.A311DvoIndFasc=this.val()},val:function(){return gx.fn.getGridControlValue("DVOINDFASC",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[67]={lvl:41,type:"char",len:5,dec:0,sign:false,ro:0,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DVOCAMPO1L",gxz:"Z305DvoCampo1L",gxold:"O305DvoCampo1L",gxvar:"A305DvoCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A305DvoCampo1L=a
},v2z:function(a){gx.O.Z305DvoCampo1L=a},v2c:function(){gx.fn.setGridControlValue("DVOCAMPO1L",gx.fn.currentGridRowImpl(49),gx.O.A305DvoCampo1L,0)},c2v:function(){gx.O.A305DvoCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("DVOCAMPO1L",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[75]={fld:"PROMPT_258",grid:45};this.GXValidFnc[76]={fld:"PROMPT_922",grid:45};this.GXValidFnc[77]={fld:"PROMPT_433",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.A863TidCod="";this.Z863TidCod="";this.O863TidCod="";this.A868TidDes="";this.Z868TidDes="";this.O868TidDes="";this.A872TidIndNroT="";this.Z872TidIndNroT="";this.O872TidIndNroT="";this.A871TidIndModo="";this.Z871TidIndModo="";this.O871TidIndModo="";this.A433ForCod=0;this.Z433ForCod=0;this.O433ForCod=0;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.Z269DoeCodCent="";this.O269DoeCodCent="";this.Z283DoeQtdReno=0;this.O283DoeQtdReno=0;this.Z319DvoTipFasc="";this.O319DvoTipFasc="";this.Z509LocCod=0;this.O509LocCod=0;this.Z308DvoDatEfet=gx.date.nullDate();
this.O308DvoDatEfet=gx.date.nullDate();this.Z314DvoNroEdic=0;this.O314DvoNroEdic=0;this.Z304DvoAnoEdic="";this.O304DvoAnoEdic="";this.Z313DvoIndSitu=0;this.O313DvoIndSitu=0;this.Z311DvoIndFasc="";this.O311DvoIndFasc="";this.Z305DvoCampo1L="";this.O305DvoCampo1L="";this.A317DvoNroVolu=0;this.A316DvoNroTomo=0;this.A315DvoNroTomb=0;this.A310DvoDesVolu="";this.A306DvoDatbaix=gx.date.nullDate();this.A309DvoDesMoti="";this.A318DvoQtdReno=0;this.A269DoeCodCent="";this.A283DoeQtdReno=0;this.A319DvoTipFasc="";
this.A308DvoDatEfet=gx.date.nullDate();this.A314DvoNroEdic=0;this.A304DvoAnoEdic="";this.A313DvoIndSitu=0;this.A311DvoIndFasc="";this.A305DvoCampo1L="";this.A79CaeCod=0;this.A84CaeNom="";this.A225DitNroVolu="";this.A222DitDatPubl=gx.date.nullDate();this.A509LocCod=0;this.A227DitValExte="";this.A220DitAnoEdic="";this.A226DitTipFasc="";this.A224DitNroTomo="";this.A223DitNroEdic="";this.A652PerNro=0;this.A280DoeNroAssi=0;this.ServerEvents=["e111e45_client","e121e45_client"];this.setPrompt("PROMPT_258",[16]);
this.setPrompt("PROMPT_922",[20]);this.setPrompt("PROMPT_433",[45]);this.setPrompt("PROMPT_317",[51]);this.setPrompt("PROMPT_509",[61]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];this.VarControlMap.A280DoeNroAssi={id:"DOENROASSI",grid:0,type:"int"};this.VarControlMap.A652PerNro={id:"PERNRO",grid:0,type:"int"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.VarControlMap.A79CaeCod={id:"CAECOD",grid:49,type:"int"};this.VarControlMap.A225DitNroVolu={id:"DITNROVOLU",grid:49,type:"char"};
this.VarControlMap.A222DitDatPubl={id:"DITDATPUBL",grid:49,type:"date"};this.VarControlMap.A227DitValExte={id:"DITVALEXTE",grid:49,type:"char"};this.VarControlMap.A220DitAnoEdic={id:"DITANOEDIC",grid:49,type:"char"};this.VarControlMap.A226DitTipFasc={id:"DITTIPFASC",grid:49,type:"char"};this.VarControlMap.A224DitNroTomo={id:"DITNROTOMO",grid:49,type:"char"};this.VarControlMap.A223DitNroEdic={id:"DITNROEDIC",grid:49,type:"char"};this.VarControlMap.A84CaeNom={id:"CAENOM",grid:49,type:"char"};this.SetStandaloneVars()
}tabt060.prototype=new gx.GxObject;gx.setParentObj(new tabt060());