UCCX 8 Custom report - stored procedure

I'm porting over a custom UCCX 5 historical report to UCCX 8. I'm trying to port the stored procedure to informix but some of the helper routines such as getRoutingSkills(), getRestrictedDate() and parse2() are all restricted and I don't have permission to grant access to the report user.
A call to one of these functions generate the error message "SQL Error (getrestricteddate) cannot be resolved."
I'm logging in to the informix database with the uccxhruser account and I don't know of any other account with elevated privilege that I can use for development.
My question is there any documentation on security requirements for creating stored procedures for UCCX 8? What do i need to do to gain access to the functions listed above? Do i need to re-create these helper routines myself?
Please advise.
Thanks
Chris

I've noticed there's a database user named "uccxuser" with privilege set to "DBA".  I believe this is the account i should be using to create my stored procedures but I don't know the password to it.  Does anyone know how custom stored procedures should be created on uccx 8's database and which account we should be use?
Thanks
Chris

Similar Messages

  • Custom report stored procedure changes not reflecting

    Hi,
    I have a custom report which works fine but now I want to do some changes in stored procedure. The stored procedure compiles successfully but the changes are not reflected in the report. Am I missing out something as I am assuming that once the stored procedure is saved, the changes must reflect immediately.
    Regards,
    Rahul Sharma

    I did some changes in the where clause to include few more input parameters and thats it. I have not changed anything else. Moreover, even if I try to introduce an error intentionally, OIM is not picking it up. Is there any other reference which I need to change?

  • Handling DST in SQL Query for UCCX Custom Report

    We wrote all custom reports for one of the call centers using our UCCX deployment.  One problem we see we will hit in the future is DST.  We suggested they use UTC but they wanted to see the call data based off of EST timezone.  Right now we are okay because we use -5 to get the correct data but come March we are wondering how to address the issue.  What options do we have?  How are other people handling DST with the SQL queries for custom reporting?  I see that the HR client will determine this based off of the local computer time then gives you the option to use UTC.  We have all of our queries in an Excel document that the customer just needs to open and select Refresh All to update their data.
    Thanks

    "case-when" statements are evaluated in order.
    so you must do something like this:
    SELECT
    CASE WHEN <is not number>THEN 'N'
    CASE WHEN <is greater than 0>THEN 'Y'
    Now "<is greater than 0>" will always have number for input, can't get "not number" error there.
    See this thread:
    Re: regular expression: integer is between N..M
    Edited by: CharlesRoos on May 27, 2010 5:03 AM

  • Pass a form parameter to the report stored procedure

    <CFSET myVar= "1">
    <cfquery name = "mydata" datasource = "myDSN">
        execute MySP
       <cfqueryparam value = "#myVar#" CFSQLTYPE = "cf_sql_integer">
      </cfquery>
       <cfreport format = "PDF" template= "MyReport.cfr"
        query = "#mydata#">
       </cfreport>
    I have above code to generate the report using stored procedure and pass parameter.
    I have to use CFSET to set the value of MyVar.
    I would like to know how I can use user input value in  my text control on the form.
    Your help and information is great appreciated,
    Regards,
    Iccsi,

    Hi ,
    Any help from Oracle please....
    Thanks
    Vishnu

  • Migrating DESKI Reports (Stored Procedures) from 6x to XI 3.1

    I am migrating DESKI reports based off of Stored procedures from a 6x environment to XI 3.1
    I have created a new OLE DB connection pointing to the new SQL server.
    I need to find out how to point my report to the new connection.
    I have seen in that in case of DESKI reports using universes, I can go to Data Manager --> Definition tab and point to my new universe there.
    But in case of stored procedure report, that option is not available.
    Can someone let me know how to go about migrating these reports which are pointing to Stored Procedures.
    Thanks

    Note that I have never done it.
    But I heard you could create a new universe with a derived table. In the SQL of the derived table you can call the stored procedure. The connection of that new universe is your stored procedure connection.
    Build you report with that new universe, using the derived table.

  • UCCX 8.5 - Custom reports (not using Crystal)

    I have a customer requesting a report of the calls per hour per agent...Say I go into the reporting system that I have setup and the person is able to select a date range and queue name, the output should show a series of tables (one for each day) that includes agent name, with the number of calls taken per hour....
    can anyone point me in the right direction of a sql statement that would querry the database to do so?

    Custom reporting on the UCCX platform can be a real chore, luckily if what you're doing is only a modification of an existing report you can create the new report with minimal hassle.
    UCCX primarily uses stored procedures to generating report data, the procedure name and variables it consumes are provided in the report defintions provided with the HRC client (check the installed directory). This is an XML file you can parse.
    From there, you may customize to your hearts content and display to whatever interface deemed appropriate.
    You may wish to consult both the UCCX Database Schema and Historical Reports developer guide for your partitcular version of UCCX.
    HTH,
    Tanner Ezell
    www.ctilogic.com

  • Stored Procedure Performance Issue in Sharepoint Report

    We have a report stored procedure that runs in about 1 minute in production; however, when executed from the Sharepoint it populates, it runs for over 20 minutes, with exactly the same parameters. We've done everything to avoid parameter sniffing problems:
    used WITH RECOMPILE on the procedure declaration; added OPTION OPTIMIZE FOR UNKNOWN on the parameters within queries; even created local variables and assigned the parameter values to them and used them throughout the procedure. None of these has had any effect.
    I know that the 1-base minute run time is a big red flag, and we're working on pre-aggregating this data into our BI platform, but that's months down the liine and this is needed for month-end close every month.
    Other relevant information:
    Sharepoint 2013 on SQL Server 2012
    Data Source is a SQL Server 2008 R2 database
    Report definition created in Visual Studio 2008

    I'm trying to figure out why it's taking so long.  When I query on ExecutionLog3 I see the following (converted to seconds):
    Total Seconds
    Retrieval Seconds
    Processing Seconds
    Rendering Seconds
    ByteCount
    RowCount
    653.966
    653.933
    0.018
    0.015
    15037
    1
    Yet running in SSMS, it completes (consistently) in 62 seconds.

  • CUIC Custom Report for Business Hours for Weekdays Only

    Customer wants a UCCX custom report which we are building with CUIC Premium.  The one criteria we are having issue with deals with the ability to selects days of the week BUT only with specific hours of the day for each of the days selected.  So customer want to be able to run the report for Monday to Friday but from 8AM to 5PM for each of those days, so essentially during business hours only.  The built in Absolute Date Range does not work because that would run the report starting Monday at 8AM until Friday at 5PM.
    Thanks,
    Dan

    dicharville,
    Our 3rd party solution lets you produce historical reports by "shifts" by each day.  In your case each day agents having the shift of 8 - 5.  Let me know if you would like to discuss in detail how our solution can accomplish this and more.
    Thanks,
    Ron Reif / [email protected]
    651-635-2822

  • Resultset of main report passed as parameter to child report stored proc

    Post Author: chicagolad
    CA Forum: Data Connectivity and SQL
    I seem to be in a bind with this issue. I have a main report and sub report. The main report takes in a comma seperated value as a parameter to the stored procedure. The result set of which is used to group 20 sub reports. These subreports use a different stored procedure to which I need to send the group value which is a part of the result set table I get for the main report. Come what may, I am not able to link the main report with the sub report.
    To repeat the question, how do i pass the a result column of the main report as parameter to the sub report stored procedure? Any insight will be much appreciated.
    TIA
    chicagolad

    Raghavendra,
        It seems that no matter what I do, using the parameter ?TagNumber as the item to link from in the main report (Subreport Links) will not give any results no matter which item I link to in the subreport, but if I use the specific data item that the parameter represents, then any of the choices in the lower left "subreport parameter field to use" will work.  So I can simply use the specific data item and everything works fine. It's strange, as last week using the parameter of the main report worked, but as I have a working solution I don't have to resolve that.  (There was data for the parameter value,as I printed the parameter value in the report and the selected value was shown.).
       This is now resolved.  Thanks for your help.
    Don

  • Crystal Web Viewer executing stored procedure when going to next/prev page

    We are using VS.NET 2005 with SP1 to design reports and embed them in an aspnet web app. Some of them take a while to run, even in the designer. In the designer, however, next page and print operations are speedy. In the web viewer, next page and print operations are agonizingly slow.
    Viewing page 2 of a report seems to take about as long as viewing page
    1. After running SQL Profiler to trace the report, it is apparent that the entire report (Stored Procedure Call) is being re-run and just page 2 is being sent to the browser.
    Is this right?
    Shouldn't the report document be stored on the server or event the client so that the desired page can be loaded without having to hit the database again??
    We are using Business Objects Crystal Reports XI Release 2
    Do you have a sample code on this issue.

    It still did not work.  As you see my code has the Not Page.IsPostBack.  It still goes to the database to run the stored procedure over and over again.
    Do an example with more than 100 records to have multiple pages.  After you go to page #2, change your data by updating one of your fields that will not fit the criteria you are looking for.  In this example I changed the strPeriod from 1 to 2 and it gives you a blank report.
    update PeriodTable
    set fieldPeriod = 2
    < h3>Here is the code:</h3>
    Imports System.Xml
    Imports System.data
    Imports System.IO
    Imports System.Text
    Imports System.Configuration
    Imports CrystalDecisions.CrystalReports.Engine
    Imports CrystalDecisions.Shared
    Partial Public Class viewreport
        Inherits System.Web.UI.Page
        Private _dsContacts As DataSet
        Dim strUser, strReport, strPeriod, strRegionType, strRegion, strDate, strUnit As String
        Private Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
            Try
                If Not Page.IsPostBack Then
                    If Not Page.User.Identity.IsAuthenticated Then
                        Response.Redirect("default.aspx")
                    End If
                    strUser = Request.QueryString("strUser")
                    strReport = Request.QueryString("strReport")
                    strPeriod = Request.QueryString("strPeriod")
                    strRegionType = Request.QueryString("strRegionType")
                    strRegion = Request.QueryString("strRegion")
                    strDate = Request.QueryString("strDate")
                    strUnit = Request.QueryString("strUnit")
                    If strUser <> "" And strReport <> "" Then
                        ConfigureCrystalReports()
                    Else
                        lblMessage.Text = "Values for the report where not received properly.<br /><br />" & strReport & "<br /><br />Please contact your Commissions Reporting Administrator<br /><br />"
                    End If
                End If
            Catch ex As Exception
                ErrorRoutine(ex, "Page_Load")
            End Try
        End Sub
        Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
            GlobalCode.DisplayTitle("MetLife - Commissions Administration - Report Viewer", Page)
        End Sub
        Private Sub ConfigureCrystalReports()
            Try
                Dim i, j As Integer
                Dim ParameterValue As String
                _dsContacts = Nothing
                _dsContacts = New DataSet
                _dsContacts.ReadXml(Server.MapPath("XML\ReportFiles.xml"))
                For i = 0 To _dsContacts.Tables(0).Rows.Count - 1
                    If Trim(UCase(_dsContacts.Tables(0).Rows(i)("FileName").ToString)) = Trim(UCase(strReport)) Then
                        Dim conn As ConnectionInfo = New ConnectionInfo()
                        Dim reportPath As String = Server.MapPath("Reports/" & _dsContacts.Tables(0).Rows(i)("FileName").ToString)
                        If Not File.Exists(reportPath) Then
                            lblMessage.Text = "Report does not exists in our servers.<br /><br />" & reportPath & "<br /><br />Please contact your Commissions Reporting Administrator<br /><br />"
                            Exit Sub
                        End If
                        conn.DatabaseName = _dsContacts.Tables(0).Rows(i)("Database").ToString
                        conn.UserID = _dsContacts.Tables(0).Rows(i)("UserID").ToString
                        conn.Password = _dsContacts.Tables(0).Rows(i)("Password").ToString
                        Dim ConnInfo As New ConnectionInfo
                        With ConnInfo
                            .DatabaseName = _dsContacts.Tables(0).Rows(i)("Database").ToString
                            .UserID = _dsContacts.Tables(0).Rows(i)("UserID").ToString
                            .Password = _dsContacts.Tables(0).Rows(i)("Password").ToString
                        End With
                        ParameterValue = ""
                        CRViewer.ReportSource = reportPath
                        CRViewer.ParameterFieldInfo.Clear()
                        Dim ParamFields As ParameterFields = CRViewer.ParameterFieldInfo
                        Dim reportSeparation As New ReportDocument()
                        reportSeparation.Load(reportPath)
                        For j = 0 To reportSeparation.ParameterFields.Count - 1
                            Dim param As New ParameterField
                            param.Name = reportSeparation.ParameterFields.Item(j).Name
                            Select Case param.Name
                                Case "VRPTTYPE"
                                    ParameterValue = strRegionType
                                Case "VPARAM"
                                    ParameterValue = strRegion
                                Case "VUSER"
                                    ParameterValue = strUser
                                Case "VDATE"
                                    ParameterValue = strDate
                                Case "VUNIT"
                                    ParameterValue = strUnit
                                Case "VPERIOD"
                                    ParameterValue = strPeriod
                                Case Else
                                    lblMessage.Text = "<h1>Report has parameters not expected.</h1><br /><br /><h2>" & reportPath & "</h2><br /><br />Please contact your Commissions Reporting Administrator<br /><br />"
                                    Exit Sub
                            End Select
                            Dim param_Value As New ParameterDiscreteValue
                            param_Value.Value = ParameterValue
                            param.CurrentValues.Add(param_Value)
                            ParamFields.Add(param)
                        Next '
                        For Each cnInfo As TableLogOnInfo In CRViewer.LogOnInfo
                            cnInfo.ConnectionInfo = ConnInfo
                        Next
                        CRViewer.DataBind()
                        Exit Sub
                    End If
                Next
            Catch ex As Exception
                ErrorRoutine(ex, "ConfigureCrystalReports")
            End Try
        End Sub
        Public Sub ErrorRoutine(ByVal ex As Exception, ByVal Routine As String)
            GlobalCode.ErrorRoutine(ex, Routine, Master)
        End Sub
    End Class

  • UCCX 9.0 using CUIC - Accessing Custom Stored Procedure

    Hello,
    We recently upgraded to UCCX 9.0 to take advantage of CUIC.  So far it's been going well but we had a custom report that we used on the old HR client.  It was a copy of the Agent Call Summary report that called a different stored procedure.  It was easy enough to create for the HR client.  The only difference between the SP's is that the custom one doesn't count outbound calls under 5 digits so it excludeds any internal calls.  I've tried exporting the Agent Call Summary report in CUIC and importing a new one but I can't get it to change what SP is called.  Does anyone have any idea how I can get this to work?  I've seen other threads that suggest that a stand alone copy of CUIC Premium is needed but I was hoping it wasn't since it's a fairly simple change.
    Thanks,
    Eric

    Hello,
    Any change to the storeprocedure or database access will require the premium version since the standard doesn't have the option to see the report definition.
    If you have a LAB of CUIC, it comes with premium version for partners with only 1000 USD, you can use it and export the report and then import it to the customer, this how i usually do for small changes, other than that the customer is required to buy the premium version.
    Amer

  • Need to call funtion in stored procedure to run one customized report

    Hi,
    I need to call one function in stored procedure for our customized report. Can anyone please help me in calling the function in stored procedure and provide the syntax for the same.
    Thanks,
    Kalpana.

    Either open an existing report. You'l see so many examples.
    or
    http://www.google.co.in/#hl=en&source=hp&biw=1024&bih=586&q=call+function+in+stored+procedure+sql&aq=1&aqi=g2g-m2&aql=&oq=Call+function+in+stored&gs_rfai=&fp=dbefe777997d3915

  • UCCX 8 - Custom Stored Procedure Not Functioning

    Hello,
    We're trying to modify one of the agent summary reports in UCCX 8.  We want the outbound report to only show numbers that were external calls.  (Longer than 4 digits.)  We copied and modified the existing stored procedure and it seems to run ok until we try to use it in the historical reporter.  HR reports that the stored procedure cannot be found.  We've followed what documentation we could find about adding one but can't get it working.  We've been using ASG Server Studio to access the database.  We opened a TAC case but haven't gotten anywhere.  Here's the detail we gave them.
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    I have created a stored procedure on the informix DB for UCCX 8. i have
    been following the Historical reporting admin guide. the SP runs fine when i use ASG
    server studio. when i try to use crystal reports to access the SP i get "Failed to
    retrieve data from the database. Details: ADO Error code 0x80004005 Source: Microsoft OLE
    DB Provider for ODBC Drivers Description: [Informix][Informix ODBC Driver][Informix]
    Routine (sp_agent_call_summar_nointernal) can not be resolved. SQL State:S1000"
    if i use a standard procedure Crystal Reports works fine.
    i have the uccxHrUserRole assigned to the procedure so i do not understand why i cannot
    run the SP.
    Any ideas, we really need to get this working.
    Thanks!

    Hi
    1) There are an impressive number of bugs in early 8.0 versions; on the initial release permissions were incorrect for the existing SPs so the uccxHrUser couldn't run them. You could copy them, so had to copy them and run the copies.. tedious.
    If you are on a working version, the other gotcha is that you need to specify them fully-qualified - so sp-test would be  db_cra.dbo.sp_test
    Also note that the SPs are randomly split between 'functions' and 'procedures' (there may be a pattern, but I can't work it). Both are similar, but there is a field in the DB that marks a proc as a fucntion or a procedure - the informix Squirrel SQL  plugin doesn't work well with this and just shows the ones marked as 'procedures'. I've had better luck with RazorSQL and have recently played  with the free IBM Data Studio which I think also displayed them all.
    2) You can't edit the permissions of existing ones, but you can add new ones and since you (well, uccxHrUser) is the owner you can set permissions on those. Try using RazorSQL or AGS Server Studio (which is better, but $$$) to add new procs.
    Aaron
    Please ratre helpful posts..

  • Customized Reports through Stored Procedure

    Dear All,
    Will the SAP Policy allows in creating the Stored Procedure to design a crystal report
    within the SAP Company Database.
    Thanks,
    Uma

    Dear Uma,
    Based on official SAP B1 supporting policy, no Stored Procedure is allowed other than SP_TN.
    However, Crystal Report will only read database, it should not be a problem in theory. I hope there is an exception to the strict rule.
    Thanks,
    Gordon

  • Custom reporting for UCCX 7

    Hello there,
    I am looking for easier ways to generate custom reports for UCCX 7, I am asking incase I go away an spend heaps of time programming stored procedures and crytal reports if there is a report pack out there or some documentation to make it a bit easier.
    Our call center team leader is asking for reports to be written for the system or modification of existing reports as the ones included are either too crowded with information or do not display what we actually want.
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
    mso-para-margin:0cm;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    As an example, there is a report called ‘Agent Not Ready Reason Code Summary Report’, this report lists some not ready codes such as 32756 etc.. (i.e. Pre-defined system codes), however we want to list our own not ready codes as well as remove some of the system ones from the report as we don’t really want them there.
    Another example is the Agent state details report, one of the columns is 'Reason Code', this is fine, however it would be nice to have a summary at the end of the report for a total count of each not ready code (with the not ready code name not just the code).
    Is there anyone out there who has written/customised reports for UCCX or know where I can find some more documentation? I have searched around but not found anything, Cisco TAC have said that they only deal with the connection of Crystal Reports to UCCX, the coding itself and help with regards to that you are basically on your own with.
    Thanks

    Hi
    There are other ways of reporting, but you are still on your own with it unless you find someone who writes a package. I'm not aware of any...
    Re your specific queries though:
    ‘Agent Not Ready Reason Code Summary Report’ - when running the report, you can go to the 'detailed' tab, and on that tab you can select 'Reason Code' as a filter and pick the codes you are interested in.
    Also that same report shows the summary (i.e. totals) of the time in those reason codes doesn't it? So that's what you wanted to see on the other report?
    Final point (and this is a common one that comes up) is that for some reason the 'reason' codes only appear as numbers in the DB. There are no lookup tables where you can link them to names for reporting. This basically means the best you can do is to edit the Crystal templates so that the static table listing the codes at the top of the report has the codes you have configured. Obviously this isn't dynamic, but it is easy as far as Crystal goes...
    Hope this helps
    Aaron
    Please rate helpful posts...

Maybe you are looking for

  • Problem in assigning date valje to field

    Hi, I have  a problem in assignning date value to field. i am retriving date from a table and assigning it to a field which is date type in the form.. but it is not reflecting.. Error: form Bad Value.. how to assign the date values in the form.. Mahi

  • Select query for date

    hi friends,    i am facing a problem with my slect statement. i need to get details greater than the date given in select stmt, but i'm not geting it. please do help me . select ebeln        bsart        aedat        ernam        lifnr        from ek

  • COPA value field not updated in KE24

    In VF03, I can see condition type ZV02 (discount), amount 10 USD, condition class: A(Discount) calculation type (quantity), account key Z02, in Ke4I, I already assigned ZV02 to value field VV101, but in KE24 line item, VV101 is empty, Why VV101 is em

  • I can't send a gift sticker for friend

    I've purchased sticker in app line but am can't send a gift sticker for friend. This is Order ID: MHVSWHHQ02 and receipt No.136044725959 for me. Thank you.

  • Help with interfaces and Leopard 10.5.2

    Forgive me for my "ignorance" on recording but I thought I could get some decent advice in here... I've been a musician for 10 yrs but never recorded something at home besides midi instruments...It's about time I get to record my guitar...And from wh