gx.evt.autoSkip=false;function himh020(){this.ServerClass="HImh020";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.SetStandaloneVars=function(){};this.e124j2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e144j1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[3,6,15,16];this.GXLastCtrlId=16;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",14,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh020",[],false,1,false,true,0,false,false,false,"",0,"px","Novo registro",false,false,false,null,null,false,"");
this.Grid1Container.addSingleLineEdit("Dsclinha",15,"vDSCLINHA","","","DscLinha","char",0,"px",50,50,"left",null,[],"Dsclinha","DscLinha",true,0,false,false);this.Grid1Container.addSingleLineEdit("Dsccodigo",16,"vDSCCODIGO","","","DscCodigo","char",0,"px",31,31,"left",null,[],"Dsccodigo","DscCodigo",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[15]={lvl:2,type:"char",len:50,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vDSCLINHA",gxz:"ZV6DscLinha",gxold:"OV6DscLinha",gxvar:"AV6DscLinha",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6DscLinha=a
},v2z:function(a){gx.O.ZV6DscLinha=a},v2c:function(){gx.fn.setGridControlValue("vDSCLINHA",gx.fn.currentGridRowImpl(14),gx.O.AV6DscLinha,0)},c2v:function(){gx.O.AV6DscLinha=this.val()},val:function(){return gx.fn.getGridControlValue("vDSCLINHA",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.GXValidFnc[16]={lvl:2,type:"char",len:31,dec:0,sign:false,ro:1,grid:14,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vDSCCODIGO",gxz:"ZV22DscCodigo",gxold:"OV22DscCodigo",gxvar:"AV22DscCodigo",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22DscCodigo=a
},v2z:function(a){gx.O.ZV22DscCodigo=a},v2c:function(){gx.fn.setGridControlValue("vDSCCODIGO",gx.fn.currentGridRowImpl(14),gx.O.AV22DscCodigo,0)},c2v:function(){gx.O.AV22DscCodigo=this.val()},val:function(){return gx.fn.getGridControlValue("vDSCCODIGO",gx.fn.currentGridRowImpl(14))},nac:function(){return false}};this.ZV6DscLinha="";this.OV6DscLinha="";this.ZV22DscCodigo="";this.OV22DscCodigo="";this.AV6DscLinha="";this.AV22DscCodigo="";this.A942UsbIndAtiv="";this.A787UsbCod="";this.ServerEvents=["e124j2_client","e144j1_client"];
this.VarControlMap.AV14iAnt={id:"vIANT",grid:0,type:"int"};this.VarControlMap.AV11iCodigos={id:"vICODIGOS",grid:0,type:"int"};this.VarControlMap.AV7UsbCodNumerico={id:"vUSBCODNUMERICO",grid:0,type:"int"};this.VarControlMap.A942UsbIndAtiv={id:"USBINDATIV",grid:0,type:"char"};this.VarControlMap.A787UsbCod={id:"USBCOD",grid:0,type:"char"};this.Grid1Container.addRefreshingVar({rfrVar:"AV14iAnt"});this.Grid1Container.addRefreshingVar({rfrVar:"AV11iCodigos"});this.Grid1Container.addRefreshingVar({rfrVar:"AV7UsbCodNumerico"});
this.Grid1Container.addRefreshingVar({rfrVar:"A942UsbIndAtiv"});this.Grid1Container.addRefreshingVar({rfrVar:"A787UsbCod"});this.SetStandaloneVars()}himh020.prototype=new gx.GxObject;gx.setParentObj(new himh020());