gx.evt.autoSkip=false;function htestequery(){this.ServerClass="HTesteQuery";this.PackageName="";this.setObjectType("web");this.hasEnterEvent=false;this.autoRefresh=true;this.SetStandaloneVars=function(){};this.e13hb2_client=function(){this.executeServerEvent("'LIMPAR SESSAO'",false)};this.e15hb2_client=function(){this.executeServerEvent("ENTER",true)};this.e16hb2_client=function(){this.executeServerEvent("CANCEL",true)};this.GXValidFnc=[];this.GXCtrlIds=[2,5,12,14,16,18];this.GXLastCtrlId=18;this.QUERYVIEWER1Container=gx.uc.getNew(this,21,12,"QueryViewer","QUERYVIEWER1Container","Queryviewer1");
this.QUERYVIEWER1Container.setProperty("GenType","Gentype","","char");this.QUERYVIEWER1Container.setProperty("AutoRefreshGroup","Autorefreshgroup","","str");this.QUERYVIEWER1Container.addV2CFunction(function(a){a.ParentObject.AV11DragAndDropData=gx.fn.getControlValue("vDRAGANDDROPDATA");a.SetDragAndDropData(a.ParentObject.AV11DragAndDropData)});this.QUERYVIEWER1Container.addC2VFunction(function(a){a.ParentObject.AV11DragAndDropData=a.GetDragAndDropData();gx.fn.setControlValue("vDRAGANDDROPDATA",a.ParentObject.AV11DragAndDropData)
});this.QUERYVIEWER1Container.addV2CFunction(function(a){a.ParentObject.AV12FilterChangedData=gx.fn.getControlValue("vFILTERCHANGEDDATA");a.SetFilterChangedData(a.ParentObject.AV12FilterChangedData)});this.QUERYVIEWER1Container.addC2VFunction(function(a){a.ParentObject.AV12FilterChangedData=a.GetFilterChangedData();gx.fn.setControlValue("vFILTERCHANGEDDATA",a.ParentObject.AV12FilterChangedData)});this.QUERYVIEWER1Container.addV2CFunction(function(a){a.ParentObject.AV13AggregationChangedData=gx.fn.getControlValue("vAGGREGATIONCHANGEDDATA");
a.SetAggregationChangedData(a.ParentObject.AV13AggregationChangedData)});this.QUERYVIEWER1Container.addC2VFunction(function(a){a.ParentObject.AV13AggregationChangedData=a.GetAggregationChangedData();gx.fn.setControlValue("vAGGREGATIONCHANGEDDATA",a.ParentObject.AV13AggregationChangedData)});this.QUERYVIEWER1Container.addV2CFunction(function(a){a.ParentObject.AV14ItemClickData=gx.fn.getControlValue("vITEMCLICKDATA");a.SetItemClickData(a.ParentObject.AV14ItemClickData)});this.QUERYVIEWER1Container.addC2VFunction(function(a){a.ParentObject.AV14ItemClickData=a.GetItemClickData();
gx.fn.setControlValue("vITEMCLICKDATA",a.ParentObject.AV14ItemClickData)});this.QUERYVIEWER1Container.addV2CFunction(function(a){a.ParentObject.AV15ItemDoubleClickData=gx.fn.getControlValue("vITEMDOUBLECLICKDATA");a.SetItemDoubleClickData(a.ParentObject.AV15ItemDoubleClickData)});this.QUERYVIEWER1Container.addC2VFunction(function(a){a.ParentObject.AV15ItemDoubleClickData=a.GetItemDoubleClickData();gx.fn.setControlValue("vITEMDOUBLECLICKDATA",a.ParentObject.AV15ItemDoubleClickData)});this.QUERYVIEWER1Container.setProperty("ObjectId","Objectid","3","str");
this.QUERYVIEWER1Container.setProperty("QueryInfo","Queryinfo","","char");this.QUERYVIEWER1Container.setProperty("ObjectInfo","Objectinfo","","char");this.QUERYVIEWER1Container.addV2CFunction(function(a){a.ParentObject.AV8Axes=gx.fn.getControlValue("vAXES");a.SetAxes(a.ParentObject.AV8Axes)});this.QUERYVIEWER1Container.addC2VFunction(function(a){a.ParentObject.AV8Axes=a.GetAxes();gx.fn.setControlValue("vAXES",a.ParentObject.AV8Axes)});this.QUERYVIEWER1Container.setProperty("AllowChangeAxesOrder","Allowchangeaxesorder",false,"bool");
this.QUERYVIEWER1Container.addV2CFunction(function(a){a.ParentObject.AV5Parameters=gx.fn.getControlValue("vPARAMETERS");a.SetParameters(a.ParentObject.AV5Parameters)});this.QUERYVIEWER1Container.addC2VFunction(function(a){a.ParentObject.AV5Parameters=a.GetParameters();gx.fn.setControlValue("vPARAMETERS",a.ParentObject.AV5Parameters)});this.QUERYVIEWER1Container.setDynProperty("ObjectName","Objectname","str");this.QUERYVIEWER1Container.setProperty("UseCache","Usecache",false,"bool");this.QUERYVIEWER1Container.setProperty("AutoResize","Autoresize",true,"bool");
this.QUERYVIEWER1Container.setProperty("AutoResizeType","Autoresizetype","Both","str");this.QUERYVIEWER1Container.setProperty("Width","Width","","char");this.QUERYVIEWER1Container.setProperty("Height","Height","","char");this.QUERYVIEWER1Container.addV2CFunction(function(a){a.ParentObject.AV7Format=gx.fn.getControlValue("vFORMAT");a.SetFormat(a.ParentObject.AV7Format)});this.QUERYVIEWER1Container.addC2VFunction(function(a){a.ParentObject.AV7Format=a.GetFormat();gx.fn.setControlValue("vFORMAT",a.ParentObject.AV7Format)
});this.QUERYVIEWER1Container.setProperty("HideMeasuresPropertiesBox","Hidemeasurespropertiesbox",false,"bool");this.QUERYVIEWER1Container.setProperty("ExportHeader","Exportheader","","str");this.QUERYVIEWER1Container.setProperty("ExportHeaderHeight","Exportheaderheight",0,"num");this.QUERYVIEWER1Container.setProperty("DisableExpandCollapse","Disableexpandcollapse",false,"bool");this.QUERYVIEWER1Container.setProperty("FontFamily","Fontfamily","Verdana","str");this.QUERYVIEWER1Container.setProperty("FontSize","Fontsize",10,"num");
this.QUERYVIEWER1Container.setProperty("FontColor","Fontcolor",gx.color.fromRGB(0,0,0),"color");this.QUERYVIEWER1Container.setProperty("ServiceUrl","Serviceurl","","char");this.QUERYVIEWER1Container.setDynProperty("Type","Type","str");this.QUERYVIEWER1Container.setProperty("ChartType","Charttype","","char");this.QUERYVIEWER1Container.setProperty("DesignRenderOutputType","Designrenderoutputtype","","char");this.QUERYVIEWER1Container.setProperty("Paging","Paging",true,"bool");this.QUERYVIEWER1Container.setProperty("PageSize","Pagesize",99,"num");
this.QUERYVIEWER1Container.setProperty("XAxisLabels","Xaxislabels","","char");this.QUERYVIEWER1Container.setProperty("ShowValues","Showvalues",false,"boolean");this.QUERYVIEWER1Container.setProperty("RememberLayout","Rememberlayout",true,"bool");this.QUERYVIEWER1Container.setProperty("Visible","Visible",true,"bool");this.QUERYVIEWER1Container.setC2ShowFunction(function(a){a.show()});this.setUserControl(this.QUERYVIEWER1Container);this.GXValidFnc[2]={fld:"TABLE1",grid:0};this.GXValidFnc[5]={fld:"TABLE2",grid:0};
this.GXValidFnc[12]={lvl:0,type:"date",len:8,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vDATE",gxz:"ZV22Date",gxold:"OV22Date",gxvar:"AV22Date",dp:{f:0,st:false,wn:false,mf:false,pic:"99/99/99",dec:0},ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV22Date=gx.fn.toDatetimeValue(a)},v2z:function(a){gx.O.ZV22Date=gx.fn.toDatetimeValue(a)},v2c:function(){gx.fn.setControlValue("vDATE",gx.O.AV22Date,0)},c2v:function(){gx.O.AV22Date=this.val()},val:function(){return gx.fn.getControlValue("vDATE")
},nac:function(){return false}};this.GXValidFnc[14]={lvl:0,type:"char",len:10,dec:0,sign:false,ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,fld:"vSCRTIPOQUERY",gxz:"ZV18ScrTipoQuery",gxold:"OV18ScrTipoQuery",gxvar:"AV18ScrTipoQuery",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"combo",v2v:function(a){gx.O.AV18ScrTipoQuery=a},v2z:function(a){gx.O.ZV18ScrTipoQuery=a},v2c:function(){gx.fn.setComboBoxValue("vSCRTIPOQUERY",gx.O.AV18ScrTipoQuery)},c2v:function(){gx.O.AV18ScrTipoQuery=this.val()},val:function(){return gx.fn.getControlValue("vSCRTIPOQUERY")
},nac:function(){return false}};this.GXValidFnc[16]={lvl:0,type:"int",len:3,dec:0,sign:false,pic:"ZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vSCRNROUNIDADEDEPOSITARIA",gxz:"ZV20ScrNroUnidadeDepositaria",gxold:"OV20ScrNroUnidadeDepositaria",gxvar:"AV20ScrNroUnidadeDepositaria",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV20ScrNroUnidadeDepositaria=gx.num.intval(a)},v2z:function(a){gx.O.ZV20ScrNroUnidadeDepositaria=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vSCRNROUNIDADEDEPOSITARIA",gx.O.AV20ScrNroUnidadeDepositaria,0)
},c2v:function(){gx.O.AV20ScrNroUnidadeDepositaria=this.val()},val:function(){return gx.fn.getIntegerValue("vSCRNROUNIDADEDEPOSITARIA",".")},nac:function(){return false}};this.GXValidFnc[18]={lvl:0,type:"int",len:4,dec:0,sign:false,pic:"ZZZ9",ro:0,grid:0,gxgrid:null,fnc:null,isvalid:null,rgrid:[],fld:"vNROUNIDADEANTERIOR",gxz:"ZV21NroUnidadeAnterior",gxold:"OV21NroUnidadeAnterior",gxvar:"AV21NroUnidadeAnterior",ucs:[],op:[],ip:[],nacdep:[],ctrltype:"edit",v2v:function(a){gx.O.AV21NroUnidadeAnterior=gx.num.intval(a)
},v2z:function(a){gx.O.ZV21NroUnidadeAnterior=gx.num.intval(a)},v2c:function(){gx.fn.setControlValue("vNROUNIDADEANTERIOR",gx.O.AV21NroUnidadeAnterior,0)},c2v:function(){gx.O.AV21NroUnidadeAnterior=this.val()},val:function(){return gx.fn.getIntegerValue("vNROUNIDADEANTERIOR",".")},nac:function(){return false}};this.AV22Date=gx.date.nullDate();this.ZV22Date=gx.date.nullDate();this.OV22Date=gx.date.nullDate();this.AV18ScrTipoQuery="";this.ZV18ScrTipoQuery="";this.OV18ScrTipoQuery="";this.AV20ScrNroUnidadeDepositaria=0;
this.ZV20ScrNroUnidadeDepositaria=0;this.OV20ScrNroUnidadeDepositaria=0;this.AV21NroUnidadeAnterior=0;this.ZV21NroUnidadeAnterior=0;this.OV21NroUnidadeAnterior=0;this.AV11DragAndDropData={};this.ServerEvents=["e13hb2_client","e15hb2_client","e16hb2_client"];this.SetStandaloneVars()}htestequery.prototype=new gx.GxObject;gx.setParentObj(new htestequery());