gx.evt.autoSkip=false;function gx02b1(){this.ServerClass="Gx02B1";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV8pCfgCod=gx.fn.getControlValue("vPCFGCOD");this.AV9pCfcNroSeq=gx.fn.getIntegerValue("vPCFCNROSEQ",".")};this.e13ae2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14ae1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,23,27,28,29,30,33];
this.GXLastCtrlId=33;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",26,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02b1",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",27,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(121,28,"CFCNROSEQ","Seq.","","CfcNroSeq","int",0,"px",3,3,"right",null,[],121,"CfcNroSeq",true,0,false,false);
this.Grid1Container.addSingleLineEdit(120,29,"CFCDESCONT","Conteúdo","Selecionar","CfcDesCont","char",0,"px",100,100,"left",null,[],120,"CfcDesCont",true,0,false,false);this.Grid1Container.addSingleLineEdit(122,30,"CFGCOD","Configuração","","CfgCod","char",0,"px",10,10,"left",null,[],122,"CfgCod",false,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKCFCNROSEQ",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCCFCNROSEQ",gxz:"ZV6cCfcNroSeq",gxold:"OV6cCfcNroSeq",gxvar:"AV6cCfcNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cCfcNroSeq=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cCfcNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCCFCNROSEQ",gx.O.AV6cCfcNroSeq,0)},c2v:function(){gx.O.AV6cCfcNroSeq=this.val()},val:function(){return gx.fn.getIntegerValue("vCCFCNROSEQ",".")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKCFCDESCONTEUDO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:100,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCFCDESCONTEUDO",gxz:"ZV7cCfcDesConteudo",gxold:"OV7cCfcDesConteudo",gxvar:"AV7cCfcDesConteudo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cCfcDesConteudo=a},v2z:function(a){gx.O.ZV7cCfcDesConteudo=a},v2c:function(){gx.fn.setControlValue("vCCFCDESCONTEUDO",gx.O.AV7cCfcDesConteudo,0)
},c2v:function(){gx.O.AV7cCfcDesConteudo=this.val()},val:function(){return gx.fn.getControlValue("vCCFCDESCONTEUDO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"GROUP2",grid:0};this.GXValidFnc[23]={fld:"TABLE3",grid:0};this.GXValidFnc[27]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,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(26),gx.O.A121CfcNroSeq,0)},c2v:function(){gx.O.A121CfcNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("CFCNROSEQ",gx.fn.currentGridRowImpl(26),".")},nac:function(){return false}};this.GXValidFnc[29]={lvl:2,type:"char",len:100,dec:0,sign:false,ro:1,grid:26,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(26),gx.O.A120CfcDesCont,0)},c2v:function(){gx.O.A120CfcDesCont=this.val()},val:function(){return gx.fn.getGridControlValue("CFCDESCONT",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[30]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:26,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CFGCOD",gxz:"Z122CfgCod",gxold:"O122CfgCod",gxvar:"A122CfgCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A122CfgCod=a
},v2z:function(a){gx.O.Z122CfgCod=a},v2c:function(){gx.fn.setGridControlValue("CFGCOD",gx.fn.currentGridRowImpl(26),gx.O.A122CfgCod,0)},c2v:function(){gx.O.A122CfgCod=this.val()},val:function(){return gx.fn.getGridControlValue("CFGCOD",gx.fn.currentGridRowImpl(26))},nac:function(){return false}};this.GXValidFnc[33]={fld:"TABLE4",grid:0};this.AV6cCfcNroSeq=0;this.ZV6cCfcNroSeq=0;this.OV6cCfcNroSeq=0;this.AV7cCfcDesConteudo="";this.ZV7cCfcDesConteudo="";this.OV7cCfcDesConteudo="";this.ZV5LinkSelection="";
this.OV5LinkSelection="";this.Z121CfcNroSeq=0;this.O121CfcNroSeq=0;this.Z120CfcDesCont="";this.O120CfcDesCont="";this.Z122CfgCod="";this.O122CfgCod="";this.AV8pCfgCod="";this.AV9pCfcNroSeq=0;this.AV5LinkSelection="";this.A121CfcNroSeq=0;this.A120CfcDesCont="";this.A122CfgCod="";this.ServerEvents=["e13ae2_client","e14ae1_client"];this.VarControlMap.AV8pCfgCod={id:"vPCFGCOD",grid:0,type:"char"};this.VarControlMap.AV9pCfcNroSeq={id:"vPCFCNROSEQ",grid:0,type:"int"};this.VarControlMap.AV8pCfgCod={id:"vPCFGCOD",grid:0,type:"char"};
this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar({rfrVar:"AV8pCfgCod"});this.SetStandaloneVars()}gx02b1.prototype=new gx.GxObject;gx.setParentObj(new gx02b1());