gx.evt.autoSkip=false;function timt091(){this.ServerClass="TImt091";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.Gx_mode=gx.fn.getControlValue("vMODE");this.AV9DicTipMaterial=gx.fn.getControlValue("vDICTIPMATERIAL")};this.Valid_Instipregi=function(){try{var a=gx.util.balloon.getNew("INSTIPREGI");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Insnroseqc=function(){try{var a=gx.util.balloon.getNew("INSNROSEQC");
this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Insnroseqs=function(){gx.ajax.validSrvEvt("dyncall","Valid_Insnroseqs",["gx.O.A1007InsTipRegi","gx.O.A1008InsNroSeqC","gx.O.A1009InsNroSeqS","gx.O.A1010InsDscInst"],["A1010InsDscInst","Gx_mode","Z1007InsTipRegi","Z1008InsNroSeqC","Z1009InsNroSeqS","Z1010InsDscInst",["BUTTON1","Enabled"],["BUTTON5","Enabled"]]);return true};this.e125n2_client=function(){this.executeServerEvent("'VOLTAR'",false)};
this.e135n156_client=function(){this.executeServerEvent("ENTER",true)};this.e145n156_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,14,17,20,22,25,27,30,32,35,40,42];this.GXLastCtrlId=42;this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[14]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[17]={fld:"TABLE2",grid:0};this.GXValidFnc[20]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[22]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Instipregi,isvalid:null,fld:"INSTIPREGI",gxz:"Z1007InsTipRegi",gxold:"O1007InsTipRegi",gxvar:"A1007InsTipRegi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"radio",v2v:function(a){gx.O.A1007InsTipRegi=a
},v2z:function(a){gx.O.Z1007InsTipRegi=a},v2c:function(){gx.fn.setRadioValue("INSTIPREGI",gx.O.A1007InsTipRegi)},c2v:function(){gx.O.A1007InsTipRegi=this.val()},val:function(){return gx.fn.getControlValue("INSTIPREGI")},nac:function(){return false}};this.GXValidFnc[25]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[27]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Insnroseqc,isvalid:null,rgrid:[],fld:"INSNROSEQC",gxz:"Z1008InsNroSeqC",gxold:"O1008InsNroSeqC",gxvar:"A1008InsNroSeqC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1008InsNroSeqC=gx.num.intval(a)
},v2z:function(a){gx.O.Z1008InsNroSeqC=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("INSNROSEQC",gx.O.A1008InsNroSeqC,0)},c2v:function(){gx.O.A1008InsNroSeqC=this.val()},val:function(){return gx.fn.getIntegerValue("INSNROSEQC",".")},nac:function(){return false}};this.GXValidFnc[30]={fld:"TEXTBLOCK4",format:0,grid:0};this.GXValidFnc[32]={fld:"TABLE3",grid:0};this.GXValidFnc[35]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:0,gxgrid:null,fnc:this.Valid_Insnroseqs,isvalid:null,rgrid:[],fld:"INSNROSEQS",gxz:"Z1009InsNroSeqS",gxold:"O1009InsNroSeqS",gxvar:"A1009InsNroSeqS",ucs:[],op:[42],ip:[42,35,27,22],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1009InsNroSeqS=gx.num.intval(a)
},v2z:function(a){gx.O.Z1009InsNroSeqS=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("INSNROSEQS",gx.O.A1009InsNroSeqS,0)},c2v:function(){gx.O.A1009InsNroSeqS=this.val()},val:function(){return gx.fn.getIntegerValue("INSNROSEQS",".")},nac:function(){return false}};this.GXValidFnc[40]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[42]={lvl:0,type:"svchar",len:30720,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"INSDSCINST",gxz:"Z1010InsDscInst",gxold:"O1010InsDscInst",gxvar:"A1010InsDscInst",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1010InsDscInst=a
},v2z:function(a){gx.O.Z1010InsDscInst=a},v2c:function(){gx.fn.setControlValue("INSDSCINST",gx.O.A1010InsDscInst,0)},c2v:function(){gx.O.A1010InsDscInst=this.val()},val:function(){return gx.fn.getControlValue("INSDSCINST")},nac:function(){return false}};this.A1007InsTipRegi="";this.Z1007InsTipRegi="";this.O1007InsTipRegi="";this.A1008InsNroSeqC=0;this.Z1008InsNroSeqC=0;this.O1008InsNroSeqC=0;this.A1009InsNroSeqS=0;this.Z1009InsNroSeqS=0;this.O1009InsNroSeqS=0;this.A1010InsDscInst="";this.Z1010InsDscInst="";
this.O1010InsDscInst="";this.AV8UsuCodCorr="";this.AV9DicTipMaterial="";this.ServerEvents=["e125n2_client","e135n156_client","e145n156_client"];this.EnterCtrl=["BUTTON5"];this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.VarControlMap.AV9DicTipMaterial={id:"vDICTIPMATERIAL",grid:0,type:"char"};this.SetStandaloneVars()}timt091.prototype=new gx.GxObject;gx.setParentObj(new timt091());