gx.evt.autoSkip=false;function tabt059(){this.ServerClass="TAbt059";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.A683PrdCod=gx.fn.getControlValue("PRDCOD");this.A684PrdDes=gx.fn.getControlValue("PRDDES");this.Gx_mode=gx.fn.getControlValue("vMODE");this.A1174DoeInd1=gx.fn.getControlValue("DOEIND1");this.A1175DoeInd2=gx.fn.getControlValue("DOEIND2");this.A1176DoeInd3=gx.fn.getControlValue("DOEIND3");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","gx.O.A652PerNro"],["A234DocCodAssu","A264DocQtdVolu","A863TidCod","A652PerNro","A868TidDes","A872TidIndNroT","A683PrdCod","A643PerDesLong","A684PrdDes","Gx_mode","Z258DocNro","Z234DocCodAssu","Z264DocQtdVolu","Z863TidCod","Z652PerNro","Z868TidDes","Z872TidIndNroT","Z683PrdCod","Z643PerDesLong","Z684PrdDes","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_Pernro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Pernro",["gx.O.A652PerNro","gx.O.A683PrdCod","gx.O.A643PerDesLong","gx.O.A684PrdDes"],["A683PrdCod","A643PerDesLong","A684PrdDes"]);return true};this.Valid_Undcod=function(){this.sMode45=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(45,49);this.standaloneModal0945();
this.standaloneNotModal0945();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(49)===0){return true}var a=gx.util.balloon.getNew("DOENROSEQU",gx.fn.currentGridRowImpl(49));this.AnyError=0;this.sMode45=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(45,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.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,49);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,49);gx.ajax.validSrvEvt("dyncall","Valid_Forcod",["gx.O.A433ForCod","gx.O.A444ForNomComp"],["A444ForNomComp"]);
this.Gx_mode=this.sMode45;return true};this.standaloneModal0945=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.standaloneNotModal0945=function(){return true};this.e11095_client=function(){this.executeServerEvent("ENTER",true)};this.e12095_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[2,16,21,25,29,33,37,41,45,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,81,82];this.GXLastCtrlId=82;this.Grid1Container=new gx.grid.grid(this,45,"Level1",49,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"tabt059",[922,281],false,1,false,true,5,false,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("nRcdDeleted_45",50,"vNRCDDELETED_45","Remove Line","","nRcdDeleted_45","int",0,"px",4,4,"right",null,[],"nRcdDeleted_45","nRcdDeleted_45",true,0,false,false);
this.Grid1Container.addSingleLineEdit(922,51,"UNDCOD","Unidade depositária","","UndCod","int",0,"px",3,3,"right",null,[],922,"UndCod",true,0,false,false);this.Grid1Container.addBitmap("prompt_922","PROMPT_922",83,0,"",0,"",null,"","");this.Grid1Container.addSingleLineEdit(281,52,"DOENROSEQU","Nro seqüência exemplar","","DoeNroSequ","int",0,"px",4,4,"right",null,[],281,"DoeNroSequ",true,0,false,false);this.Grid1Container.addSingleLineEdit(925,53,"UNDNOMCOMP","Nome completo","","UndNomComp","char",0,"px",40,40,"left",null,[],925,"UndNomComp",true,0,false,false);
this.Grid1Container.addSingleLineEdit(926,54,"UNDNOMSIGL","Sigla","","UndNomSigl","char",0,"px",3,3,"left",null,[],926,"UndNomSigl",true,0,false,false);this.Grid1Container.addSingleLineEdit(271,55,"DOEDATAQUI","Data da aquisição","","DoeDatAqui","date",0,"px",10,10,"right",null,[],271,"DoeDatAqui",true,0,false,false);this.Grid1Container.addSingleLineEdit(899,56,"TPACOD","Tipo de aquisição","","TpaCod","char",0,"px",3,3,"left",null,[],899,"TpaCod",true,0,false,false);this.Grid1Container.addBitmap("prompt_899","PROMPT_899",84,0,"",0,"",null,"","");
this.Grid1Container.addSingleLineEdit(1013,57,"TPADSC","Descrição","","TpaDsc","char",0,"px",25,25,"left",null,[],1013,"TpaDsc",true,0,false,false);this.Grid1Container.addSingleLineEdit(272,58,"DOEDATBAIX","Data da baixa","","DoeDatBaix","date",0,"px",10,10,"right",null,[],272,"DoeDatBaix",true,0,false,false);this.Grid1Container.addSingleLineEdit(277,59,"DOEDESMOTI","Motivo","","DoeDesMoti","char",0,"px",25,25,"left",null,[],277,"DoeDesMoti",true,0,false,false);this.Grid1Container.addSingleLineEdit(96,60,"DOEVALOR","Valor do exemplar","","DoeValor","decimal",0,"px",14,12,"right",null,[],96,"DoeValor",true,2,false,false);
this.Grid1Container.addSingleLineEdit(276,61,"DOEDESMOED","Moeda","","DoeDesMoed","char",0,"px",5,5,"left",null,[],276,"DoeDesMoed",true,0,false,false);this.Grid1Container.addSingleLineEdit(278,62,"DOEDESOBSE","Observações","","DoeDesObse","char",0,"px",30,30,"left",null,[],278,"DoeDesObse",true,0,false,false);this.Grid1Container.addSingleLineEdit(433,63,"FORCOD","Código","","ForCod","int",0,"px",6,6,"right",null,[],433,"ForCod",true,0,false,false);this.Grid1Container.addBitmap("prompt_433","PROMPT_433",85,0,"",0,"",null,"","");
this.Grid1Container.addSingleLineEdit(444,64,"FORNOMCOMP","Nome","","ForNomComp","char",0,"px",60,60,"left",null,[],444,"ForNomComp",true,0,false,false);this.Grid1Container.addSingleLineEdit(273,65,"DOEDATLIMI","Limite para pesquisa","","DoeDatLimi","date",0,"px",10,10,"right",null,[],273,"DoeDatLimi",true,0,false,false);this.Grid1Container.addSingleLineEdit(275,66,"DOEDATVALI","Data validade","","DoeDatVali","date",0,"px",10,10,"right",null,[],275,"DoeDatVali",true,0,false,false);this.Grid1Container.addSingleLineEdit(270,67,"DOECODPROP","Código proprietário","","DoeCodProp","char",0,"px",3,3,"left",null,[],270,"DoeCodProp",true,0,false,false);
this.Grid1Container.addSingleLineEdit(269,68,"DOECODCENT","Código centro de custo","","DoeCodCent","char",0,"px",6,6,"left",null,[],269,"DoeCodCent",true,0,false,false);this.Grid1Container.addSingleLineEdit(283,69,"DOEQTDRENO","Quantidade de renovações","","DoeQtdReno","int",0,"px",2,2,"right",null,[],283,"DoeQtdReno",true,0,false,false);this.Grid1Container.addSingleLineEdit(279,70,"DOEINDNOVO","Novo registro (S/N)","","DoeIndNovo","char",0,"px",2,1,"left",null,[],279,"DoeIndNovo",true,0,false,false);
this.Grid1Container.addSingleLineEdit(267,71,"DOECAMPO1L","Campo livre 1","","DoeCampo1L","char",0,"px",10,10,"left",null,[],267,"DoeCampo1L",true,0,false,false);this.Grid1Container.addSingleLineEdit(268,72,"DOECODASSI","Código assinante","","DoeCodAssi","char",0,"px",15,15,"left",null,[],268,"DoeCodAssi",true,0,false,false);this.Grid1Container.addSingleLineEdit(280,73,"DOENROASSI","Número da assinatura","","DoeNroAssi","int",0,"px",5,5,"right",null,[],280,"DoeNroAssi",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,29,25,21],ip:[41,29,25,21,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[21]={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[25]={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[29]={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:[37,33],ip:[37,33,29],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:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:this.Valid_Pernro,isvalid:null,rgrid:[],fld:"PERNRO",gxz:"Z652PerNro",gxold:"O652PerNro",gxvar:"A652PerNro",ucs:[],op:[45],ip:[45,41],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A652PerNro=gx.num.intval(a)},v2z:function(a){gx.O.Z652PerNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("PERNRO",gx.O.A652PerNro,0)
},c2v:function(){gx.O.A652PerNro=this.val()},val:function(){return gx.fn.getIntegerValue("PERNRO",".")},nac:function(){return false}};this.GXValidFnc[45]={lvl:0,type:"char",len:50,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"PERDESLONG",gxz:"Z643PerDesLong",gxold:"O643PerDesLong",gxvar:"A643PerDesLong",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A643PerDesLong=a},v2z:function(a){gx.O.Z643PerDesLong=a},v2c:function(){gx.fn.setControlValue("PERDESLONG",gx.O.A643PerDesLong,0)
},c2v:function(){gx.O.A643PerDesLong=this.val()},val:function(){return gx.fn.getControlValue("PERDESLONG")},nac:function(){return false}};this.GXValidFnc[50]={lvl:45,type:"int",len:4,dec:0,sign:false,pic:"9999",ro:0,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vNRCDDELETED_45",gxz:"ZnRcdDeleted_45",gxold:"OnRcdDeleted_45",gxvar:"nRcdDeleted_45",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.nRcdDeleted_45=gx.num.intval(a)},v2z:function(a){gx.O.ZnRcdDeleted_45=gx.num.intval(a)
},v2c:function(){gx.fn.setGridControlValue("vNRCDDELETED_45",gx.fn.currentGridRowImpl(49),gx.O.nRcdDeleted_45,0)},c2v:function(){gx.O.nRcdDeleted_45=this.val()},val:function(){return gx.fn.getGridIntegerValue("vNRCDDELETED_45",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[51]={lvl:45,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:49,gxgrid:this.Grid1Container,fnc:this.Valid_Undcod,isvalid:null,rgrid:[],fld:"UNDCOD",gxz:"Z922UndCod",gxold:"O922UndCod",gxvar:"A922UndCod",ucs:[],op:[54,53],ip:[54,53,51],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(49),gx.O.A922UndCod,0)},c2v:function(){gx.O.A922UndCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("UNDCOD",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[52]={lvl:45,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:49,gxgrid:this.Grid1Container,fnc:this.Valid_Doenrosequ,isvalid:null,rgrid:[],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(49),gx.O.A281DoeNroSequ,0)},c2v:function(){gx.O.A281DoeNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOENROSEQU",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[53]={lvl:45,type:"char",len:40,dec:0,sign:false,ro:1,grid:49,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(49),gx.O.A925UndNomComp,0)},c2v:function(){gx.O.A925UndNomComp=this.val()},val:function(){return gx.fn.getGridControlValue("UNDNOMCOMP",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[54]={lvl:45,type:"char",len:3,dec:0,sign:false,ro:1,grid:49,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(49),gx.O.A926UndNomSigl,0)},c2v:function(){gx.O.A926UndNomSigl=this.val()},val:function(){return gx.fn.getGridControlValue("UNDNOMSIGL",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[55]={lvl:45,type:"date",len:10,dec:0,sign:false,ro:0,grid:49,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(49),gx.O.A271DoeDatAqui,0)},c2v:function(){gx.O.A271DoeDatAqui=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDATAQUI",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[56]={lvl:45,type:"char",len:3,dec:0,sign:false,ro:0,grid:49,gxgrid:this.Grid1Container,fnc:this.Valid_Tpacod,isvalid:null,fld:"TPACOD",gxz:"Z899TpaCod",gxold:"O899TpaCod",gxvar:"A899TpaCod",ucs:[],op:[57],ip:[57,56],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(49),gx.O.A899TpaCod,0)},c2v:function(){gx.O.A899TpaCod=this.val()},val:function(){return gx.fn.getGridControlValue("TPACOD",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[57]={lvl:45,type:"char",len:25,dec:0,sign:false,ro:1,grid:49,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(49),gx.O.A1013TpaDsc,0)},c2v:function(){gx.O.A1013TpaDsc=this.val()},val:function(){return gx.fn.getGridControlValue("TPADSC",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[58]={lvl:45,type:"date",len:10,dec:0,sign:false,ro:0,grid:49,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(49),gx.O.A272DoeDatBaix,0)},c2v:function(){gx.O.A272DoeDatBaix=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDATBAIX",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[59]={lvl:45,type:"char",len:25,dec:0,sign:false,ro:0,grid:49,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(49),gx.O.A277DoeDesMoti,0)},c2v:function(){gx.O.A277DoeDesMoti=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDESMOTI",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[60]={lvl:45,type:"decimal",len:12,dec:2,sign:false,pic:"ZZZ,ZZZ,ZZ9.99",ro:0,grid:49,gxgrid:this.Grid1Container,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.setGridDecimalValue("DOEVALOR",gx.fn.currentGridRowImpl(49),gx.O.A96DoeValor,2,",")},c2v:function(){gx.O.A96DoeValor=this.val()},val:function(){return gx.fn.getGridDecimalValue("DOEVALOR",gx.fn.currentGridRowImpl(49),".",",")},nac:function(){return false}};this.GXValidFnc[61]={lvl:45,type:"char",len:5,dec:0,sign:false,ro:0,grid:49,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(49),gx.O.A276DoeDesMoed,0)},c2v:function(){gx.O.A276DoeDesMoed=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDESMOED",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[62]={lvl:45,type:"char",len:30,dec:0,sign:false,ro:0,grid:49,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(49),gx.O.A278DoeDesObse,0)},c2v:function(){gx.O.A278DoeDesObse=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDESOBSE",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[63]={lvl:45,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:49,gxgrid:this.Grid1Container,fnc:this.Valid_Forcod,isvalid:null,rgrid:[],fld:"FORCOD",gxz:"Z433ForCod",gxold:"O433ForCod",gxvar:"A433ForCod",ucs:[],op:[64],ip:[64,63],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(49),gx.O.A433ForCod,0)},c2v:function(){gx.O.A433ForCod=this.val()},val:function(){return gx.fn.getGridIntegerValue("FORCOD",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[64]={lvl:45,type:"char",len:60,dec:0,sign:false,ro:1,grid:49,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(49),gx.O.A444ForNomComp,0)},c2v:function(){gx.O.A444ForNomComp=this.val()},val:function(){return gx.fn.getGridControlValue("FORNOMCOMP",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[65]={lvl:45,type:"date",len:10,dec:0,sign:false,ro:0,grid:49,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(49),gx.O.A273DoeDatLimi,0)},c2v:function(){gx.O.A273DoeDatLimi=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDATLIMI",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[66]={lvl:45,type:"date",len:10,dec:0,sign:false,ro:0,grid:49,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(49),gx.O.A275DoeDatVali,0)},c2v:function(){gx.O.A275DoeDatVali=this.val()},val:function(){return gx.fn.getGridControlValue("DOEDATVALI",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[67]={lvl:45,type:"char",len:3,dec:0,sign:false,ro:0,grid:49,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(49),gx.O.A270DoeCodProp,0)},c2v:function(){gx.O.A270DoeCodProp=this.val()},val:function(){return gx.fn.getGridControlValue("DOECODPROP",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[68]={lvl:45,type:"char",len:6,dec:0,sign:false,ro:0,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[69]={lvl:45,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,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[70]={lvl:45,type:"char",len:1,dec:0,sign:false,ro:0,grid:49,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(49),gx.O.A279DoeIndNovo,0)},c2v:function(){gx.O.A279DoeIndNovo=this.val()},val:function(){return gx.fn.getGridControlValue("DOEINDNOVO",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[71]={lvl:45,type:"char",len:10,dec:0,sign:false,ro:0,grid:49,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(49),gx.O.A267DoeCampo1L,0)},c2v:function(){gx.O.A267DoeCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("DOECAMPO1L",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[72]={lvl:45,type:"char",len:15,dec:0,sign:false,ro:0,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DOECODASSI",gxz:"Z268DoeCodAssi",gxold:"O268DoeCodAssi",gxvar:"A268DoeCodAssi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A268DoeCodAssi=a
},v2z:function(a){gx.O.Z268DoeCodAssi=a},v2c:function(){gx.fn.setGridControlValue("DOECODASSI",gx.fn.currentGridRowImpl(49),gx.O.A268DoeCodAssi,0)},c2v:function(){gx.O.A268DoeCodAssi=this.val()},val:function(){return gx.fn.getGridControlValue("DOECODASSI",gx.fn.currentGridRowImpl(49))},nac:function(){return false}};this.GXValidFnc[73]={lvl:45,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:49,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOENROASSI",gxz:"Z280DoeNroAssi",gxold:"O280DoeNroAssi",gxvar:"A280DoeNroAssi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A280DoeNroAssi=gx.num.intval(a)
},v2z:function(a){gx.O.Z280DoeNroAssi=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOENROASSI",gx.fn.currentGridRowImpl(49),gx.O.A280DoeNroAssi,0)},c2v:function(){gx.O.A280DoeNroAssi=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOENROASSI",gx.fn.currentGridRowImpl(49),".")},nac:function(){return false}};this.GXValidFnc[81]={fld:"PROMPT_863",grid:5};this.GXValidFnc[82]={fld:"PROMPT_652",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.A652PerNro=0;this.Z652PerNro=0;this.O652PerNro=0;this.A643PerDesLong="";this.Z643PerDesLong="";this.O643PerDesLong="";this.ZnRcdDeleted_45=0;this.OnRcdDeleted_45=0;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.Z268DoeCodAssi="";
this.O268DoeCodAssi="";this.Z280DoeNroAssi=0;this.O280DoeNroAssi=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.A268DoeCodAssi="";this.A280DoeNroAssi=0;this.A1174DoeInd1="";this.A1175DoeInd2="";this.A1176DoeInd3="";this.A683PrdCod="";this.A684PrdDes="";this.ServerEvents=["e11095_client","e12095_client"];this.setPrompt("PROMPT_863",[29]);this.setPrompt("PROMPT_652",[41]);this.setPrompt("PROMPT_922",[51]);this.setPrompt("PROMPT_899",[56]);this.setPrompt("PROMPT_433",[63]);this.EnterCtrl=["BTN_ENTER"];this.CheckCtrl=["BTN_CHECK"];
this.VarControlMap.A683PrdCod={id:"PRDCOD",grid:0,type:"char"};this.VarControlMap.A684PrdDes={id:"PRDDES",grid:0,type:"char"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.VarControlMap.A1174DoeInd1={id:"DOEIND1",grid:49,type:"char"};this.VarControlMap.A1175DoeInd2={id:"DOEIND2",grid:49,type:"char"};this.VarControlMap.A1176DoeInd3={id:"DOEIND3",grid:49,type:"char"};this.VarControlMap.A900TpaDes={id:"TPADES",grid:49,type:"char"};this.SetStandaloneVars()}tabt059.prototype=new gx.GxObject;
gx.setParentObj(new tabt059());