gx.evt.autoSkip=false;function gx04q0(){this.ServerClass="Gx04Q0";this.PackageName="GeneXus.Programs";this.setObjectType("web");this.hasEnterEvent=true;this.autoRefresh=true;this.SetStandaloneVars=function(){this.AV12pEqtNroSequencia=gx.fn.getIntegerValue("vPEQTNROSEQUENCIA",".")};this.e13kh2_client=function(){this.executeServerEvent("ENTER",true,arguments[0])};this.e14kh1_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,8,9,12,14,17,19,22,24,27,29,32,34,37,39,42,43,47,48,49,50,51,52,53,56];
this.GXLastCtrlId=56;this.Grid1Container=new gx.grid.grid(this,2,"WbpLvl2",46,"Grid1","Grid1","Grid1Container",this.CmpContext,this.IsMasterPage,"gx04q0",[],false,1,false,true,10,true,false,false,"",0,"px","Novo registro",true,false,false,null,null,false,"");this.Grid1Container.addBitmap("&Linkselection","vLINKSELECTION",47,0,"px",17,"px",null,"","");this.Grid1Container.addSingleLineEdit(1130,48,"EQTNROSEQU","Enquete","","EqtNroSequ","int",0,"px",6,6,"right",null,[],1130,"EqtNroSequ",true,0,false,false);
this.Grid1Container.addSingleLineEdit(1131,49,"EQTDATCRIA","Data de criação","Selecionar","EqtDatCria","date",0,"px",10,10,"right",null,[],1131,"EqtDatCria",true,0,false,false);this.Grid1Container.addSingleLineEdit(968,50,"USUCOD","Operador","","UsuCod","char",0,"px",6,6,"left",null,[],968,"UsuCod",true,0,false,false);this.Grid1Container.addSingleLineEdit(1133,51,"EQTDATINIC","Inicio Pesquisa","","EqtDatInic","date",0,"px",10,10,"right",null,[],1133,"EqtDatInic",true,0,false,false);this.Grid1Container.addSingleLineEdit(1134,52,"EQTDATFIMP","Fim Pesquisa","","EqtDatFimP","date",0,"px",10,10,"right",null,[],1134,"EqtDatFimP",true,0,false,false);
this.Grid1Container.addComboBox(1135,53,"EQTINDSTAT","Status","EqtIndStat","char",null,0,true,false,0,"px");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:"TEXTBLOCKEQTNROSEQUENCIA",format:0,grid:0};this.GXValidFnc[14]={lvl:0,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[this.Grid1Container],fld:"vCEQTNROSEQUENCIA",gxz:"ZV6cEqtNroSequencia",gxold:"OV6cEqtNroSequencia",gxvar:"AV6cEqtNroSequencia",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV6cEqtNroSequencia=gx.num.intval(a)
},v2z:function(a){gx.O.ZV6cEqtNroSequencia=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vCEQTNROSEQUENCIA",gx.O.AV6cEqtNroSequencia,0)},c2v:function(){gx.O.AV6cEqtNroSequencia=this.val()},val:function(){return gx.fn.getIntegerValue("vCEQTNROSEQUENCIA",".")},nac:function(){return false}};this.GXValidFnc[17]={fld:"TEXTBLOCKEQTDATCRIACAO",format:0,grid:0};this.GXValidFnc[19]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEQTDATCRIACAO",gxz:"ZV7cEqtDatCriacao",gxold:"OV7cEqtDatCriacao",gxvar:"AV7cEqtDatCriacao",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV7cEqtDatCriacao=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV7cEqtDatCriacao=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCEQTDATCRIACAO",gx.O.AV7cEqtDatCriacao,0)},c2v:function(){gx.O.AV7cEqtDatCriacao=this.val()},val:function(){return gx.fn.getControlValue("vCEQTDATCRIACAO")},nac:function(){return false}};this.GXValidFnc[22]={fld:"TEXTBLOCKUSUCOD",format:0,grid:0};this.GXValidFnc[24]={lvl:0,type:"char",len:6,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCUSUCOD",gxz:"ZV8cUsuCod",gxold:"OV8cUsuCod",gxvar:"AV8cUsuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV8cUsuCod=a
},v2z:function(a){gx.O.ZV8cUsuCod=a},v2c:function(){gx.fn.setControlValue("vCUSUCOD",gx.O.AV8cUsuCod,0)},c2v:function(){gx.O.AV8cUsuCod=this.val()},val:function(){return gx.fn.getControlValue("vCUSUCOD")},nac:function(){return false}};this.GXValidFnc[27]={fld:"TEXTBLOCKEQTDATINICIOPESQUISA",format:0,grid:0};this.GXValidFnc[29]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEQTDATINICIOPESQUISA",gxz:"ZV9cEqtDatInicioPesquisa",gxold:"OV9cEqtDatInicioPesquisa",gxvar:"AV9cEqtDatInicioPesquisa",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV9cEqtDatInicioPesquisa=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV9cEqtDatInicioPesquisa=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCEQTDATINICIOPESQUISA",gx.O.AV9cEqtDatInicioPesquisa,0)},c2v:function(){gx.O.AV9cEqtDatInicioPesquisa=this.val()},val:function(){return gx.fn.getControlValue("vCEQTDATINICIOPESQUISA")},nac:function(){return false}};this.GXValidFnc[32]={fld:"TEXTBLOCKEQTDATFIMPESQUISA",format:0,grid:0};this.GXValidFnc[34]={lvl:0,type:"date",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEQTDATFIMPESQUISA",gxz:"ZV10cEqtDatFimPesquisa",gxold:"OV10cEqtDatFimPesquisa",gxvar:"AV10cEqtDatFimPesquisa",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV10cEqtDatFimPesquisa=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.ZV10cEqtDatFimPesquisa=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vCEQTDATFIMPESQUISA",gx.O.AV10cEqtDatFimPesquisa,0)},c2v:function(){gx.O.AV10cEqtDatFimPesquisa=this.val()},val:function(){return gx.fn.getControlValue("vCEQTDATFIMPESQUISA")},nac:function(){return false}};this.GXValidFnc[37]={fld:"TEXTBLOCKEQTINDSTATUS",format:0,grid:0};this.GXValidFnc[39]={lvl:0,type:"char",len:1,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vCEQTINDSTATUS",gxz:"ZV11cEqtIndStatus",gxold:"OV11cEqtIndStatus",gxvar:"AV11cEqtIndStatus",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV11cEqtIndStatus=a
},v2z:function(a){gx.O.ZV11cEqtIndStatus=a},v2c:function(){gx.fn.setComboBoxValue("vCEQTINDSTATUS",gx.O.AV11cEqtIndStatus)},c2v:function(){gx.O.AV11cEqtIndStatus=this.val()},val:function(){return gx.fn.getControlValue("vCEQTINDSTATUS")},nac:function(){return false}};this.GXValidFnc[42]={fld:"GROUP2",grid:0};this.GXValidFnc[43]={fld:"TABLE3",grid:0};this.GXValidFnc[47]={lvl:2,type:"bits",len:4,dec:0,sign:false,ro:1,grid:46,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(46))},nac:function(){return false}};this.GXValidFnc[48]={lvl:2,type:"int",len:6,dec:0,sign:false,pic:"ZZZZZ9",ro:1,grid:46,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(46),gx.O.A1130EqtNroSequ,0)},c2v:function(){gx.O.A1130EqtNroSequ=this.val()},val:function(){return gx.fn.getGridIntegerValue("EQTNROSEQU",gx.fn.currentGridRowImpl(46),".")},nac:function(){return false}};this.GXValidFnc[49]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQTDATCRIA",gxz:"Z1131EqtDatCria",gxold:"O1131EqtDatCria",gxvar:"A1131EqtDatCria",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1131EqtDatCria=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z1131EqtDatCria=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EQTDATCRIA",gx.fn.currentGridRowImpl(46),gx.O.A1131EqtDatCria,0)},c2v:function(){gx.O.A1131EqtDatCria=this.val()},val:function(){return gx.fn.getGridControlValue("EQTDATCRIA",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[50]={lvl:2,type:"char",len:6,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"USUCOD",gxz:"Z968UsuCod",gxold:"O968UsuCod",gxvar:"A968UsuCod",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A968UsuCod=a
},v2z:function(a){gx.O.Z968UsuCod=a},v2c:function(){gx.fn.setGridControlValue("USUCOD",gx.fn.currentGridRowImpl(46),gx.O.A968UsuCod,0)},c2v:function(){gx.O.A968UsuCod=this.val()},val:function(){return gx.fn.getGridControlValue("USUCOD",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[51]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQTDATINIC",gxz:"Z1133EqtDatInic",gxold:"O1133EqtDatInic",gxvar:"A1133EqtDatInic",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1133EqtDatInic=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z1133EqtDatInic=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EQTDATINIC",gx.fn.currentGridRowImpl(46),gx.O.A1133EqtDatInic,0)},c2v:function(){gx.O.A1133EqtDatInic=this.val()},val:function(){return gx.fn.getGridControlValue("EQTDATINIC",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[52]={lvl:2,type:"date",len:10,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQTDATFIMP",gxz:"Z1134EqtDatFimP",gxold:"O1134EqtDatFimP",gxvar:"A1134EqtDatFimP",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/9999",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.A1134EqtDatFimP=gx.fn.toDatetimeValue(a)
},v2z:function(a){gx.O.Z1134EqtDatFimP=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setGridControlValue("EQTDATFIMP",gx.fn.currentGridRowImpl(46),gx.O.A1134EqtDatFimP,0)},c2v:function(){gx.O.A1134EqtDatFimP=this.val()},val:function(){return gx.fn.getGridControlValue("EQTDATFIMP",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[53]={lvl:2,type:"char",len:1,dec:0,sign:false,ro:1,grid:46,gxgrid:this.Grid1Container,fnc:null,isvalid:null,fld:"EQTINDSTAT",gxz:"Z1135EqtIndStat",gxold:"O1135EqtIndStat",gxvar:"A1135EqtIndStat",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.A1135EqtIndStat=a
},v2z:function(a){gx.O.Z1135EqtIndStat=a},v2c:function(){gx.fn.setGridComboBoxValue("EQTINDSTAT",gx.fn.currentGridRowImpl(46),gx.O.A1135EqtIndStat)},c2v:function(){gx.O.A1135EqtIndStat=this.val()},val:function(){return gx.fn.getGridControlValue("EQTINDSTAT",gx.fn.currentGridRowImpl(46))},nac:function(){return false}};this.GXValidFnc[56]={fld:"TABLE4",grid:0};this.AV6cEqtNroSequencia=0;this.ZV6cEqtNroSequencia=0;this.OV6cEqtNroSequencia=0;this.AV7cEqtDatCriacao=gx.date.nullDate();this.ZV7cEqtDatCriacao=gx.date.nullDate();
this.OV7cEqtDatCriacao=gx.date.nullDate();this.AV8cUsuCod="";this.ZV8cUsuCod="";this.OV8cUsuCod="";this.AV9cEqtDatInicioPesquisa=gx.date.nullDate();this.ZV9cEqtDatInicioPesquisa=gx.date.nullDate();this.OV9cEqtDatInicioPesquisa=gx.date.nullDate();this.AV10cEqtDatFimPesquisa=gx.date.nullDate();this.ZV10cEqtDatFimPesquisa=gx.date.nullDate();this.OV10cEqtDatFimPesquisa=gx.date.nullDate();this.AV11cEqtIndStatus="";this.ZV11cEqtIndStatus="";this.OV11cEqtIndStatus="";this.ZV5LinkSelection="";this.OV5LinkSelection="";
this.Z1130EqtNroSequ=0;this.O1130EqtNroSequ=0;this.Z1131EqtDatCria=gx.date.nullDate();this.O1131EqtDatCria=gx.date.nullDate();this.Z968UsuCod="";this.O968UsuCod="";this.Z1133EqtDatInic=gx.date.nullDate();this.O1133EqtDatInic=gx.date.nullDate();this.Z1134EqtDatFimP=gx.date.nullDate();this.O1134EqtDatFimP=gx.date.nullDate();this.Z1135EqtIndStat="";this.O1135EqtIndStat="";this.AV12pEqtNroSequencia=0;this.AV5LinkSelection="";this.A1130EqtNroSequ=0;this.A1131EqtDatCria=gx.date.nullDate();this.A968UsuCod="";
this.A1133EqtDatInic=gx.date.nullDate();this.A1134EqtDatFimP=gx.date.nullDate();this.A1135EqtIndStat="";this.ServerEvents=["e13kh2_client","e14kh1_client"];this.VarControlMap.AV12pEqtNroSequencia={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(this.GXValidFnc[34]);
this.Grid1Container.addRefreshingVar(this.GXValidFnc[39]);this.SetStandaloneVars()}gx04q0.prototype=new gx.GxObject;gx.setParentObj(new gx04q0());