gx.evt.autoSkip=false;function timt029(){this.ServerClass="TImt029";this.PackageName="GeneXus.Programs";this.setObjectType("trn");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV16IndLibConf=gx.fn.getControlValue("vINDLIBCONF");this.AV26HdeDesAtualizacao=gx.fn.getControlValue("vHDEDESATUALIZACAO");this.AV25HstCodEstacao=gx.fn.getControlValue("vHSTCODESTACAO");this.AV17UsuCodCorr=gx.fn.getControlValue("vUSUCODCORR");this.AV23HstCodEntidade=gx.fn.getIntegerValue("vHSTCODENTIDADE",".");
this.AV22HstTipEntidade=gx.fn.getControlValue("vHSTTIPENTIDADE");this.A126CfgTipCamp=gx.fn.getControlValue("CFGTIPCAMP");this.A123CfgCodGrup=gx.fn.getControlValue("CFGCODGRUP");this.Gx_mode=gx.fn.getControlValue("vMODE")};this.Valid_Cfgcod=function(){gx.ajax.validSrvEvt("dyncall","Valid_Cfgcod",["gx.O.AV16IndLibConf","gx.O.A122CfgCod","gx.O.A127CfgValCont","gx.O.A125CfgIndLibU","gx.O.A126CfgTipCamp","gx.O.A124CfgDesSign","gx.O.A123CfgCodGrup"],["A127CfgValCont","A125CfgIndLibU","A126CfgTipCamp","A124CfgDesSign","A123CfgCodGrup","Gx_mode","Z122CfgCod","Z127CfgValCont","Z125CfgIndLibU","Z126CfgTipCamp","Z124CfgDesSign","Z123CfgCodGrup","Grid1",["BUTTON1","Enabled"]]);
return true};this.Valid_Cfgvalcont=function(){try{var a=gx.util.balloon.getNew("CFGVALCONT");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Cfgdessign=function(){try{var a=gx.util.balloon.getNew("CFGDESSIGN");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()}catch(b){}return true};this.Valid_Cfgindlibu=function(){try{var a=gx.util.balloon.getNew("CFGINDLIBU");this.AnyError=0}catch(b){}try{if(a==null){return true}return a.show()
}catch(b){}return true};this.Valid_Cfcnroseq=function(){try{if(gx.fn.currentGridRowImpl(44)===0){return true}var a=gx.util.balloon.getNew("CFCNROSEQ",gx.fn.currentGridRowImpl(44));this.AnyError=0;this.sMode83=this.Gx_mode;this.Gx_mode=gx.fn.getGridRowMode(83,44);this.standaloneModal3R83();this.standaloneNotModal3R83();if(gx.fn.gridDuplicateKey(45)){a.setError(gx.text.format(gx.getMessage("GXM_1004"),"Level1"));this.AnyError=1}}catch(b){}try{this.Gx_mode=this.sMode83;if(a==null){return true}return a.show()
}catch(b){}return true};this.standaloneModal3R83=function(){return true};this.standaloneNotModal3R83=function(){try{gx.fn.setCtrlProperty("CFCNROSEQ","Enabled",0)}catch(a){}try{gx.fn.setCtrlProperty("CFCDESCONT","Enabled",0)}catch(a){}return true};this.e143r82_client=function(){this.clearMessages();this.refreshOutputs([])};this.e123r2_client=function(){this.executeServerEvent("'GET PENSA-B'",false)};this.e133r2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e153r82_client=function(){this.executeServerEvent("ENTER",true)
};this.e163r82_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,18,20,23,28,30,33,35,38,40,45,46];this.GXLastCtrlId=46;this.Grid1Container=new gx.grid.grid(this,83,"Level1",44,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"timt029",[121],false,1,true,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,true,"");this.Grid1Container.addSingleLineEdit(121,45,"CFCNROSEQ","","","CfcNroSeq","int",0,"px",3,3,"right",null,[],121,"CfcNroSeq",true,0,false,false);
this.Grid1Container.addSingleLineEdit(120,46,"CFCDESCONT","Detalhes","","CfcDesCont","char",0,"px",100,100,"left",null,[],120,"CfcDesCont",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={fld:"TABLE1",grid:0};this.GXValidFnc[18]={fld:"TEXTBLOCK6",format:0,grid:0};this.GXValidFnc[20]={fld:"TABLE3",grid:0};this.GXValidFnc[23]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Cfgcod,isvalid:null,fld:"CFGCOD",gxz:"Z122CfgCod",gxold:"O122CfgCod",gxvar:"A122CfgCod",ucs:[],op:[35,40,30],ip:[35,40,30,23],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A122CfgCod=a
},v2z:function(a){gx.O.Z122CfgCod=a},v2c:function(){gx.fn.setControlValue("CFGCOD",gx.O.A122CfgCod,0)},c2v:function(){gx.O.A122CfgCod=this.val()},val:function(){return gx.fn.getControlValue("CFGCOD")},nac:function(){return false}};this.GXValidFnc[28]={fld:"TEXTBLOCK5",format:0,grid:0};this.GXValidFnc[30]={lvl:0,type:"char",len:90,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:this.Valid_Cfgvalcont,isvalid:null,fld:"CFGVALCONT",gxz:"Z127CfgValCont",gxold:"O127CfgValCont",gxvar:"A127CfgValCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A127CfgValCont=a
},v2z:function(a){gx.O.Z127CfgValCont=a},v2c:function(){gx.fn.setControlValue("CFGVALCONT",gx.O.A127CfgValCont,0)},c2v:function(){gx.O.A127CfgValCont=this.val()},val:function(){return gx.fn.getControlValue("CFGVALCONT")},nac:function(){return false}};this.GXValidFnc[33]={fld:"TEXTBLOCK2",format:0,grid:0};this.GXValidFnc[35]={lvl:0,type:"char",len:95,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Cfgdessign,isvalid:null,fld:"CFGDESSIGN",gxz:"Z124CfgDesSign",gxold:"O124CfgDesSign",gxvar:"A124CfgDesSign",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A124CfgDesSign=a
},v2z:function(a){gx.O.Z124CfgDesSign=a},v2c:function(){gx.fn.setControlValue("CFGDESSIGN",gx.O.A124CfgDesSign,0)},c2v:function(){gx.O.A124CfgDesSign=this.val()},val:function(){return gx.fn.getControlValue("CFGDESSIGN")},nac:function(){return false}};this.GXValidFnc[38]={fld:"TEXTBLOCK3",format:0,grid:0};this.GXValidFnc[40]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:1,grid:0,gxgrid:null,fnc:this.Valid_Cfgindlibu,isvalid:null,fld:"CFGINDLIBU",gxz:"Z125CfgIndLibU",gxold:"O125CfgIndLibU",gxvar:"A125CfgIndLibU",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A125CfgIndLibU=a
},v2z:function(a){gx.O.Z125CfgIndLibU=a},v2c:function(){gx.fn.setControlValue("CFGINDLIBU",gx.O.A125CfgIndLibU,0)},c2v:function(){gx.O.A125CfgIndLibU=this.val()},val:function(){return gx.fn.getControlValue("CFGINDLIBU")},nac:function(){return false}};this.GXValidFnc[45]={lvl:83,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:44,gxgrid:this.Grid1Container,fnc:this.Valid_Cfcnroseq,isvalid:null,rgrid:[],fld:"CFCNROSEQ",gxz:"Z121CfcNroSeq",gxold:"O121CfcNroSeq",gxvar:"A121CfcNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A121CfcNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z121CfcNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CFCNROSEQ",gx.fn.currentGridRowImpl(44),gx.O.A121CfcNroSeq,0)},c2v:function(){gx.O.A121CfcNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("CFCNROSEQ",gx.fn.currentGridRowImpl(44),".")},nac:function(){return false}};this.GXValidFnc[46]={lvl:83,type:"char",len:100,dec:0,sign:false,ro:1,grid:44,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CFCDESCONT",gxz:"Z120CfcDesCont",gxold:"O120CfcDesCont",gxvar:"A120CfcDesCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A120CfcDesCont=a
},v2z:function(a){gx.O.Z120CfcDesCont=a},v2c:function(){gx.fn.setGridControlValue("CFCDESCONT",gx.fn.currentGridRowImpl(44),gx.O.A120CfcDesCont,0)},c2v:function(){gx.O.A120CfcDesCont=this.val()},val:function(){return gx.fn.getGridControlValue("CFCDESCONT",gx.fn.currentGridRowImpl(44))},nac:function(){return false}};this.A122CfgCod="";this.Z122CfgCod="";this.O122CfgCod="";this.A127CfgValCont="";this.Z127CfgValCont="";this.O127CfgValCont="";this.A124CfgDesSign="";this.Z124CfgDesSign="";this.O124CfgDesSign="";
this.A125CfgIndLibU="";this.Z125CfgIndLibU="";this.O125CfgIndLibU="";this.Z121CfcNroSeq=0;this.O121CfcNroSeq=0;this.Z120CfcDesCont="";this.O120CfcDesCont="";this.A121CfcNroSeq=0;this.A120CfcDesCont="";this.AV16IndLibConf="";this.AV17UsuCodCorr="";this.AV22HstTipEntidade="";this.AV23HstCodEntidade=0;this.AV24IpStation="";this.AV25HstCodEstacao="";this.AV26HdeDesAtualizacao="";this.A126CfgTipCamp="";this.A123CfgCodGrup="";this.ServerEvents=["e123r2_client","e133r2_client","e153r82_client","e163r82_client"];
this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV16IndLibConf={id:"vINDLIBCONF",grid:0,type:"char"};this.VarControlMap.AV26HdeDesAtualizacao={id:"vHDEDESATUALIZACAO",grid:0,type:"char"};this.VarControlMap.AV25HstCodEstacao={id:"vHSTCODESTACAO",grid:0,type:"char"};this.VarControlMap.AV17UsuCodCorr={id:"vUSUCODCORR",grid:0,type:"char"};this.VarControlMap.AV23HstCodEntidade={id:"vHSTCODENTIDADE",grid:0,type:"int"};this.VarControlMap.AV22HstTipEntidade={id:"vHSTTIPENTIDADE",grid:0,type:"char"};this.VarControlMap.A126CfgTipCamp={id:"CFGTIPCAMP",grid:0,type:"char"};
this.VarControlMap.A123CfgCodGrup={id:"CFGCODGRUP",grid:0,type:"char"};this.VarControlMap.Gx_mode={id:"vMODE",grid:0,type:"char"};this.SetStandaloneVars()}timt029.prototype=new gx.GxObject;gx.setParentObj(new timt029());