gx.evt.autoSkip=false;function gx03t3(){this.ServerClass="Gx03T3";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV10pAtdNro=gx.fn.getIntegerValue("vPATDNRO",".");this.AV11pCatNroSeqCampo=gx.fn.getIntegerValue("vPCATNROSEQCAMPO",".");this.AV12pCatNroRepCampo=gx.fn.getIntegerValue("vPCATNROREPCAMPO",".");this.AV13pSatNroSeqSubcampo=gx.fn.getIntegerValue("vPSATNROSEQSUBCAMPO",".");this.AV14pSatNroRepSubcampo=gx.fn.getIntegerValue("vPSATNROREPSUBCAMPO",".")
};this.e13cd2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14cd1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,33,37,38,39,40,41,42,43,44,45,48];this.GXLastCtrlId=48;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",36,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx03t3",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");
this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",37,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(757,38,"SATNROSEQS","Nr. sequência subcampo","","SatNroSeqS","int",0,"px",3,3,"right",null,[],757,"SatNroSeqS",true,0,false,false);this.Grid1Container.addSingleLineEdit(756,39,"SATNROREPS","Nr. repetição subcampo","","SatNroRepS","int",0,"px",3,3,"right",null,[],756,"SatNroRepS",true,0,false,false);this.Grid1Container.addSingleLineEdit(754,40,"SATCAMPO1L","Campo livre","Selecionar","SatCampo1L","char",0,"px",10,10,"left",null,[],754,"SatCampo1L",true,0,false,false);
this.Grid1Container.addSingleLineEdit(755,41,"SATNROORDE","Nr. ordem apresentação","","SatNroOrde","int",0,"px",3,3,"right",null,[],755,"SatNroOrde",true,0,false,false);this.Grid1Container.addSingleLineEdit(758,42,"SATVALRECU","Valor para recuperação","","SatValRecu","char",0,"px",40,40,"left",null,[],758,"SatValRecu",true,0,false,false);this.Grid1Container.addSingleLineEdit(63,43,"ATDNRO","Autoridade","","AtdNro","int",0,"px",6,6,"right",null,[],63,"AtdNro",false,0,false,false);this.Grid1Container.addSingleLineEdit(90,44,"CATNROSEQC","Nr. sequência campo","","CatNroSeqC","int",0,"px",4,4,"right",null,[],90,"CatNroSeqC",false,0,false,false);
this.Grid1Container.addSingleLineEdit(89,45,"CATNROREPC","Nr. repetição campo","","CatNroRepC","int",0,"px",3,3,"right",null,[],89,"CatNroRepC",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:"TEXTBLOCKSATNROSEQSUBCAMPO",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:"vCSATNROSEQSUBCAMPO",gxz:"ZV6cSatNroSeqSubcampo",gxold:"OV6cSatNroSeqSubcampo",gxvar:"AV6cSatNroSeqSubcampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cSatNroSeqSubcampo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cSatNroSeqSubcampo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCSATNROSEQSUBCAMPO",gx.O.AV6cSatNroSeqSubcampo,0)},c2v:function(){gx.O.AV6cSatNroSeqSubcampo=this.val()},val:function(){return gx.fn.getIntegerValue("vCSATNROSEQSUBCAMPO",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKSATNROREPSUBCAMPO",format:0,grid:0};this.GXValidFnc[19]={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:"vCSATNROREPSUBCAMPO",gxz:"ZV7cSatNroRepSubcampo",gxold:"OV7cSatNroRepSubcampo",gxvar:"AV7cSatNroRepSubcampo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cSatNroRepSubcampo=gx.num.intval(a)
},v2z:function(a){gx.O.ZV7cSatNroRepSubcampo=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCSATNROREPSUBCAMPO",gx.O.AV7cSatNroRepSubcampo,0)},c2v:function(){gx.O.AV7cSatNroRepSubcampo=this.val()},val:function(){return gx.fn.getIntegerValue("vCSATNROREPSUBCAMPO",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKSATCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCSATCAMPO1LIVRE",gxz:"ZV8cSatCampo1Livre",gxold:"OV8cSatCampo1Livre",gxvar:"AV8cSatCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cSatCampo1Livre=a
},v2z:function(a){gx.O.ZV8cSatCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCSATCAMPO1LIVRE",gx.O.AV8cSatCampo1Livre,0)},c2v:function(){gx.O.AV8cSatCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCSATCAMPO1LIVRE")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKSATNROORDEMAPRESENTACAO",format:0,grid:0};this.GXValidFnc[29]={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:"vCSATNROORDEMAPRESENTACAO",gxz:"ZV9cSatNroOrdemApresentacao",gxold:"OV9cSatNroOrdemApresentacao",gxvar:"AV9cSatNroOrdemApresentacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cSatNroOrdemApresentacao=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9cSatNroOrdemApresentacao=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCSATNROORDEMAPRESENTACAO",gx.O.AV9cSatNroOrdemApresentacao,0)},c2v:function(){gx.O.AV9cSatNroOrdemApresentacao=this.val()},val:function(){return gx.fn.getIntegerValue("vCSATNROORDEMAPRESENTACAO",".")},nac:function(){return false}};this.GXValidFnc[32]={fld:"GROUP2",grid:0};this.GXValidFnc[33]={fld:"TABLE3",grid:0};this.GXValidFnc[37]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:36,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(36))},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SATNROSEQS",gxz:"Z757SatNroSeqS",gxold:"O757SatNroSeqS",gxvar:"A757SatNroSeqS",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A757SatNroSeqS=gx.num.intval(a)
},v2z:function(a){gx.O.Z757SatNroSeqS=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SATNROSEQS",gx.fn.currentGridRowImpl(36),gx.O.A757SatNroSeqS,0)},c2v:function(){gx.O.A757SatNroSeqS=this.val()},val:function(){return gx.fn.getGridIntegerValue("SATNROSEQS",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SATNROREPS",gxz:"Z756SatNroRepS",gxold:"O756SatNroRepS",gxvar:"A756SatNroRepS",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A756SatNroRepS=gx.num.intval(a)
},v2z:function(a){gx.O.Z756SatNroRepS=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SATNROREPS",gx.fn.currentGridRowImpl(36),gx.O.A756SatNroRepS,0)},c2v:function(){gx.O.A756SatNroRepS=this.val()},val:function(){return gx.fn.getGridIntegerValue("SATNROREPS",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SATCAMPO1L",gxz:"Z754SatCampo1L",gxold:"O754SatCampo1L",gxvar:"A754SatCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A754SatCampo1L=a
},v2z:function(a){gx.O.Z754SatCampo1L=a},v2c:function(){gx.fn.setGridControlValue("SATCAMPO1L",gx.fn.currentGridRowImpl(36),gx.O.A754SatCampo1L,0)},c2v:function(){gx.O.A754SatCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("SATCAMPO1L",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"SATNROORDE",gxz:"Z755SatNroOrde",gxold:"O755SatNroOrde",gxvar:"A755SatNroOrde",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A755SatNroOrde=gx.num.intval(a)
},v2z:function(a){gx.O.Z755SatNroOrde=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("SATNROORDE",gx.fn.currentGridRowImpl(36),gx.O.A755SatNroOrde,0)},c2v:function(){gx.O.A755SatNroOrde=this.val()},val:function(){return gx.fn.getGridIntegerValue("SATNROORDE",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[42]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"SATVALRECU",gxz:"Z758SatValRecu",gxold:"O758SatValRecu",gxvar:"A758SatValRecu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A758SatValRecu=a
},v2z:function(a){gx.O.Z758SatValRecu=a},v2c:function(){gx.fn.setGridControlValue("SATVALRECU",gx.fn.currentGridRowImpl(36),gx.O.A758SatValRecu,0)},c2v:function(){gx.O.A758SatValRecu=this.val()},val:function(){return gx.fn.getGridControlValue("SATVALRECU",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[43]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:36,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(36),gx.O.A63AtdNro,0)},c2v:function(){gx.O.A63AtdNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ATDNRO",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[44]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:36,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(36),gx.O.A90CatNroSeqC,0)},c2v:function(){gx.O.A90CatNroSeqC=this.val()},val:function(){return gx.fn.getGridIntegerValue("CATNROSEQC",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[45]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:36,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(36),gx.O.A89CatNroRepC,0)},c2v:function(){gx.O.A89CatNroRepC=this.val()},val:function(){return gx.fn.getGridIntegerValue("CATNROREPC",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[48]={fld:"TABLE4",grid:0};this.AV6cSatNroSeqSubcampo=0;this.ZV6cSatNroSeqSubcampo=0;this.OV6cSatNroSeqSubcampo=0;this.AV7cSatNroRepSubcampo=0;this.ZV7cSatNroRepSubcampo=0;
this.OV7cSatNroRepSubcampo=0;this.AV8cSatCampo1Livre="";this.ZV8cSatCampo1Livre="";this.OV8cSatCampo1Livre="";this.AV9cSatNroOrdemApresentacao=0;this.ZV9cSatNroOrdemApresentacao=0;this.OV9cSatNroOrdemApresentacao=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z757SatNroSeqS=0;this.O757SatNroSeqS=0;this.Z756SatNroRepS=0;this.O756SatNroRepS=0;this.Z754SatCampo1L="";this.O754SatCampo1L="";this.Z755SatNroOrde=0;this.O755SatNroOrde=0;this.Z758SatValRecu="";this.O758SatValRecu="";this.Z63AtdNro=0;
this.O63AtdNro=0;this.Z90CatNroSeqC=0;this.O90CatNroSeqC=0;this.Z89CatNroRepC=0;this.O89CatNroRepC=0;this.AV10pAtdNro=0;this.AV11pCatNroSeqCampo=0;this.AV12pCatNroRepCampo=0;this.AV13pSatNroSeqSubcampo=0;this.AV14pSatNroRepSubcampo=0;this.AV5LinkSelection="";this.A757SatNroSeqS=0;this.A756SatNroRepS=0;this.A754SatCampo1L="";this.A755SatNroOrde=0;this.A758SatValRecu="";this.A63AtdNro=0;this.A90CatNroSeqC=0;this.A89CatNroRepC=0;this.ServerEvents=["e13cd2_client","e14cd1_client"];this.VarControlMap.AV10pAtdNro={id:"vPATDNRO",grid:0,type:"int"};
this.VarControlMap.AV11pCatNroSeqCampo={id:"vPCATNROSEQCAMPO",grid:0,type:"int"};this.VarControlMap.AV12pCatNroRepCampo={id:"vPCATNROREPCAMPO",grid:0,type:"int"};this.VarControlMap.AV13pSatNroSeqSubcampo={id:"vPSATNROSEQSUBCAMPO",grid:0,type:"int"};this.VarControlMap.AV14pSatNroRepSubcampo={id:"vPSATNROREPSUBCAMPO",grid:0,type:"int"};this.VarControlMap.AV10pAtdNro={id:"vPATDNRO",grid:0,type:"int"};this.VarControlMap.AV11pCatNroSeqCampo={id:"vPCATNROSEQCAMPO",grid:0,type:"int"};this.VarControlMap.AV12pCatNroRepCampo={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({rfrVar:"AV10pAtdNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV11pCatNroSeqCampo"});this.Grid1Container.addRefreshingVar({rfrVar:"AV12pCatNroRepCampo"});this.SetStandaloneVars()}gx03t3.prototype=new gx.GxObject;gx.setParentObj(new gx03t3());