gx.evt.autoSkip=false;function gx0121(){this.ServerClass="Gx0121";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV9pAutNro=gx.fn.getIntegerValue("vPAUTNRO",".");this.AV10pAtiNroSequencia=gx.fn.getIntegerValue("vPATINROSEQUENCIA",".")};this.e13ap2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14ap1_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,36,39];this.GXLastCtrlId=39;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",31,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx0121",[],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(68,33,"ATINROSEQU","Sequência","","AtiNroSequ","int",0,"px",3,3,"right",null,[],68,"AtiNroSequ",true,0,false,false);
this.Grid1Container.addSingleLineEdit(67,34,"ATIDESTITU","Título","Selecionar","AtiDesTitu","char",0,"px",40,40,"left",null,[],67,"AtiDesTitu",true,0,false,false);this.Grid1Container.addSingleLineEdit(66,35,"ATICAMPO1L","Campo livre","","AtiCampo1L","char",0,"px",10,10,"left",null,[],66,"AtiCampo1L",true,0,false,false);this.Grid1Container.addSingleLineEdit(74,36,"AUTNRO","Autor","","AutNro","int",0,"px",6,6,"right",null,[],74,"AutNro",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:"TEXTBLOCKATINROSEQUENCIA",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:"vCATINROSEQUENCIA",gxz:"ZV6cAtiNroSequencia",gxold:"OV6cAtiNroSequencia",gxvar:"AV6cAtiNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cAtiNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cAtiNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCATINROSEQUENCIA",gx.O.AV6cAtiNroSequencia,0)},c2v:function(){gx.O.AV6cAtiNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCATINROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKATIDESTITULO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:40,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCATIDESTITULO",gxz:"ZV7cAtiDesTitulo",gxold:"OV7cAtiDesTitulo",gxvar:"AV7cAtiDesTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cAtiDesTitulo=a
},v2z:function(a){gx.O.ZV7cAtiDesTitulo=a},v2c:function(){gx.fn.setControlValue("vCATIDESTITULO",gx.O.AV7cAtiDesTitulo,0)},c2v:function(){gx.O.AV7cAtiDesTitulo=this.val()},val:function(){return gx.fn.getControlValue("vCATIDESTITULO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKATICAMPO1LIVRE",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:"vCATICAMPO1LIVRE",gxz:"ZV8cAtiCampo1Livre",gxold:"OV8cAtiCampo1Livre",gxvar:"AV8cAtiCampo1Livre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cAtiCampo1Livre=a
},v2z:function(a){gx.O.ZV8cAtiCampo1Livre=a},v2c:function(){gx.fn.setControlValue("vCATICAMPO1LIVRE",gx.O.AV8cAtiCampo1Livre,0)},c2v:function(){gx.O.AV8cAtiCampo1Livre=this.val()},val:function(){return gx.fn.getControlValue("vCATICAMPO1LIVRE")},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:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"ATINROSEQU",gxz:"Z68AtiNroSequ",gxold:"O68AtiNroSequ",gxvar:"A68AtiNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A68AtiNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z68AtiNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("ATINROSEQU",gx.fn.currentGridRowImpl(31),gx.O.A68AtiNroSequ,0)},c2v:function(){gx.O.A68AtiNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("ATINROSEQU",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[34]={lvl:2,type:"char",len:40,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ATIDESTITU",gxz:"Z67AtiDesTitu",gxold:"O67AtiDesTitu",gxvar:"A67AtiDesTitu",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A67AtiDesTitu=a
},v2z:function(a){gx.O.Z67AtiDesTitu=a},v2c:function(){gx.fn.setGridControlValue("ATIDESTITU",gx.fn.currentGridRowImpl(31),gx.O.A67AtiDesTitu,0)},c2v:function(){gx.O.A67AtiDesTitu=this.val()},val:function(){return gx.fn.getGridControlValue("ATIDESTITU",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[35]={lvl:2,type:"char",len:10,dec:0,sign:false,ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"ATICAMPO1L",gxz:"Z66AtiCampo1L",gxold:"O66AtiCampo1L",gxvar:"A66AtiCampo1L",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A66AtiCampo1L=a
},v2z:function(a){gx.O.Z66AtiCampo1L=a},v2c:function(){gx.fn.setGridControlValue("ATICAMPO1L",gx.fn.currentGridRowImpl(31),gx.O.A66AtiCampo1L,0)},c2v:function(){gx.O.A66AtiCampo1L=this.val()},val:function(){return gx.fn.getGridControlValue("ATICAMPO1L",gx.fn.currentGridRowImpl(31))},nac:function(){return false}};this.GXValidFnc[36]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:31,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"AUTNRO",gxz:"Z74AutNro",gxold:"O74AutNro",gxvar:"A74AutNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A74AutNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z74AutNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("AUTNRO",gx.fn.currentGridRowImpl(31),gx.O.A74AutNro,0)},c2v:function(){gx.O.A74AutNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("AUTNRO",gx.fn.currentGridRowImpl(31),".")},nac:function(){return false}};this.GXValidFnc[39]={fld:"TABLE4",grid:0};this.AV6cAtiNroSequencia=0;this.ZV6cAtiNroSequencia=0;this.OV6cAtiNroSequencia=0;this.AV7cAtiDesTitulo="";this.ZV7cAtiDesTitulo="";this.OV7cAtiDesTitulo="";
this.AV8cAtiCampo1Livre="";this.ZV8cAtiCampo1Livre="";this.OV8cAtiCampo1Livre="";this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z68AtiNroSequ=0;this.O68AtiNroSequ=0;this.Z67AtiDesTitu="";this.O67AtiDesTitu="";this.Z66AtiCampo1L="";this.O66AtiCampo1L="";this.Z74AutNro=0;this.O74AutNro=0;this.AV9pAutNro=0;this.AV10pAtiNroSequencia=0;this.AV5LinkSelection="";this.A68AtiNroSequ=0;this.A67AtiDesTitu="";this.A66AtiCampo1L="";this.A74AutNro=0;this.ServerEvents=["e13ap2_client","e14ap1_client"];this.VarControlMap.AV9pAutNro={id:"vPAUTNRO",grid:0,type:"int"};
this.VarControlMap.AV10pAtiNroSequencia={id:"vPATINROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV9pAutNro={id:"vPAUTNRO",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({rfrVar:"AV9pAutNro"});this.SetStandaloneVars()}gx0121.prototype=new gx.GxObject;gx.setParentObj(new gx0121());