/*!   GeneXus Java 16_0_9-140712 on April 26, 2022 15:28:26.58
*/
gx.evt.autoSkip=!1;gx.define("himh439",!1,function(){var n,t;this.ServerClass="himh439";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=!0;this.skipOnEnter=!1;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV24SdtRolTabelaGenerica=gx.fn.getControlValue("vSDTROLTABELAGENERICA")};this.e12pc2_client=function(){return this.executeServerEvent("ENTER",!0,arguments[0],!1,!1)};this.e15pc1_client=function(){return this.executeServerEvent("CANCEL",!0,null,!1,!1)};this.GXValidFnc=[];n=this.GXValidFnc;this.GXCtrlIds=[2,3,4,5,6,9,12,14,16,19,20,22,23];this.GXLastCtrlId=23;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",21,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"himh439",[],!1,1,!1,!0,0,!1,!1,!1,"",0,"px",0,"px","Novo registro",!1,!1,!1,null,null,!1,"",!1,[1,1,1,1],!1,0,!0,!1);t=this.Grid1Container;t.addSingleLineEdit("Grdcodchave",22,"vGRDCODCHAVE","Chave","","GrdCodChave","char",0,"px",30,30,"left",null,[],"Grdcodchave","GrdCodChave",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit("Grddscstatus",23,"vGRDDSCSTATUS","Status","","GrdDscStatus","char",0,"px",90,80,"left",null,[],"Grddscstatus","GrdDscStatus",!0,0,!1,!1,"Attribute",1,"");this.Grid1Container.emptyText="";this.setGrid(t);n[2]={id:2,fld:"",grid:0};n[3]={id:3,fld:"MAINTABLE",grid:0};n[4]={id:4,fld:"",grid:0};n[5]={id:5,fld:"",grid:0};n[6]={id:6,fld:"CABECALHOPOPUP",grid:0};n[9]={id:9,fld:"CABECALHOPOPUP_TABLE1",grid:0};n[12]={id:12,fld:"CABECALHOPOPUP_VOLTAR",grid:0,evt:"e15pc1_client"};n[14]={id:14,fld:"CABECALHOPOPUP_HELP",grid:0,evt:"e16pc1_client"};n[16]={id:16,fld:"CABECALHOPOPUP_REFRESH",grid:0,evt:"e11pc2_client"};n[19]={id:19,fld:"",grid:0};n[20]={id:20,fld:"",grid:0};n[22]={id:22,lvl:2,type:"char",len:30,dec:0,sign:!1,ro:1,isacc:0,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vGRDCODCHAVE",gxz:"ZV25GrdCodChave",gxold:"OV25GrdCodChave",gxvar:"AV25GrdCodChave",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){n!==undefined&&(gx.O.AV25GrdCodChave=n)},v2z:function(n){n!==undefined&&(gx.O.ZV25GrdCodChave=n)},v2c:function(n){gx.fn.setGridControlValue("vGRDCODCHAVE",n||gx.fn.currentGridRowImpl(21),gx.O.AV25GrdCodChave,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.AV25GrdCodChave=this.val(n))},val:function(n){return gx.fn.getGridControlValue("vGRDCODCHAVE",n||gx.fn.currentGridRowImpl(21))},nac:gx.falseFn};n[23]={id:23,lvl:2,type:"char",len:90,dec:0,sign:!1,ro:1,isacc:0,grid:21,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"vGRDDSCSTATUS",gxz:"ZV26GrdDscStatus",gxold:"OV26GrdDscStatus",gxvar:"AV26GrdDscStatus",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){n!==undefined&&(gx.O.AV26GrdDscStatus=n)},v2z:function(n){n!==undefined&&(gx.O.ZV26GrdDscStatus=n)},v2c:function(n){gx.fn.setGridControlValue("vGRDDSCSTATUS",n||gx.fn.currentGridRowImpl(21),gx.O.AV26GrdDscStatus,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.AV26GrdDscStatus=this.val(n))},val:function(n){return gx.fn.getGridControlValue("vGRDDSCSTATUS",n||gx.fn.currentGridRowImpl(21))},nac:gx.falseFn};this.ZV25GrdCodChave="";this.OV25GrdCodChave="";this.ZV26GrdDscStatus="";this.OV26GrdDscStatus="";this.AV25GrdCodChave="";this.AV26GrdDscStatus="";this.AV24SdtRolTabelaGenerica=[];this.Events={e12pc2_client:["ENTER",!0],e15pc1_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"GRID1_nFirstRecordOnPage"},{av:"GRID1_nEOF"},{av:"AV24SdtRolTabelaGenerica",fld:"vSDTROLTABELAGENERICA",pic:""}],[{av:"AV24SdtRolTabelaGenerica",fld:"vSDTROLTABELAGENERICA",pic:""}]];this.EvtParms.ENTER=[[],[]];this.EvtParms.START=[[{av:"AV9UsuCod",fld:"vUSUCOD",pic:"@!"}],[{av:"AV9UsuCod",fld:"vUSUCOD",pic:"@!"}]];this.EvtParms.LOAD=[[{av:"AV24SdtRolTabelaGenerica",fld:"vSDTROLTABELAGENERICA",pic:""}],[{av:"AV25GrdCodChave",fld:"vGRDCODCHAVE",pic:""},{av:"AV26GrdDscStatus",fld:"vGRDDSCSTATUS",pic:""}]];this.setVCMap("AV24SdtRolTabelaGenerica","vSDTROLTABELAGENERICA",0,"CollSdtTabelaGenerica",0,0);this.setVCMap("AV24SdtRolTabelaGenerica","vSDTROLTABELAGENERICA",0,"CollSdtTabelaGenerica",0,0);t.addRefreshingVar({rfrVar:"AV24SdtRolTabelaGenerica"});t.addRefreshingParm({rfrVar:"AV24SdtRolTabelaGenerica"});this.Initialize()});gx.setParentObj(new himh439)