gx.evt.autoSkip=false;function hmih080(){this.ServerClass="HMih080";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){this.AV7DatAquisicaoIni=gx.fn.getDateValue("vDATAQUISICAOINI");this.AV6DatAquisicaoFim=gx.fn.getDateValue("vDATAQUISICAOFIM");this.AV8TidCod=gx.fn.getControlValue("vTIDCOD");this.AV9UndLocCod=gx.fn.getIntegerValue("vUNDLOCCOD",".")};this.e13882_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14882_client=function(){this.executeServerEvent("'VOLTAR'",true,arguments[0])
};this.e16882_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[5,6,7];this.GXLastCtrlId=7;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",4,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih080",[],false,1,false,true,12,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit("Titulo",5,"vTITULO","Título","","Titulo","char",410,"px",250,250,"left",null,[],"Titulo","Titulo",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Nomeautor",6,"vNOMEAUTOR","Autor","","NomeAutor","char",410,"px",250,250,"left",null,[],"Nomeautor","NomeAutor",true,0,false,false);this.Grid1Container.addSingleLineEdit("Rolassuntos",7,"vROLASSUNTOS","Assuntos","","RolAssuntos","char",410,"px",300,300,"left",null,[],"Rolassuntos","RolAssuntos",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[5]={lvl:2,type:"char",len:250,dec:0,sign:false,ro:1,grid:4,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vTITULO",gxz:"ZV59Titulo",gxold:"OV59Titulo",gxvar:"AV59Titulo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV59Titulo=a
},v2z:function(a){gx.O.ZV59Titulo=a},v2c:function(){gx.fn.setGridControlValue("vTITULO",gx.fn.currentGridRowImpl(4),gx.O.AV59Titulo,0)},c2v:function(){gx.O.AV59Titulo=this.val()},val:function(){return gx.fn.getGridControlValue("vTITULO",gx.fn.currentGridRowImpl(4))},nac:function(){return false}};this.GXValidFnc[6]={lvl:2,type:"char",len:250,dec:0,sign:false,ro:1,grid:4,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vNOMEAUTOR",gxz:"ZV60NomeAutor",gxold:"OV60NomeAutor",gxvar:"AV60NomeAutor",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV60NomeAutor=a
},v2z:function(a){gx.O.ZV60NomeAutor=a},v2c:function(){gx.fn.setGridControlValue("vNOMEAUTOR",gx.fn.currentGridRowImpl(4),gx.O.AV60NomeAutor,0)},c2v:function(){gx.O.AV60NomeAutor=this.val()},val:function(){return gx.fn.getGridControlValue("vNOMEAUTOR",gx.fn.currentGridRowImpl(4))},nac:function(){return false}};this.GXValidFnc[7]={lvl:2,type:"char",len:300,dec:0,sign:false,ro:1,grid:4,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vROLASSUNTOS",gxz:"ZV61RolAssuntos",gxold:"OV61RolAssuntos",gxvar:"AV61RolAssuntos",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV61RolAssuntos=a
},v2z:function(a){gx.O.ZV61RolAssuntos=a},v2c:function(){gx.fn.setGridControlValue("vROLASSUNTOS",gx.fn.currentGridRowImpl(4),gx.O.AV61RolAssuntos,0)},c2v:function(){gx.O.AV61RolAssuntos=this.val()},val:function(){return gx.fn.getGridControlValue("vROLASSUNTOS",gx.fn.currentGridRowImpl(4))},nac:function(){return false}};this.ZV59Titulo="";this.OV59Titulo="";this.ZV60NomeAutor="";this.OV60NomeAutor="";this.ZV61RolAssuntos="";this.OV61RolAssuntos="";this.AV7DatAquisicaoIni=gx.date.nullDate();this.AV6DatAquisicaoFim=gx.date.nullDate();
this.AV8TidCod="";this.AV9UndLocCod=0;this.AV59Titulo="";this.AV60NomeAutor="";this.AV61RolAssuntos="";this.A258DocNro=0;this.A234DocCodAssu="";this.A863TidCod="";this.A868TidDes="";this.A242DocDesL1Ti="";this.ServerEvents=["e13882_client","e14882_client","e16882_client"];this.VarControlMap.AV7DatAquisicaoIni={id:"vDATAQUISICAOINI",grid:0,type:"date"};this.VarControlMap.AV6DatAquisicaoFim={id:"vDATAQUISICAOFIM",grid:0,type:"date"};this.VarControlMap.AV8TidCod={id:"vTIDCOD",grid:0,type:"char"};this.VarControlMap.AV9UndLocCod={id:"vUNDLOCCOD",grid:0,type:"int"};
this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.A242DocDesL1Ti={id:"DOCDESL1TI",grid:0,type:"char"};this.VarControlMap.AV57ChaveQuebraAnt={id:"vCHAVEQUEBRAANT",grid:0,type:"char"};this.VarControlMap.A868TidDes={id:"TIDDES",grid:0,type:"char"};this.VarControlMap.A863TidCod={id:"TIDCOD",grid:0,type:"char"};this.VarControlMap.A234DocCodAssu={id:"DOCCODASSU",grid:0,type:"char"};this.VarControlMap.AV52QtdDoctos={id:"vQTDDOCTOS",grid:0,type:"int"};this.Grid1Container.addRefreshingVar({rfrVar:"A258DocNro"});
this.Grid1Container.addRefreshingVar({rfrVar:"A242DocDesL1Ti"});this.Grid1Container.addRefreshingVar({rfrVar:"AV57ChaveQuebraAnt"});this.Grid1Container.addRefreshingVar({rfrVar:"A868TidDes"});this.Grid1Container.addRefreshingVar({rfrVar:"A863TidCod"});this.Grid1Container.addRefreshingVar({rfrVar:"A234DocCodAssu"});this.Grid1Container.addRefreshingVar({rfrVar:"AV52QtdDoctos"});this.SetStandaloneVars()}hmih080.prototype=new gx.GxObject;gx.setParentObj(new hmih080());