gx.evt.autoSkip=false;function himh065(){this.ServerClass="HImh065";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){};this.e14102_client=function(){this.clearMessages();gx.popup.openUrl(gx.http.formatLink("timt026",[this.A280DoeNroAssi]),["A280DoeNroAssi"]);this.refreshOutputs([])};this.e11102_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e15101_client=function(){this.executeServerEvent("ENTER",true)};this.e16102_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])
};this.GXValidFnc=[];this.GXCtrlIds=[3,12,15,16,17,18,19,20];this.GXLastCtrlId=20;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",14,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh065",[],false,1,false,true,16,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Grdimagemeditar","vGRDIMAGEMEDITAR",15,0,"px",17,"px","e14102_client","","");this.Grid1Container.addSingleLineEdit(280,16,"DOENROASSI","Ass","","DoeNroAssi","int",0,"px",5,5,"right",null,[],280,"DoeNroAssi",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Perdesabrevtitulo",17,"vPERDESABREVTITULO","Título","","PerDesAbrevTitulo","char",0,"px",20,20,"left",null,[],"Perdesabrevtitulo","PerDesAbrevTitulo",true,0,false,false);this.Grid1Container.addSingleLineEdit("Dscperiodicidade",18,"vDSCPERIODICIDADE","Periodicidade","","DscPeriodicidade","char",0,"px",25,25,"left",null,[],"Dscperiodicidade","DscPeriodicidade",true,0,false,false);this.Grid1Container.addSingleLineEdit(442,19,"FORNOMABRE","Nome","","ForNomAbre","char",0,"px",15,15,"left",null,[],442,"ForNomAbre",true,0,false,false);
this.Grid1Container.addSingleLineEdit(258,20,"DOCNRO","Doc","","DocNro","int",0,"px",6,6,"right",null,[],258,"DocNro",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TABLE1",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[15]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vGRDIMAGEMEDITAR",gxz:"ZV18GrdImagemEditar",gxold:"OV18GrdImagemEditar",gxvar:"AV18GrdImagemEditar",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV18GrdImagemEditar=a
},v2z:function(a){gx.O.ZV18GrdImagemEditar=a},v2c:function(){},c2v:function(){gx.O.AV18GrdImagemEditar=this.val()},val:function(){return gx.fn.getGridControlValue("vGRDIMAGEMEDITAR",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.GXValidFnc[16]={lvl:2,type:"int",len:5,dec:0,sign:false,pic:"ZZZZ9",ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOENROASSI",gxz:"Z280DoeNroAssi",gxold:"O280DoeNroAssi",gxvar:"A280DoeNroAssi",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A280DoeNroAssi=gx.num.intval(a)
},v2z:function(a){gx.O.Z280DoeNroAssi=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOENROASSI",gx.fn.currentGridRowImpl(14),gx.O.A280DoeNroAssi,0)},c2v:function(){gx.O.A280DoeNroAssi=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOENROASSI",gx.fn.currentGridRowImpl(14),".")},nac:function(){return false}};this.GXValidFnc[17]={lvl:2,type:"char",len:20,dec:0,sign:false,ro:0,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vPERDESABREVTITULO",gxz:"ZV19PerDesAbrevTitulo",gxold:"OV19PerDesAbrevTitulo",gxvar:"AV19PerDesAbrevTitulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV19PerDesAbrevTitulo=a
},v2z:function(a){gx.O.ZV19PerDesAbrevTitulo=a},v2c:function(){gx.fn.setGridControlValue("vPERDESABREVTITULO",gx.fn.currentGridRowImpl(14),gx.O.AV19PerDesAbrevTitulo,0)},c2v:function(){gx.O.AV19PerDesAbrevTitulo=this.val()},val:function(){return gx.fn.getGridControlValue("vPERDESABREVTITULO",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.GXValidFnc[18]={lvl:2,type:"char",len:25,dec:0,sign:false,ro:0,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vDSCPERIODICIDADE",gxz:"ZV22DscPeriodicidade",gxold:"OV22DscPeriodicidade",gxvar:"AV22DscPeriodicidade",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22DscPeriodicidade=a
},v2z:function(a){gx.O.ZV22DscPeriodicidade=a},v2c:function(){gx.fn.setGridControlValue("vDSCPERIODICIDADE",gx.fn.currentGridRowImpl(14),gx.O.AV22DscPeriodicidade,0)},c2v:function(){gx.O.AV22DscPeriodicidade=this.val()},val:function(){return gx.fn.getGridControlValue("vDSCPERIODICIDADE",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.GXValidFnc[19]={lvl:2,type:"char",len:15,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"FORNOMABRE",gxz:"Z442ForNomAbre",gxold:"O442ForNomAbre",gxvar:"A442ForNomAbre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A442ForNomAbre=a
},v2z:function(a){gx.O.Z442ForNomAbre=a},v2c:function(){gx.fn.setGridControlValue("FORNOMABRE",gx.fn.currentGridRowImpl(14),gx.O.A442ForNomAbre,0)},c2v:function(){gx.O.A442ForNomAbre=this.val()},val:function(){return gx.fn.getGridControlValue("FORNOMABRE",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.GXValidFnc[20]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DOCNRO",gxz:"Z258DocNro",gxold:"O258DocNro",gxvar:"A258DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A258DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.Z258DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DOCNRO",gx.fn.currentGridRowImpl(14),gx.O.A258DocNro,0)},c2v:function(){gx.O.A258DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("DOCNRO",gx.fn.currentGridRowImpl(14),".")},nac:function(){return false}};this.ZV18GrdImagemEditar="";this.OV18GrdImagemEditar="";this.Z280DoeNroAssi=0;this.O280DoeNroAssi=0;this.ZV19PerDesAbrevTitulo="";this.OV19PerDesAbrevTitulo="";this.ZV22DscPeriodicidade="";
this.OV22DscPeriodicidade="";this.Z442ForNomAbre="";this.O442ForNomAbre="";this.Z258DocNro=0;this.O258DocNro=0;this.A272DoeDatBaix=gx.date.nullDate();this.A433ForCod=0;this.AV18GrdImagemEditar="";this.A280DoeNroAssi=0;this.AV19PerDesAbrevTitulo="";this.AV22DscPeriodicidade="";this.A442ForNomAbre="";this.A258DocNro=0;this.ServerEvents=["e11102_client","e15101_client","e16102_client"];this.EnterCtrl=["BUTTON1"];this.SetStandaloneVars()}himh065.prototype=new gx.GxObject;gx.setParentObj(new himh065());