gx.evt.autoSkip=false;function gx02k0(){this.ServerClass="Gx02K0";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pG02TrnCod=gx.fn.getControlValue("vPG02TRNCOD");this.AV10pG02CodDocumento=gx.fn.getIntegerValue("vPG02CODDOCUMENTO",".")};this.e13br2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14br1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,28,32,33,34,35,38];
this.GXLastCtrlId=38;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx02k0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",32,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(458,33,"G02TRNCOD","Transacao","","G02TrnCod","char",0,"px",16,16,"left",null,[],458,"G02TrnCod",true,0,false,false);
this.Grid1Container.addSingleLineEdit(457,34,"G02CODDOCU","Documento","","G02CodDocu","int",0,"px",7,7,"right",null,[],457,"G02CodDocu",true,0,false,false);this.Grid1Container.addSingleLineEdit(459,35,"G02VALCONT","Conteudo","Selecionar","G02ValCont","char",0,"px",20,20,"left",null,[],459,"G02ValCont",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:"TEXTBLOCKG02TRNCOD",format:0,grid:0};
this.GXValidFnc[14]={lvl:0,type:"char",len:16,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCG02TRNCOD",gxz:"ZV6cG02TrnCod",gxold:"OV6cG02TrnCod",gxvar:"AV6cG02TrnCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cG02TrnCod=a},v2z:function(a){gx.O.ZV6cG02TrnCod=a},v2c:function(){gx.fn.setControlValue("vCG02TRNCOD",gx.O.AV6cG02TrnCod,0)},c2v:function(){gx.O.AV6cG02TrnCod=this.val()},val:function(){return gx.fn.getControlValue("vCG02TRNCOD")},nac:function(){return false
}};this.GXValidFnc[17]={fld:"TEXTBLOCKG02CODDOCUMENTO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCG02CODDOCUMENTO",gxz:"ZV7cG02CodDocumento",gxold:"OV7cG02CodDocumento",gxvar:"AV7cG02CodDocumento",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cG02CodDocumento=gx.num.intval(a)},v2z:function(a){gx.O.ZV7cG02CodDocumento=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCG02CODDOCUMENTO",gx.O.AV7cG02CodDocumento,0)
},c2v:function(){gx.O.AV7cG02CodDocumento=this.val()},val:function(){return gx.fn.getIntegerValue("vCG02CODDOCUMENTO",".")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKG02VALCONTEUDO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:20,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCG02VALCONTEUDO",gxz:"ZV8cG02ValConteudo",gxold:"OV8cG02ValConteudo",gxvar:"AV8cG02ValConteudo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cG02ValConteudo=a
},v2z:function(a){gx.O.ZV8cG02ValConteudo=a},v2c:function(){gx.fn.setControlValue("vCG02VALCONTEUDO",gx.O.AV8cG02ValConteudo,0)},c2v:function(){gx.O.AV8cG02ValConteudo=this.val()},val:function(){return gx.fn.getControlValue("vCG02VALCONTEUDO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"GROUP2",grid:0};this.GXValidFnc[28]={fld:"TABLE3",grid:0};this.GXValidFnc[32]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:31,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(31))},nac:function(){return false}};this.GXValidFnc[33]={lvl:2,type:"char",len:16,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"G02TRNCOD",gxz:"Z458G02TrnCod",gxold:"O458G02TrnCod",gxvar:"A458G02TrnCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A458G02TrnCod=a
},v2z:function(a){gx.O.Z458G02TrnCod=a},v2c:function(){gx.fn.setGridControlValue("G02TRNCOD",gx.fn.currentGridRowImpl(31),gx.O.A458G02TrnCod,0)},c2v:function(){gx.O.A458G02TrnCod=this.val()},val:function(){return gx.fn.getGridControlValue("G02TRNCOD",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"int",len:7,dec:0,sign:false,pic:"ZZZZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"G02CODDOCU",gxz:"Z457G02CodDocu",gxold:"O457G02CodDocu",gxvar:"A457G02CodDocu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A457G02CodDocu=gx.num.intval(a)
},v2z:function(a){gx.O.Z457G02CodDocu=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("G02CODDOCU",gx.fn.currentGridRowImpl(31),gx.O.A457G02CodDocu,0)},c2v:function(){gx.O.A457G02CodDocu=this.val()},val:function(){return gx.fn.getGridIntegerValue("G02CODDOCU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"G02VALCONT",gxz:"Z459G02ValCont",gxold:"O459G02ValCont",gxvar:"A459G02ValCont",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A459G02ValCont=a
},v2z:function(a){gx.O.Z459G02ValCont=a},v2c:function(){gx.fn.setGridControlValue("G02VALCONT",gx.fn.currentGridRowImpl(31),gx.O.A459G02ValCont,0)},c2v:function(){gx.O.A459G02ValCont=this.val()},val:function(){return gx.fn.getGridControlValue("G02VALCONT",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[38]={fld:"TABLE4",grid:0};this.AV6cG02TrnCod="";this.ZV6cG02TrnCod="";this.OV6cG02TrnCod="";this.AV7cG02CodDocumento=0;this.ZV7cG02CodDocumento=0;this.OV7cG02CodDocumento=0;
this.AV8cG02ValConteudo="";this.ZV8cG02ValConteudo="";this.OV8cG02ValConteudo="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z458G02TrnCod="";this.O458G02TrnCod="";this.Z457G02CodDocu=0;this.O457G02CodDocu=0;this.Z459G02ValCont="";this.O459G02ValCont="";this.AV9pG02TrnCod="";this.AV10pG02CodDocumento=0;this.AV5LinkSelection="";this.A458G02TrnCod="";this.A457G02CodDocu=0;this.A459G02ValCont="";this.ServerEvents=["e13br2_client","e14br1_client"];this.VarControlMap.AV9pG02TrnCod={id:"vPG02TRNCOD",grid:0,type:"char"};
this.VarControlMap.AV10pG02CodDocumento={id:"vPG02CODDOCUMENTO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.SetStandaloneVars()}gx02k0.prototype=new gx.GxObject;gx.setParentObj(new gx02k0());