gx.evt.autoSkip=false;function gx04s1(){this.ServerClass="Gx04S1";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV10pEqtNroSequencia=gx.fn.getIntegerValue("vPEQTNROSEQUENCIA",".");this.AV11pEqpNroSequencia=gx.fn.getIntegerValue("vPEQPNROSEQUENCIA",".")};this.e13kk2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14kk1_client=function(){this.executeServerEvent("CANCEL",true)
};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,33,37,38,39,40,41,42,45];this.GXLastCtrlId=45;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",36,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx04s1",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",37,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(1138,38,"EQPNROSEQU","Pergunta","","EqpNroSequ","int",0,"px",3,3,"right",null,[],1138,"EqpNroSequ",true,0,false,false);
this.Grid1Container.addComboBox(1141,39,"EQPINDSTAT","Status","EqpIndStat","char",null,0,true,false,0,"px");this.Grid1Container.addComboBox(1142,40,"EQPTIPAPRE","Tipo de apresentação","EqpTipApre","char",null,0,true,false,0,"px");this.Grid1Container.addSingleLineEdit(1143,41,"EQPQTDNOTA","Qtd. Notas","","EqpQtdNota","int",0,"px",2,2,"right",null,[],1143,"EqpQtdNota",true,0,false,false);this.Grid1Container.addSingleLineEdit(1130,42,"EQTNROSEQU","Enquete","","EqtNroSequ","int",0,"px",6,6,"right",null,[],1130,"EqtNroSequ",false,0,false,false);
this.setGrid(this.Grid1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[8]={fld:"GROUP1",grid:0};this.GXValidFnc[9]={fld:"TABLE2",grid:0};this.GXValidFnc[12]={fld:"TEXTBLOCKEQPNROSEQUENCIA",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCEQPNROSEQUENCIA",gxz:"ZV6cEqpNroSequencia",gxold:"OV6cEqpNroSequencia",gxvar:"AV6cEqpNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cEqpNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cEqpNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCEQPNROSEQUENCIA",gx.O.AV6cEqpNroSequencia,0)},c2v:function(){gx.O.AV6cEqpNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCEQPNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKEQPINDSTATUS",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEQPINDSTATUS",gxz:"ZV7cEqpIndStatus",gxold:"OV7cEqpIndStatus",gxvar:"AV7cEqpIndStatus",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV7cEqpIndStatus=a
},v2z:function(a){gx.O.ZV7cEqpIndStatus=a},v2c:function(){gx.fn.setComboBoxValue("vCEQPINDSTATUS",gx.O.AV7cEqpIndStatus)},c2v:function(){gx.O.AV7cEqpIndStatus=this.val()},val:function(){return gx.fn.getControlValue("vCEQPINDSTATUS")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKEQPTIPAPRESENTACAO",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEQPTIPAPRESENTACAO",gxz:"ZV8cEqpTipApresentacao",gxold:"OV8cEqpTipApresentacao",gxvar:"AV8cEqpTipApresentacao",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV8cEqpTipApresentacao=a
},v2z:function(a){gx.O.ZV8cEqpTipApresentacao=a},v2c:function(){gx.fn.setComboBoxValue("vCEQPTIPAPRESENTACAO",gx.O.AV8cEqpTipApresentacao)},c2v:function(){gx.O.AV8cEqpTipApresentacao=this.val()},val:function(){return gx.fn.getControlValue("vCEQPTIPAPRESENTACAO")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKEQPQTDNOTAS",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCEQPQTDNOTAS",gxz:"ZV9cEqpQtdNotas",gxold:"OV9cEqpQtdNotas",gxvar:"AV9cEqpQtdNotas",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cEqpQtdNotas=gx.num.intval(a)
},v2z:function(a){gx.O.ZV9cEqpQtdNotas=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCEQPQTDNOTAS",gx.O.AV9cEqpQtdNotas,0)},c2v:function(){gx.O.AV9cEqpQtdNotas=this.val()},val:function(){return gx.fn.getIntegerValue("vCEQPQTDNOTAS",".")},nac:function(){return false}};this.GXValidFnc[32]={fld:"GROUP2",grid:0};this.GXValidFnc[33]={fld:"TABLE3",grid:0};this.GXValidFnc[37]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"vLINKSELECTION",gxz:"ZV5LinkSelection",gxold:"OV5LinkSelection",gxvar:"AV5LinkSelection",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV5LinkSelection=a
},v2z:function(a){gx.O.ZV5LinkSelection=a},v2c:function(){},c2v:function(){gx.O.AV5LinkSelection=this.val()},val:function(){return gx.fn.getGridControlValue("vLINKSELECTION",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[38]={lvl:2,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EQPNROSEQU",gxz:"Z1138EqpNroSequ",gxold:"O1138EqpNroSequ",gxvar:"A1138EqpNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1138EqpNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1138EqpNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EQPNROSEQU",gx.fn.currentGridRowImpl(36),gx.O.A1138EqpNroSequ,0)},c2v:function(){gx.O.A1138EqpNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("EQPNROSEQU",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[39]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQPINDSTAT",gxz:"Z1141EqpIndStat",gxold:"O1141EqpIndStat",gxvar:"A1141EqpIndStat",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1141EqpIndStat=a
},v2z:function(a){gx.O.Z1141EqpIndStat=a},v2c:function(){gx.fn.setGridComboBoxValue("EQPINDSTAT",gx.fn.currentGridRowImpl(36),gx.O.A1141EqpIndStat)},c2v:function(){gx.O.A1141EqpIndStat=this.val()},val:function(){return gx.fn.getGridControlValue("EQPINDSTAT",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[40]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQPTIPAPRE",gxz:"Z1142EqpTipApre",gxold:"O1142EqpTipApre",gxvar:"A1142EqpTipApre",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1142EqpTipApre=a
},v2z:function(a){gx.O.Z1142EqpTipApre=a},v2c:function(){gx.fn.setGridComboBoxValue("EQPTIPAPRE",gx.fn.currentGridRowImpl(36),gx.O.A1142EqpTipApre)},c2v:function(){gx.O.A1142EqpTipApre=this.val()},val:function(){return gx.fn.getGridControlValue("EQPTIPAPRE",gx.fn.currentGridRowImpl(36))},nac:function(){return false}};this.GXValidFnc[41]={lvl:2,type:"int",len:2,dec:0,sign:false,pic:"Z9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EQPQTDNOTA",gxz:"Z1143EqpQtdNota",gxold:"O1143EqpQtdNota",gxvar:"A1143EqpQtdNota",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1143EqpQtdNota=gx.num.intval(a)
},v2z:function(a){gx.O.Z1143EqpQtdNota=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EQPQTDNOTA",gx.fn.currentGridRowImpl(36),gx.O.A1143EqpQtdNota,0)},c2v:function(){gx.O.A1143EqpQtdNota=this.val()},val:function(){return gx.fn.getGridIntegerValue("EQPQTDNOTA",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[42]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:36,gxgrid:this.Grid1Container,fnc:null,isvalid:null,rgrid:[],fld:"EQTNROSEQU",gxz:"Z1130EqtNroSequ",gxold:"O1130EqtNroSequ",gxvar:"A1130EqtNroSequ",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1130EqtNroSequ=gx.num.intval(a)
},v2z:function(a){gx.O.Z1130EqtNroSequ=gx.num.intval(a)},v2c:function(){gx.fn.setGridControlValue("EQTNROSEQU",gx.fn.currentGridRowImpl(36),gx.O.A1130EqtNroSequ,0)},c2v:function(){gx.O.A1130EqtNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("EQTNROSEQU",gx.fn.currentGridRowImpl(36),".")},nac:function(){return false}};this.GXValidFnc[45]={fld:"TABLE4",grid:0};this.AV6cEqpNroSequencia=0;this.ZV6cEqpNroSequencia=0;this.OV6cEqpNroSequencia=0;this.AV7cEqpIndStatus="";this.ZV7cEqpIndStatus="";
this.OV7cEqpIndStatus="";this.AV8cEqpTipApresentacao="";this.ZV8cEqpTipApresentacao="";this.OV8cEqpTipApresentacao="";this.AV9cEqpQtdNotas=0;this.ZV9cEqpQtdNotas=0;this.OV9cEqpQtdNotas=0;this.ZV5LinkSelection="";this.OV5LinkSelection="";this.Z1138EqpNroSequ=0;this.O1138EqpNroSequ=0;this.Z1141EqpIndStat="";this.O1141EqpIndStat="";this.Z1142EqpTipApre="";this.O1142EqpTipApre="";this.Z1143EqpQtdNota=0;this.O1143EqpQtdNota=0;this.Z1130EqtNroSequ=0;this.O1130EqtNroSequ=0;this.AV10pEqtNroSequencia=0;this.AV11pEqpNroSequencia=0;
this.AV5LinkSelection="";this.A1138EqpNroSequ=0;this.A1141EqpIndStat="";this.A1142EqpTipApre="";this.A1143EqpQtdNota=0;this.A1130EqtNroSequ=0;this.ServerEvents=["e13kk2_client","e14kk1_client"];this.VarControlMap.AV10pEqtNroSequencia={id:"vPEQTNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV11pEqpNroSequencia={id:"vPEQPNROSEQUENCIA",grid:0,type:"int"};this.VarControlMap.AV10pEqtNroSequencia={id:"vPEQTNROSEQUENCIA",grid:0,type:"int"};this.Grid1Container.addRefreshingVar(this.GXValidFnc[14]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[19]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[24]);this.Grid1Container.addRefreshingVar(this.GXValidFnc[29]);this.Grid1Container.addRefreshingVar({rfrVar:"AV10pEqtNroSequencia"});this.SetStandaloneVars()}gx04s1.prototype=new gx.GxObject;gx.setParentObj(new gx04s1());