/*!   GeneXus C# 16_0_9-140712 on 4/17/2024 13:27:19.81
*/
gx.evt.autoSkip=!1;gx.define("hltipossuporte",!1,function(){var n,t;this.ServerClass="hltipossuporte";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.anyGridBaseTable=!0;this.hasEnterEvent=!0;this.skipOnEnter=!1;this.autoRefresh=!0;this.ajaxSecurityToken=!0;this.SetStandaloneVars=function(){this.AV12SupNroSequencia=gx.fn.getIntegerValue("vSUPNROSEQUENCIA",".")};this.e11pz2_client=function(){return this.executeServerEvent("ENTER",!0,null,!1,!1)};this.e14pz1_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,21,22,23,24,25,26,27,28,30,31];this.GXLastCtrlId=31;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",29,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"hltipossuporte",[],!1,1,!1,!0,10,!0,!1,!1,"",0,"px",0,"px","Novo registro",!0,!1,!1,null,null,!1,"",!1,[1,1,1,1],!1,0,!0,!1);t=this.Grid1Container;t.addSingleLineEdit(1341,30,"SUPNOM","Nome","","SupNom","char",0,"px",60,60,"left",null,[],1341,"SupNom",!0,0,!1,!1,"Attribute",1,"");t.addSingleLineEdit(1340,31,"SUPNROSEQU","Número","","SupNroSequ","int",0,"px",4,4,"right",null,[],1340,"SupNroSequ",!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:"e14pz1_client"};n[14]={id:14,fld:"CABECALHOPOPUP_HELP",grid:0};n[16]={id:16,fld:"CABECALHOPOPUP_REFRESH",grid:0,evt:"e15pz1_client"};n[19]={id:19,fld:"",grid:0};n[20]={id:20,fld:"",grid:0};n[21]={id:21,fld:"",grid:0};n[22]={id:22,fld:"",grid:0};n[23]={id:23,fld:"BUTTON3",grid:0,evt:"e11pz2_client",std:"ENTER"};n[24]={id:24,fld:"",grid:0};n[25]={id:25,fld:"",grid:0};n[26]={id:26,fld:"TABLE2",grid:0};n[27]={id:27,fld:"",grid:0};n[28]={id:28,fld:"",grid:0};n[30]={id:30,lvl:2,type:"char",len:60,dec:0,sign:!1,ro:1,isacc:0,grid:29,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"SUPNOM",gxz:"Z1341SupNom",gxold:"O1341SupNom",gxvar:"A1341SupNom",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"text",autoCorrect:"1",v2v:function(n){n!==undefined&&(gx.O.A1341SupNom=n)},v2z:function(n){n!==undefined&&(gx.O.Z1341SupNom=n)},v2c:function(n){gx.fn.setGridControlValue("SUPNOM",n||gx.fn.currentGridRowImpl(29),gx.O.A1341SupNom,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.A1341SupNom=this.val(n))},val:function(n){return gx.fn.getGridControlValue("SUPNOM",n||gx.fn.currentGridRowImpl(29))},nac:gx.falseFn};n[31]={id:31,lvl:2,type:"int",len:4,dec:0,sign:!1,pic:"ZZZ9",ro:1,isacc:0,grid:29,gxgrid:this.Grid1Container,fnc:null,isvalid:null,evt_cvc:null,evt_cvcing:null,rgrid:[],fld:"SUPNROSEQU",gxz:"Z1340SupNroSequ",gxold:"O1340SupNroSequ",gxvar:"A1340SupNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",inputType:"number",v2v:function(n){n!==undefined&&(gx.O.A1340SupNroSequ=gx.num.intval(n))},v2z:function(n){n!==undefined&&(gx.O.Z1340SupNroSequ=gx.num.intval(n))},v2c:function(n){gx.fn.setGridControlValue("SUPNROSEQU",n||gx.fn.currentGridRowImpl(29),gx.O.A1340SupNroSequ,0)},c2v:function(n){this.val(n)!==undefined&&(gx.O.A1340SupNroSequ=gx.num.intval(this.val(n)))},val:function(n){return gx.fn.getGridIntegerValue("SUPNROSEQU",n||gx.fn.currentGridRowImpl(29),".")},nac:gx.falseFn};this.Z1341SupNom="";this.O1341SupNom="";this.Z1340SupNroSequ=0;this.O1340SupNroSequ=0;this.AV12SupNroSequencia=0;this.A1341SupNom="";this.A1340SupNroSequ=0;this.Events={e11pz2_client:["ENTER",!0],e14pz1_client:["CANCEL",!0]};this.EvtParms.REFRESH=[[{av:"GRID1_nFirstRecordOnPage"},{av:"GRID1_nEOF"},{ctrl:"GRID1",prop:"Rows"}],[]];this.EvtParms.START=[[],[{ctrl:"FORM",prop:"Caption"}]];this.EvtParms.ENTER=[[{av:"A1340SupNroSequ",fld:"SUPNROSEQU",pic:"ZZZ9"}],[{av:"AV12SupNroSequencia",fld:"vSUPNROSEQUENCIA",pic:"ZZZ9"}]];this.EvtParms.GRID1_FIRSTPAGE=[[{av:"GRID1_nFirstRecordOnPage"},{av:"GRID1_nEOF"},{ctrl:"GRID1",prop:"Rows"}],[]];this.EvtParms.GRID1_PREVPAGE=[[{av:"GRID1_nFirstRecordOnPage"},{av:"GRID1_nEOF"},{ctrl:"GRID1",prop:"Rows"}],[]];this.EvtParms.GRID1_NEXTPAGE=[[{av:"GRID1_nFirstRecordOnPage"},{av:"GRID1_nEOF"},{ctrl:"GRID1",prop:"Rows"}],[]];this.EvtParms.GRID1_LASTPAGE=[[{av:"GRID1_nFirstRecordOnPage"},{av:"GRID1_nEOF"},{ctrl:"GRID1",prop:"Rows"}],[]];this.EnterCtrl=["BUTTON3"];this.setVCMap("AV12SupNroSequencia","vSUPNROSEQUENCIA",0,"int",4,0);this.Initialize()});gx.setParentObj(new hltipossuporte)