gx.evt.autoSkip=false;function hmih027(){this.ServerClass="HMih027";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.SetStandaloneVars=function(){this.AV7DocNro=gx.fn.getIntegerValue("vDOCNRO",".");this.AV14ParTipForm=gx.fn.getControlValue("vPARTIPFORM");this.AV15IndOrigem=gx.fn.getControlValue("vINDORIGEM");this.AV16TidIndModoPublicacao=gx.fn.getControlValue("vTIDINDMODOPUBLICACAO");this.AV17UndCodSele=gx.fn.getIntegerValue("vUNDCODSELE",".");this.AV18IndModeloApresentacao=gx.fn.getControlValue("vINDMODELOAPRESENTACAO")
};this.e137b2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e147b2_client=function(){this.executeServerEvent("CANCEL",true,arguments[0])};this.GXValidFnc=[];this.GXCtrlIds=[4,5,13,17];this.GXLastCtrlId=17;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",3,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hmih027",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");this.Grid1Container.addSingleLineEdit(288,4,"DONNROSEQ","Seq","","DonNroSeq","int",0,"px",4,4,"right",null,[],288,"DonNroSeq",true,0,false,false);
this.Grid1Container.addSingleLineEdit(287,5,"DONDESLINH","Narrativa","","DonDesLinh","char",0,"px",70,70,"left",null,[],287,"DonDesLinh",true,0,false,false);this.setGrid(this.Grid1Container);this.GXValidFnc[4]={lvl:2,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:1,grid:3,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"DONNROSEQ",gxz:"Z288DonNroSeq",gxold:"O288DonNroSeq",gxvar:"A288DonNroSeq",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A288DonNroSeq=gx.num.intval(a)
},v2z:function(a){gx.O.Z288DonNroSeq=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("DONNROSEQ",gx.fn.currentGridRowImpl(3),gx.O.A288DonNroSeq,1)},c2v:function(){gx.O.A288DonNroSeq=this.val()},val:function(){return gx.fn.getGridIntegerValue("DONNROSEQ",gx.fn.currentGridRowImpl(3),".")},nac:function(){return false}};this.GXValidFnc[5]={lvl:2,type:"char",len:70,dec:0,sign:false,ro:1,grid:3,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"DONDESLINH",gxz:"Z287DonDesLinh",gxold:"O287DonDesLinh",gxvar:"A287DonDesLinh",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A287DonDesLinh=a
},v2z:function(a){gx.O.Z287DonDesLinh=a},v2c:function(){gx.fn.setGridControlValue("DONDESLINH",gx.fn.currentGridRowImpl(3),gx.O.A287DonDesLinh,1)},c2v:function(){gx.O.A287DonDesLinh=this.val()},val:function(){return gx.fn.getGridControlValue("DONDESLINH",gx.fn.currentGridRowImpl(3))},nac:function(){return false}};this.GXValidFnc[13]={fld:"VOLTAR",format:0,grid:0};this.GXValidFnc[17]={fld:"DIALOGO",format:0,grid:0};this.Z288DonNroSeq=0;this.O288DonNroSeq=0;this.Z287DonDesLinh="";this.O287DonDesLinh="";
this.AV7DocNro=0;this.AV14ParTipForm="";this.AV15IndOrigem="";this.AV16TidIndModoPublicacao="";this.AV17UndCodSele=0;this.AV18IndModeloApresentacao="";this.A258DocNro=0;this.A288DonNroSeq=0;this.A287DonDesLinh="";this.A122CfgCod="";this.A127CfgValCont="";this.ServerEvents=["e137b2_client","e147b2_client"];this.VarControlMap.AV7DocNro={id:"vDOCNRO",grid:0,type:"int"};this.VarControlMap.AV14ParTipForm={id:"vPARTIPFORM",grid:0,type:"char"};this.VarControlMap.AV15IndOrigem={id:"vINDORIGEM",grid:0,type:"char"};
this.VarControlMap.AV16TidIndModoPublicacao={id:"vTIDINDMODOPUBLICACAO",grid:0,type:"char"};this.VarControlMap.AV17UndCodSele={id:"vUNDCODSELE",grid:0,type:"int"};this.VarControlMap.AV18IndModeloApresentacao={id:"vINDMODELOAPRESENTACAO",grid:0,type:"char"};this.VarControlMap.AV7DocNro={id:"vDOCNRO",grid:0,type:"int"};this.Grid1Container.addRefreshingVar({rfrVar:"AV7DocNro"});this.SetStandaloneVars()}hmih027.prototype=new gx.GxObject;gx.setParentObj(new hmih027());