gx.evt.autoSkip=false;function gx04a0(){this.ServerClass="Gx04A0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV10pAssNro=gx.fn.getIntegerValue("vPASSNRO",".");this.AV11pIndNroLinha=gx.fn.getIntegerValue("vPINDNROLINHA",".")};this.e13co2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14co1_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,44];
this.GXLastCtrlId=44;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",36,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx04a0",[],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(57,38,"ASSNRO","Assinatura","","AssNro","int",0,"px",5,5,"right",null,[],57,"AssNro",true,0,false,false);this.Grid1Container.addSingleLineEdit(491,39,"INDNROLINH","Linha","","IndNroLinh","int",0,"px",5,5,"right",null,[],491,"IndNroLinh",true,0,false,false);
this.Grid1Container.addSingleLineEdit(490,40,"INDDESINDI","Índice","Selecionar","IndDesIndi","char",0,"px",78,78,"left",null,[],490,"IndDesIndi",true,0,false,false);this.Grid1Container.addSingleLineEdit(489,41,"INDCAMPO1L","Campo livre 1","","IndCampo1L","char",0,"px",20,20,"left",null,[],489,"IndCampo1L",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:"TEXTBLOCKASSNRO",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCASSNRO",gxz:"ZV6cAssNro",gxold:"OV6cAssNro",gxvar:"AV6cAssNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cAssNro=gx.num.intval(a)},v2z:function(a){gx.O.ZV6cAssNro=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCASSNRO",gx.O.AV6cAssNro,0)},c2v:function(){gx.O.AV6cAssNro=this.val()},val:function(){return gx.fn.getIntegerValue("vCASSNRO",".")
},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKINDNROLINHA",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCINDNROLINHA",gxz:"ZV7cIndNroLinha",gxold:"OV7cIndNroLinha",gxvar:"AV7cIndNroLinha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cIndNroLinha=gx.num.intval(a)},v2z:function(a){gx.O.ZV7cIndNroLinha=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCINDNROLINHA",gx.O.AV7cIndNroLinha,0)
},c2v:function(){gx.O.AV7cIndNroLinha=this.val()},val:function(){return gx.fn.getIntegerValue("vCINDNROLINHA",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKINDDESINDICE",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:78,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCINDDESINDICE",gxz:"ZV8cIndDesIndice",gxold:"OV8cIndDesIndice",gxvar:"AV8cIndDesIndice",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cIndDesIndice=a},v2z:function(a){gx.O.ZV8cIndDesIndice=a
},v2c:function(){gx.fn.setControlValue("vCINDDESINDICE",gx.O.AV8cIndDesIndice,0)},c2v:function(){gx.O.AV8cIndDesIndice=this.val()},val:function(){return gx.fn.getControlValue("vCINDDESINDICE")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKINDCAMPO1LIVRE",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCINDCAMPO1LIVRE",gxz:"ZV9cIndCampo1Livre",gxold:"OV9cIndCampo1Livre",gxvar:"AV9cIndCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cIndCampo1Livre=a
},v2z:function(a){gx.O.ZV9cIndCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCINDCAMPO1LIVRE",gx.O.AV9cIndCampo1Livre,0)},c2v:function(){gx.O.AV9cIndCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCINDCAMPO1LIVRE")},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:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ASSNRO",gxz:"Z57AssNro",gxold:"O57AssNro",gxvar:"A57AssNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A57AssNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z57AssNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ASSNRO",gx.fn.currentGridRowImpl(36),gx.O.A57AssNro,0)},c2v:function(){gx.O.A57AssNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("ASSNRO",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"INDNROLINH",gxz:"Z491IndNroLinh",gxold:"O491IndNroLinh",gxvar:"A491IndNroLinh",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A491IndNroLinh=gx.num.intval(a)
},v2z:function(a){gx.O.Z491IndNroLinh=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("INDNROLINH",gx.fn.currentGridRowImpl(36),gx.O.A491IndNroLinh,0)},c2v:function(){gx.O.A491IndNroLinh=this.val()},val:function(){return gx.fn.getGridIntegerValue("INDNROLINH",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:78,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"INDDESINDI",gxz:"Z490IndDesIndi",gxold:"O490IndDesIndi",gxvar:"A490IndDesIndi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A490IndDesIndi=a
},v2z:function(a){gx.O.Z490IndDesIndi=a},v2c:function(){gx.fn.setGridControlValue("INDDESINDI",gx.fn.currentGridRowImpl(36),gx.O.A490IndDesIndi,0)},c2v:function(){gx.O.A490IndDesIndi=this.val()},val:function(){return gx.fn.getGridControlValue("INDDESINDI",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"INDCAMPO1L",gxz:"Z489IndCampo1L",gxold:"O489IndCampo1L",gxvar:"A489IndCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A489IndCampo1L=a
},v2z:function(a){gx.O.Z489IndCampo1L=a},v2c:function(){gx.fn.setGridControlValue("INDCAMPO1L",gx.fn.currentGridRowImpl(36),gx.O.A489IndCampo1L,0)},c2v:function(){gx.O.A489IndCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("INDCAMPO1L",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[44]={fld:"TABLE4",grid:0};this.AV6cAssNro=0;this.ZV6cAssNro=0;this.OV6cAssNro=0;this.AV7cIndNroLinha=0;this.ZV7cIndNroLinha=0;this.OV7cIndNroLinha=0;this.AV8cIndDesIndice="";
this.ZV8cIndDesIndice="";this.OV8cIndDesIndice="";this.AV9cIndCampo1Livre="";this.ZV9cIndCampo1Livre="";this.OV9cIndCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z57AssNro=0;this.O57AssNro=0;this.Z491IndNroLinh=0;this.O491IndNroLinh=0;this.Z490IndDesIndi="";this.O490IndDesIndi="";this.Z489IndCampo1L="";this.O489IndCampo1L="";this.AV10pAssNro=0;this.AV11pIndNroLinha=0;this.AV5LinkSelection="";this.A57AssNro=0;this.A491IndNroLinh=0;this.A490IndDesIndi="";this.A489IndCampo1L="";
this.ServerEvents=["e13co2_client","e14co1_client"];this.VarControlMap.AV10pAssNro={id:"vPASSNRO",grid:0,type:"int"};this.VarControlMap.AV11pIndNroLinha={id:"vPINDNROLINHA",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.SetStandaloneVars()}gx04a0.prototype=new gx.GxObject;gx.setParentObj(new gx04a0());