gx.evt.autoSkip=false;function timt016(){this.ServerClass="TImt016";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_BScreen=gx.fn.getIntegerValue("vGXBSCREEN",".");this.Gx_date=gx.fn.getDateValue("vTODAY");this.AV24IndPossuiAcentuacao=gx.fn.getControlValue("vINDPOSSUIACENTUACAO");this.AV20PerIncluir=gx.fn.getControlValue("vPERINCLUIR");this.AV21PerSubstituir=gx.fn.getControlValue("vPERSUBSTITUIR");this.AV22PerEliminar=gx.fn.getControlValue("vPERELIMINAR");
this.AV27DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.A1172VncInd1=gx.fn.getControlValue("VNCIND1");this.A1173VncInd2=gx.fn.getControlValue("VNCIND2");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Vncnro=function(){gx.ajax.validSrvEvt("dyncall","Valid_Vncnro",["gx.O.AV20PerIncluir","gx.O.AV21PerSubstituir","gx.O.AV22PerEliminar","gx.O.AV27DocNro","gx.O.AV26VncCodOrigem","gx.O.A989VncNro","gx.O.A986VncCodOrig","gx.O.A990VncValCont","gx.O.A987VncIndRese",'gx.date.urlDate(gx.O.A1086VncDatCada,"DMY")',"gx.O.A1172VncInd1","gx.O.A1173VncInd2","gx.O.A985VncCodExte","gx.O.A988VncNomArqu"],["A986VncCodOrig","A990VncValCont","A987VncIndRese","A1086VncDatCada","A1172VncInd1","A1173VncInd2","A985VncCodExte","A988VncNomArqu","Gx_mode","Z989VncNro","Z986VncCodOrig","Z990VncValCont","Z987VncIndRese","Z1086VncDatCada","Z1172VncInd1","Z1173VncInd2","Z985VncCodExte","Z988VncNomArqu",["BUTTON5","Enabled"]]);
return true};this.Validv_Vnccodorigem=function(){try{var a=gx.util.balloon.getNew("vVNCCODORIGEM");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Vncvalcont=function(){try{var a=gx.util.balloon.getNew("VNCVALCONT");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Vncnomarqu=function(){try{var a=gx.util.balloon.getNew("VNCNOMARQU");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()
}catch(b){}return true};this.Valid_Vnccodexte=function(){try{var a=gx.util.balloon.getNew("VNCCODEXTE");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.e123c2_client=function(){this.executeServerEvent("'NOVO'",true)};this.e133c2_client=function(){this.executeServerEvent("'GET PENSA-B'",false)};this.e143c2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e153c106_client=function(){this.executeServerEvent("ENTER",true)};this.e163c106_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[4,7,18,24,27,29,32,37,39,42,44,46,48,51,53,56,58,61,63,66,68];this.GXLastCtrlId=68;this.GXValidFnc[4]={fld:"TABLE5",grid:0};this.GXValidFnc[7]={fld:"TABLE6",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK9",format:0,grid:0};this.GXValidFnc[24]={fld:"TABLE2",grid:0};this.GXValidFnc[27]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[29]={fld:"TABLE1",grid:0};this.GXValidFnc[32]={lvl:0,type:"int",len:8,dec:0,sign:false,pic:"ZZZZZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Vncnro,isvalid:null,rgrid:[],fld:"VNCNRO",gxz:"Z989VncNro",gxold:"O989VncNro",gxvar:"A989VncNro",ucs:[],op:[63,68,48,53,58,44],ip:[63,68,48,53,58,44,32],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A989VncNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z989VncNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("VNCNRO",gx.O.A989VncNro,0)},c2v:function(){gx.O.A989VncNro=this.val()},val:function(){return gx.fn.getIntegerValue("VNCNRO",".")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCK7",format:0,grid:0};this.GXValidFnc[39]={fld:"TABLE3",grid:0};this.GXValidFnc[42]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Validv_Vnccodorigem,isvalid:null,fld:"vVNCCODORIGEM",gxz:"ZV26VncCodOrigem",gxold:"OV26VncCodOrigem",gxvar:"AV26VncCodOrigem",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV26VncCodOrigem=a
},v2z:function(a){gx.O.ZV26VncCodOrigem=a},v2c:function(){gx.fn.setControlValue("vVNCCODORIGEM",gx.O.AV26VncCodOrigem,0)},c2v:function(){gx.O.AV26VncCodOrigem=this.val()},val:function(){return gx.fn.getControlValue("vVNCCODORIGEM")},nac:function(){return false}};this.GXValidFnc[44]={lvl:0,type:"char",len:15,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"VNCCODORIG",gxz:"Z986VncCodOrig",gxold:"O986VncCodOrig",gxvar:"A986VncCodOrig",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A986VncCodOrig=a
},v2z:function(a){gx.O.Z986VncCodOrig=a},v2c:function(){gx.fn.setControlValue("VNCCODORIG",gx.O.A986VncCodOrig,0)},c2v:function(){gx.O.A986VncCodOrig=this.val()},val:function(){return gx.fn.getControlValue("VNCCODORIG")},nac:function(){return false}};this.GXValidFnc[46]={fld:"TEXTBLOCK8",format:0,grid:0};this.GXValidFnc[48]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"VNCDATCADA",gxz:"Z1086VncDatCada",gxold:"O1086VncDatCada",gxvar:"A1086VncDatCada",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.A1086VncDatCada=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z1086VncDatCada=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("VNCDATCADA",gx.O.A1086VncDatCada,0)},c2v:function(){gx.O.A1086VncDatCada=this.val()},val:function(){return gx.fn.getControlValue("VNCDATCADA")},nac:function(){return false}};this.GXValidFnc[51]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[53]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"VNCINDRESE",gxz:"Z987VncIndRese",gxold:"O987VncIndRese",gxvar:"A987VncIndRese",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.A987VncIndRese=a
},v2z:function(a){gx.O.Z987VncIndRese=a},v2c:function(){gx.fn.setRadioValue("VNCINDRESE",gx.O.A987VncIndRese)},c2v:function(){gx.O.A987VncIndRese=this.val()},val:function(){return gx.fn.getControlValue("VNCINDRESE")},nac:function(){return false}};this.GXValidFnc[56]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[58]={lvl:0,type:"bitstr",len:1024,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Vncvalcont,isvalid:null,fld:"VNCVALCONT",gxz:"Z990VncValCont",gxold:"O990VncValCont",gxvar:"A990VncValCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A990VncValCont=a
},v2z:function(a){gx.O.Z990VncValCont=a},v2c:function(){gx.fn.setBlobValue("VNCVALCONT",gx.O.A990VncValCont)},c2v:function(){gx.O.A990VncValCont=this.val()},val:function(){return gx.fn.getBlobValue("VNCVALCONT")},nac:function(){return false}};this.GXValidFnc[61]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[63]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Vncnomarqu,isvalid:null,fld:"VNCNOMARQU",gxz:"Z988VncNomArqu",gxold:"O988VncNomArqu",gxvar:"A988VncNomArqu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A988VncNomArqu=a
},v2z:function(a){gx.O.Z988VncNomArqu=a},v2c:function(){gx.fn.setControlValue("VNCNOMARQU",gx.O.A988VncNomArqu,0)},c2v:function(){gx.O.A988VncNomArqu=this.val()},val:function(){return gx.fn.getControlValue("VNCNOMARQU")},nac:function(){return false}};this.GXValidFnc[66]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[68]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Vnccodexte,isvalid:null,fld:"VNCCODEXTE",gxz:"Z985VncCodExte",gxold:"O985VncCodExte",gxvar:"A985VncCodExte",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A985VncCodExte=a
},v2z:function(a){gx.O.Z985VncCodExte=a},v2c:function(){gx.fn.setControlValue("VNCCODEXTE",gx.O.A985VncCodExte,0)},c2v:function(){gx.O.A985VncCodExte=this.val()},val:function(){return gx.fn.getControlValue("VNCCODEXTE")},nac:function(){return false}};this.A989VncNro=0;this.Z989VncNro=0;this.O989VncNro=0;this.AV26VncCodOrigem="";this.ZV26VncCodOrigem="";this.OV26VncCodOrigem="";this.A986VncCodOrig="";this.Z986VncCodOrig="";this.O986VncCodOrig="";this.A1086VncDatCada=gx.date.nullDate();this.Z1086VncDatCada=gx.date.nullDate();
this.O1086VncDatCada=gx.date.nullDate();this.A987VncIndRese="";this.Z987VncIndRese="";this.O987VncIndRese="";this.A990VncValCont="";this.Z990VncValCont="";this.O990VncValCont="";this.A988VncNomArqu="";this.Z988VncNomArqu="";this.O988VncNomArqu="";this.A985VncCodExte="";this.Z985VncCodExte="";this.O985VncCodExte="";this.AV7UsuCodCorr="";this.AV28TipEntidadeOrigem="";this.AV29DirCod="";this.AV30MsgFalhaPermissao="";this.AV10IndLiber="";this.Gx_msg="";this.AV20PerIncluir="";this.AV21PerSubstituir="";
this.AV22PerEliminar="";this.AV27DocNro=0;this.AV24IndPossuiAcentuacao="";this.Gx_date=gx.date.nullDate();this.Gx_BScreen=0;this.A1172VncInd1="";this.A1173VncInd2="";this.ServerEvents=["e123c2_client","e133c2_client","e143c2_client","e153c106_client","e163c106_client"];this.EnterCtrl=["BUTTON5"];this.VarControlMap.Gx_BScreen={id:"vGXBSCREEN",grid:0,type:"int"};this.VarControlMap.Gx_date={id:"vTODAY",grid:0,type:"date"};this.VarControlMap.AV24IndPossuiAcentuacao={id:"vINDPOSSUIACENTUACAO",grid:0,type:"char"};
this.VarControlMap.AV20PerIncluir={id:"vPERINCLUIR",grid:0,type:"char"};this.VarControlMap.AV21PerSubstituir={id:"vPERSUBSTITUIR",grid:0,type:"char"};this.VarControlMap.AV22PerEliminar={id:"vPERELIMINAR",grid:0,type:"char"};this.VarControlMap.AV27DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.A1172VncInd1={id:"VNCIND1",grid:0,type:"char"};this.VarControlMap.A1173VncInd2={id:"VNCIND2",grid:0,type:"char"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()
}timt016.prototype=new gx.GxObject;gx.setParentObj(new timt016());