gx.evt.autoSkip=false;function himh089(){this.ServerClass="HImh089";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.AV8SlcNro=gx.fn.getIntegerValue("vSLCNRO",".")};this.e115k2_client=function(){this.executeServerEvent("'GERAR NOVO DOCUMENTO'",false)};this.e125k2_client=function(){this.executeServerEvent("'HOME'",false)};this.e135k2_client=function(){this.executeServerEvent("'VOLTAR'",false)};this.e165k1_client=function(){this.executeServerEvent("ENTER",true)
};this.e175k2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[3,6,26,27,28];this.GXLastCtrlId=28;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",25,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh089",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addCheckBox("Op",26,"vOP","","","Op","char","S","N",null,true,false,0,"px");this.Grid1Container.addSingleLineEdit("Docnro",27,"vDOCNRO","Doc","","DocNro","int",0,"px",6,6,"right",null,[],"Docnro","DocNro",true,0,false,false);
this.Grid1Container.addSingleLineEdit("Linha",28,"vLINHA","Títulos similares","","Linha","char",0,"px",110,110,"left",null,[],"Linha","Linha",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[3]={fld:"TEXTBLOCK1",format:0,grid:0};this.GXValidFnc[6]={fld:"TABLE1",grid:0};this.GXValidFnc[26]={lvl:2,type:"char",len:1,dec:0,sign:true,ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vOP",gxz:"ZV50Op",gxold:"OV50Op",gxvar:"AV50Op",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"checkbox",v2v:function(a){gx.O.AV50Op=a
},v2z:function(a){gx.O.ZV50Op=a},v2c:function(){gx.fn.setGridCheckBoxValue("vOP",gx.fn.currentGridRowImpl(25),gx.O.AV50Op,"S")},c2v:function(){gx.O.AV50Op=this.val()},val:function(){return gx.fn.getGridCheckBoxValue("vOP",gx.fn.currentGridRowImpl(25),"S","N")},nac:function(){return false}};this.GXValidFnc[27]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"vDOCNRO",gxz:"ZV27DocNro",gxold:"OV27DocNro",gxvar:"AV27DocNro",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV27DocNro=gx.num.intval(a)
},v2z:function(a){gx.O.ZV27DocNro=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("vDOCNRO",gx.fn.currentGridRowImpl(25),gx.O.AV27DocNro,0)},c2v:function(){gx.O.AV27DocNro=this.val()},val:function(){return gx.fn.getGridIntegerValue("vDOCNRO",gx.fn.currentGridRowImpl(25),".")},nac:function(){return false}};this.GXValidFnc[28]={lvl:2,type:"char",len:110,dec:0,sign:false,ro:1,grid:25,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINHA",gxz:"ZV35Linha",gxold:"OV35Linha",gxvar:"AV35Linha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV35Linha=a
},v2z:function(a){gx.O.ZV35Linha=a},v2c:function(){gx.fn.setGridControlValue("vLINHA",gx.fn.currentGridRowImpl(25),gx.O.AV35Linha,0)},c2v:function(){gx.O.AV35Linha=this.val()},val:function(){return gx.fn.getGridControlValue("vLINHA",gx.fn.currentGridRowImpl(25))},nac:function(){return false}};this.ZV50Op="";this.OV50Op="";this.ZV27DocNro=0;this.OV27DocNro=0;this.ZV35Linha="";this.OV35Linha="";this.AV8SlcNro=0;this.AV50Op="";this.AV27DocNro=0;this.AV35Linha="";this.A819SlcNro=0;this.A804SlcCodAuto="";
this.A817SlcNomL1Au="";this.A809SlcDesL1Ti="";this.A805SlcCodUnid=0;this.A249DocDesTitu="";this.A242DocDesL1Ti="";this.A253DocNomAuto="";this.A258DocNro=0;this.ServerEvents=["e115k2_client","e125k2_client","e135k2_client","e165k1_client","e175k2_client"];this.EnterCtrl=["BUTTON1"];this.VarControlMap.AV8SlcNro={id:"vSLCNRO",grid:0,type:"int"};this.VarControlMap.A258DocNro={id:"DOCNRO",grid:0,type:"int"};this.VarControlMap.AV36NomAutor={id:"vNOMAUTOR",grid:0,type:"char"};this.VarControlMap.A253DocNomAuto={id:"DOCNOMAUTO",grid:0,type:"char"};
this.VarControlMap.A242DocDesL1Ti={id:"DOCDESL1TI",grid:0,type:"char"};this.VarControlMap.A249DocDesTitu={id:"DOCDESTITU",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"A258DocNro"});this.Grid1Container.addRefreshingVar({rfrVar:"AV36NomAutor"});this.Grid1Container.addRefreshingVar({rfrVar:"A253DocNomAuto"});this.Grid1Container.addRefreshingVar({rfrVar:"A242DocDesL1Ti"});this.Grid1Container.addRefreshingVar({rfrVar:"A249DocDesTitu"});this.SetStandaloneVars()}himh089.prototype=new gx.GxObject;
gx.setParentObj(new himh089());