gx.evt.autoSkip=false;function gx03s0(){this.ServerClass="Gx03S0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV12pAtdNro=gx.fn.getIntegerValue("vPATDNRO",".");this.AV13pCatNroSeqCampo=gx.fn.getIntegerValue("vPCATNROSEQCAMPO",".");this.AV14pCatNroRepCampo=gx.fn.getIntegerValue("vPCATNROREPCAMPO",".")};this.e13cc2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14cc1_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,39,42,43,47,48,49,50,51,52,53,56];this.GXLastCtrlId=56;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",46,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03s0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",47,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(63,48,"ATDNRO","Autoridade","","AtdNro","int",0,"px",6,6,"right",null,[],63,"AtdNro",true,0,false,false);
this.Grid1Container.addSingleLineEdit(90,49,"CATNROSEQC","Nr. sequência campo","","CatNroSeqC","int",0,"px",4,4,"right",null,[],90,"CatNroSeqC",true,0,false,false);this.Grid1Container.addSingleLineEdit(89,50,"CATNROREPC","Nr. repetição campo","","CatNroRepC","int",0,"px",3,3,"right",null,[],89,"CatNroRepC",true,0,false,false);this.Grid1Container.addSingleLineEdit(91,51,"CATVAL1IND","Indicador 1","Selecionar","CatVal1Ind","char",0,"px",1,1,"left",null,[],91,"CatVal1Ind",true,0,false,false);this.Grid1Container.addSingleLineEdit(92,52,"CATVAL2IND","Indicador 2","","CatVal2Ind","char",0,"px",1,1,"left",null,[],92,"CatVal2Ind",true,0,false,false);
this.Grid1Container.addSingleLineEdit(88,53,"CATCAMPO1L","Campo livre","","CatCampo1L","char",0,"px",10,10,"left",null,[],88,"CatCampo1L",true,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:"TEXTBLOCKATDNRO",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCATDNRO",gxz:"ZV6cAtdNro",gxold:"OV6cAtdNro",gxvar:"AV6cAtdNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cAtdNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cAtdNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCATDNRO",gx.O.AV6cAtdNro,0)},c2v:function(){gx.O.AV6cAtdNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCATDNRO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKCATNROSEQCAMPO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCCATNROSEQCAMPO",gxz:"ZV7cCatNroSeqCampo",gxold:"OV7cCatNroSeqCampo",gxvar:"AV7cCatNroSeqCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cCatNroSeqCampo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cCatNroSeqCampo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCCATNROSEQCAMPO",gx.O.AV7cCatNroSeqCampo,0)},c2v:function(){gx.O.AV7cCatNroSeqCampo=this.val()},val:function(){return gx.fn.getIntegerValue("vCCATNROSEQCAMPO",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKCATNROREPCAMPO",format:0,grid:0};this.GXValidFnc[24]={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:"vCCATNROREPCAMPO",gxz:"ZV8cCatNroRepCampo",gxold:"OV8cCatNroRepCampo",gxvar:"AV8cCatNroRepCampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cCatNroRepCampo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV8cCatNroRepCampo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCCATNROREPCAMPO",gx.O.AV8cCatNroRepCampo,0)},c2v:function(){gx.O.AV8cCatNroRepCampo=this.val()},val:function(){return gx.fn.getIntegerValue("vCCATNROREPCAMPO",".")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKCATVAL1INDICADOR",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCATVAL1INDICADOR",gxz:"ZV9cCatVal1Indicador",gxold:"OV9cCatVal1Indicador",gxvar:"AV9cCatVal1Indicador",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cCatVal1Indicador=a
},v2z:function(a){gx.O.ZV9cCatVal1Indicador=a},v2c:function(){gx.fn.setControlValue("vCCATVAL1INDICADOR",gx.O.AV9cCatVal1Indicador,0)},c2v:function(){gx.O.AV9cCatVal1Indicador=this.val()},val:function(){return gx.fn.getControlValue("vCCATVAL1INDICADOR")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKCATVAL2INDICADOR",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCATVAL2INDICADOR",gxz:"ZV10cCatVal2Indicador",gxold:"OV10cCatVal2Indicador",gxvar:"AV10cCatVal2Indicador",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cCatVal2Indicador=a
},v2z:function(a){gx.O.ZV10cCatVal2Indicador=a},v2c:function(){gx.fn.setControlValue("vCCATVAL2INDICADOR",gx.O.AV10cCatVal2Indicador,0)},c2v:function(){gx.O.AV10cCatVal2Indicador=this.val()},val:function(){return gx.fn.getControlValue("vCCATVAL2INDICADOR")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKCATCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCCATCAMPO1LIVRE",gxz:"ZV11cCatCampo1Livre",gxold:"OV11cCatCampo1Livre",gxvar:"AV11cCatCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV11cCatCampo1Livre=a
},v2z:function(a){gx.O.ZV11cCatCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCCATCAMPO1LIVRE",gx.O.AV11cCatCampo1Livre,0)},c2v:function(){gx.O.AV11cCatCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCCATCAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[42]={fld:"GROUP2",grid:0};this.GXValidFnc[43]={fld:"TABLE3",grid:0};this.GXValidFnc[47]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:46,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(46))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ATDNRO",gxz:"Z63AtdNro",gxold:"O63AtdNro",gxvar:"A63AtdNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A63AtdNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z63AtdNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ATDNRO",gx.fn.currentGridRowImpl(46),gx.O.A63AtdNro,0)},c2v:function(){gx.O.A63AtdNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ATDNRO",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CATNROSEQC",gxz:"Z90CatNroSeqC",gxold:"O90CatNroSeqC",gxvar:"A90CatNroSeqC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A90CatNroSeqC=gx.num.intval(a)
},v2z:function(a){gx.O.Z90CatNroSeqC=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CATNROSEQC",gx.fn.currentGridRowImpl(46),gx.O.A90CatNroSeqC,0)},c2v:function(){gx.O.A90CatNroSeqC=this.val()},val:function(){return gx.fn.getGridIntegerValue("CATNROSEQC",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"CATNROREPC",gxz:"Z89CatNroRepC",gxold:"O89CatNroRepC",gxvar:"A89CatNroRepC",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A89CatNroRepC=gx.num.intval(a)
},v2z:function(a){gx.O.Z89CatNroRepC=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("CATNROREPC",gx.fn.currentGridRowImpl(46),gx.O.A89CatNroRepC,0)},c2v:function(){gx.O.A89CatNroRepC=this.val()},val:function(){return gx.fn.getGridIntegerValue("CATNROREPC",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CATVAL1IND",gxz:"Z91CatVal1Ind",gxold:"O91CatVal1Ind",gxvar:"A91CatVal1Ind",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A91CatVal1Ind=a
},v2z:function(a){gx.O.Z91CatVal1Ind=a},v2c:function(){gx.fn.setGridControlValue("CATVAL1IND",gx.fn.currentGridRowImpl(46),gx.O.A91CatVal1Ind,0)},c2v:function(){gx.O.A91CatVal1Ind=this.val()},val:function(){return gx.fn.getGridControlValue("CATVAL1IND",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CATVAL2IND",gxz:"Z92CatVal2Ind",gxold:"O92CatVal2Ind",gxvar:"A92CatVal2Ind",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A92CatVal2Ind=a
},v2z:function(a){gx.O.Z92CatVal2Ind=a},v2c:function(){gx.fn.setGridControlValue("CATVAL2IND",gx.fn.currentGridRowImpl(46),gx.O.A92CatVal2Ind,0)},c2v:function(){gx.O.A92CatVal2Ind=this.val()},val:function(){return gx.fn.getGridControlValue("CATVAL2IND",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"CATCAMPO1L",gxz:"Z88CatCampo1L",gxold:"O88CatCampo1L",gxvar:"A88CatCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A88CatCampo1L=a
},v2z:function(a){gx.O.Z88CatCampo1L=a},v2c:function(){gx.fn.setGridControlValue("CATCAMPO1L",gx.fn.currentGridRowImpl(46),gx.O.A88CatCampo1L,0)},c2v:function(){gx.O.A88CatCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("CATCAMPO1L",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[56]={fld:"TABLE4",grid:0};this.AV6cAtdNro=0;this.ZV6cAtdNro=0;this.OV6cAtdNro=0;this.AV7cCatNroSeqCampo=0;this.ZV7cCatNroSeqCampo=0;this.OV7cCatNroSeqCampo=0;this.AV8cCatNroRepCampo=0;
this.ZV8cCatNroRepCampo=0;this.OV8cCatNroRepCampo=0;this.AV9cCatVal1Indicador="";this.ZV9cCatVal1Indicador="";this.OV9cCatVal1Indicador="";this.AV10cCatVal2Indicador="";this.ZV10cCatVal2Indicador="";this.OV10cCatVal2Indicador="";this.AV11cCatCampo1Livre="";this.ZV11cCatCampo1Livre="";this.OV11cCatCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z63AtdNro=0;this.O63AtdNro=0;this.Z90CatNroSeqC=0;this.O90CatNroSeqC=0;this.Z89CatNroRepC=0;this.O89CatNroRepC=0;this.Z91CatVal1Ind="";
this.O91CatVal1Ind="";this.Z92CatVal2Ind="";this.O92CatVal2Ind="";this.Z88CatCampo1L="";this.O88CatCampo1L="";this.AV12pAtdNro=0;this.AV13pCatNroSeqCampo=0;this.AV14pCatNroRepCampo=0;this.AV5LinkSelection="";this.A63AtdNro=0;this.A90CatNroSeqC=0;this.A89CatNroRepC=0;this.A91CatVal1Ind="";this.A92CatVal2Ind="";this.A88CatCampo1L="";this.ServerEvents=["e13cc2_client","e14cc1_client"];this.VarControlMap.AV12pAtdNro={id:"vPATDNRO",grid:0,type:"int"};this.VarControlMap.AV13pCatNroSeqCampo={id:"vPCATNROSEQCAMPO",grid:0,type:"int"};
this.VarControlMap.AV14pCatNroRepCampo={id:"vPCATNROREPCAMPO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[34]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.SetStandaloneVars()}gx03s0.prototype=new gx.GxObject;gx.setParentObj(new gx03s0());