UCCX 8.5.1 & Crystal Reports

We are wanting to use Crystal Reports to generate customer UCCX Reports.  The 1st level of effort was to locate, install and configure the Informix ODBC driver without loosing more hair.  Once that was done we were able to connect with Crystal reports and assume that all was good... However!  We wanted to leverage the resource table to in our customer report but got weird error messages:
     "Failed to retrieve data from the database. 
       Details: 42000:[informix][informix ODBC Driver][Informix]A syntax error has occurred. [Database Vendor Code: 201]
General searches on the internet we all over the place... so I tried browsing the data with Excel using the Informix ODBC Driver and got the following error when accessing the resoure table in UCCX:
     "[Informix][Informix ODBC Driver]Restricted data type attribute violation.
This message seems to point to a permissions issue, so i checked the privs on the table and uccxhruser has "select" permissions 
Has anyone else run into this issue?  Any and all assistance is appreciated.
j.

Hi Jay,
I'm having the same issue and it looks like it's related to the following bug CSCtl02126
The solution does not really work for me but I'm sure that if you manage to connect to the DB using the JDBC connection or informix driver instead of ODBC and you use "informix"."resource" it'll work. (easyer said than done )
if you use RazorSQL, SquirrelSQL or the IBM SQL studio the query will work just fine but it's probably because you'll be using the informix driver or JDBC connection to the UCCX db.
did you ever get it fixed? if so I would be really interested in knowing how.
http://www.cisco.com/image/gif/paws/112103/ipcc-data-00.pdf
UCCX Historical Reporting Database Access Error on Resource Table
With Cisco UCCX 8.0, you cannot view data from any field within the resource table and no data is returned
from any field. There is no issue adding fields or viewing data from other tables within the database. After
creating a report with only the resource table and when attempting to add any field to the report, this error
message is received:
Failed to open a rowset.
Details:42000[Informix][Informix ODBC Driver][Informix]
A syntax error has occurred.
This issue is documented by Cisco bug ID CSCtl02126 (registered customers only) .
Solution
In UCCX 8.0, the resource table is holding the agent information. The same name resource is also an Informix
key word. Therefore, when querying the resource table, the query statement cannot use the resource as the
alias (Microsoft SQL Query uses the table name as the alias by default). This causes a syntax error in
Informix.
The workaround is to use some other alias in the query statement; for example, use resource1.

Similar Messages

  • Crystal Reports and UCCX

    I am running UCCX 8.0(2) and I am trying to connect Crystal Reports to the database but the documentation states only V11 will work is that really the case? We are not able to get Version 11 only Version14 is now available. Is there anyone running this Version?

    Be sure to follow the Before You Begin section of this document which is on page 172
    http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/crs/express_8_0/programming/guide/uccx80hradm.pdf
    This will help you setup your ODBC connection.  It's a good guide.

  • Does end user need Crystal Reports to run saved reports

    This seems like such a simple question, but I am unable to find the answer in the documentation, so here it goes.
    On UCCX does end user need Crystal Reports to run save custom reports that were created using Crystal Reports

    Hi
    No, UCCX comes with the 'Historical Reporting Client' which contains a Crystal runtime that renders the reports.
    You only need Crystal Pro if you wish to author new reports for the system.
    Aaron HarrisonPrincipal Engineer at Logicalis UK
    Please rate helpful posts...

  • UCCX 7.0 Additional Historical Reports?

    Running UCCX 7.0 with Historical report clien 6.6.
    I have heard that there are additional historical reports that can be downloaded. The current reports do not seem real adequate. I can't seem to find a report that has a agent + team summary of calls. Does anyone know how I can get my hands on additional reports, create custom reports or maybe know of a specific report that provides agent summary with team totals? Thanks for the assistance.

    I do not know of any additional reports that are available.
    I am developing custom reports for UCCX 7.0.  In order to create custom reports, you need to have Crystal XI, and be able to do some SQL and XML work.  Let me know if you have any specific questions about the development process.  Chapter 6 of the UCCX HR Administrator and Developer Guide covers custom report development.  There are some errors in it, but those are well documented in this forum.
    Regards,
    Peter

  • UCCX 8.5 - Customized Historical Reports Application

    Hello.
    We are implementing a Proof of Concept call center at a client and one of the main concers they have is reporting. After speaking with the supervisors, we've seen that the default reports in HRC will not be adequate, so they would need customized reports.
    I know that Cisco recommends Crystal Reports, the supervisors in the call center would like to create reports themselves, as the paramaters that they need to evaluate through reports change rapidly and just want to do create reports on the fly. But as far as we've seen throught in-house testing of Crystal Reports, that for them you need quite a bit of understanding of the UCCX database and databases in general, which the supervisors at the client don't have. So I'm looking for an end user friendly alternative to Crystal Reports.
    I've rummugaed around the web a bit and so far I found
    SimpliCTI: http://www.simplicti.com/web3/content/view/31/37/
    that looks rather promising, but from the documentation that is available on the web it still doesn't look like it would do the job, and of course, cost is also a factor.
    So, my question is, does anyone have more info on those two systems and/or know of any application or system that would allow a user that doesn't have an in-depth understanding of the database and relationship of the data to make customized reports, or is the use of Crystal Reports the only (or best) way to do it?
    Thank you very much in advanced.
    Regards,
    Denis Stražar

    Yeah, sorry to disappoint but not really. The documented process for creating an HRC report including the ODBC connection, Crystal RPT file, XML files needed for the new RPT file to appear in the HRC, and Informix stored procedure remain unchanged. To do this you would need Crystal Developer 11.5 as well as AGS ServerStudio to create a new stored procedure. None of this is user-friendly.
    As for CUIC the story differs slightly. CUIC has some inherent advantages, including the ability to tweak the views of an existing report per-user but developer knowledge is still required to create a new entirely new report. In the case of CUIC you must get a lab/NFR copy of CUIC Premium and install this on a separate server. You then bind that CUIC Premium installation to CCX using ODBC and create the report definition there. You still end up creating a stored procedure on CCX using ServerStudio. When finished you export the report definition file from the CUIC Premium server and import it to the embedded CUIC Standard instance installed with CCX. Only CUIC Premium can build a new report but acutally using Premium in production has something like a $25k cost per-server.
    This has been a sore topic; many of us expected the story to improve with CUIC. While it has in many other aspects the concept of report generation remains rather complicated. The BU's viewpoint is that creating reports, and more to the point stored procedures, incorrectly can seriously impact system performance or even corrupt data . They only want the Cisco partner or customers with DBA-level skill sets to be building reports, testing them on non-production environments, and then importing them into production. Presumably the idea was for partners to build and test once, then sell repeatedly.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • If image file not exist in image path crystal report not open and give me exception error problem

    Hi guys my code below show pictures for all employees
    code is working but i have proplem
    if image not exist in path
    crystal report not open and give me exception error image file not exist in path
    although the employee no found in database but if image not exist in path when loop crystal report will not open
    how to ignore image files not exist in path and open report this is actually what i need
    my code below as following
    DataTable dt = new DataTable();
    string connString = "data source=192.168.1.105; initial catalog=hrdata;uid=sa; password=1234";
    using (SqlConnection con = new SqlConnection(connString))
    con.Open();
    SqlCommand cmd = new SqlCommand("ViewEmployeeNoRall", con);
    cmd.CommandType = CommandType.StoredProcedure;
    SqlDataAdapter da = new SqlDataAdapter();
    da.SelectCommand = cmd;
    da.Fill(dt);
    foreach (DataRow dr in dt.Rows)
    FileStream fs = null;
    fs = new FileStream("\\\\192.168.1.105\\Personal Pictures\\" + dr[0] + ".jpg", FileMode.Open);
    BinaryReader br = new BinaryReader(fs);
    byte[] imgbyte = new byte[fs.Length + 1];
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dr["Image"] = imgbyte;
    fs.Dispose();
    ReportDocument objRpt = new Reports.CrystalReportData2();
    objRpt.SetDataSource(dt);
    crystalReportViewer1.ReportSource = objRpt;
    crystalReportViewer1.Refresh();
    and exception error as below

    First: I created a New Column ("Image") in a datatable of the dataset and change the DataType to System.Byte()
    Second : Drag And drop this image Filed Where I want.
    private void LoadReport()
    frmCheckWeigher rpt = new frmCheckWeigher();
    CryRe_DailyBatch report = new CryRe_DailyBatch();
    DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter ta = new CheckWeigherReportViewer.DataSet1TableAdapters.DataTable_DailyBatch1TableAdapter();
    DataSet1.DataTable_DailyBatch1DataTable table = ta.GetData(clsLogs.strStartDate_rpt, clsLogs.strBatchno_Rpt, clsLogs.cmdeviceid); // Data from Database
    DataTable dt = GetImageRow(table, "Footer.Jpg");
    report.SetDataSource(dt);
    crv1.ReportSource = report;
    crv1.Refresh();
    By this Function I merge My Image data into dataTable
    private DataTable GetImageRow(DataTable dt, string ImageName)
    try
    FileStream fs;
    BinaryReader br;
    if (File.Exists(AppDomain.CurrentDomain.BaseDirectory + ImageName))
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    else
    // if photo does not exist show the nophoto.jpg file
    fs = new FileStream(AppDomain.CurrentDomain.BaseDirectory + ImageName, FileMode.Open);
    // initialise the binary reader from file streamobject
    br = new BinaryReader(fs);
    // define the byte array of filelength
    byte[] imgbyte = new byte[fs.Length + 1];
    // read the bytes from the binary reader
    imgbyte = br.ReadBytes(Convert.ToInt32((fs.Length)));
    dt.Rows[0]["Image"] = imgbyte;
    br.Close();
    // close the binary reader
    fs.Close();
    // close the file stream
    catch (Exception ex)
    // error handling
    MessageBox.Show("Missing " + ImageName + "or nophoto.jpg in application folder");
    return dt;
    // Return Datatable After Image Row Insertion
    Mark as answer or vote as helpful if you find it useful | Ammar Zaied [MCP]

  • Sales quote layout rows doubled in crystal report layout

    Dear All,
    Sales quote layout rows doubled in crystal report layout.
    In sales quote layout the rows are doubled. Even in the standard layout. If the quote contains only two rows. Then it is doubled as 4 rows in the crystal report layout.
    It is happening in the particular database. Other database are working fine. I request you people to help me to overcome this issue.
    Regards,
    Siva

    Hi Siva,
    If this is regarding CR in SAP B1 then please repost to the SAP Business One Application space.
    -Abhilash

  • Sale Order Query Print layout/Crystal Report Query required

    Hi Experts,
    I created a Sale Order. Items included in it are service and material.
    (I created a BOM, bound the child material item to the parent service item. Moreover child item will have unit price where as parent item will not have unit price)
    I need the report on it please let me know how i can do it.
    I tried with below query
    select a.DocEntry, a.DocNum, a.CardCode, a.CardName, b.DocEntry,b.ItemCode, b.Dscription, b.Quantity, b.Price, b.LineTotal, a.DocTotal, a.VatSum 
    from ORDR a inner join RDR1 b on a.DocEntry = b.DocEntry
    --and b.TreeType <> 'N'
    where a.docnum = '14240621'
    output of above query is
    DocEntry
    DocNum
    CardCode
    CardName
    DocEntry
    ItemCode
    Description
    Qty
    Unit Price
    Line Total
    DocTotal
    Tax Amount
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302010001
    PROVIDING & LAYING
    17.62
    2493.76
    43940.05
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0001
    Material for PROVIDING & LAYING
    17.62
    2800
    49336
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    305010005
    BM CM INCLUDING CEMENT
    10.055
    1980
    19908.9
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0002
    Material for BM CM  INCLUDING CEMENT
    10.055
    1650
    16590.75
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302040001
    P/APPLYING
    65
    116.5
    7572.5
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0003
    Material for P/APPLYING
    65
    65
    4225
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    301000001
    P& FIXING
    2.233
    31625.05
    70618.74
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0004
    Material for P& FIXING
    2.233
    44000
    98252
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    306010001
    PROVIDING RMC
    3
    3593
    10779
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    MT0005
    Material for PROVIDING RMC
    3
    4847
    14541
    354652
    18888.46
    and my desired output is
    Unit price of both child item and parent item should be display in single column. ie. cumulative in Unit Price Column and Linetotal respectively.
    DocEntry
    DocNum
    CardCode
    CardName
    DocEntry
    ItemCode
    Description
    Qty
    Unit Price
    Line Total
    DocTotal
    Tax Amount
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302010001
    PROVIDING & LAYING
    17.62
    5293.76
    93276.05
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    305010005
    BM CM  INCLUDING CEMENT
    10.055
    3630
    36499.65
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    302040001
    P/APPLYING
    65
    181.5
    11797.5
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    301000001
    P& FIXING
    2.233
    75625.05
    168870.7
    354652
    18888.46
    621
    14240621
    CDR0001
    ABCDEFGH
    621
    306010001
    PROVIDING RMC
    3
    8440
    25320
    354652
    18888.46
    please let me know the update on this.
    with regards

    Hi Nagarajan,
    thanks for reply..
    1) Yes, i.e i have taken into BomType: Template
    2) i did not get any helpful output by using treetype by keeping 'S' and 'N', i kept in comment.
    3) Actually MT0001-05 - these are material item- unit prices are fixed. see in attached image
         for parent item, unit prices are not fixed. I give the price for them in Sale Order.
         I want unit price for parent and child should be summed/cumulative for Sale Order print.
         (in my above post, first matrix exactly same as sale order line items plz check it)
    Please help me, how i can achieve this by query(for PLd or Crystal report)
    With Regards

  • SQL Connections remain open after Crystal Report closes

    I am wirting an interface to use the crystal report viewer to print reports, connecting to a Progress Open Edge 10.1B database.  From our application we declare the application, report, exportoptions and connectionproperties objects and pass these to the crystal reports viewer.  Once the report is printed we release the objects and set their variables for null.  However we are finding that the SQL connection to the database is remaining connected and we can only release the connection by manually going in a disconnecting.
    I have read in forums that people use .dispose or .close to release the connection, however we do not have access to these methods as we do not use .NET.  Are there any methods we can use to disconnect these sql connections?

    Hi Dean,
    Moved to the Legacy Application forums. Likely using the RDC as your report engine.
    You should still be able to close and dispose of the report objects. They are not specific to .NET.
    In VB it would look something like these lines::
        crReport.Close
        Set CrystalActiveXReportViewer1.ReportSource = Nothing
        Set crReport = Nothing
    Once the report is closed it should disconnect from the DB. If you close the application does that disconnect?
    Have you looked on 4GL's site for info on how to?
    Thank you
    Don

  • Dunning Letter as Crystal Report: What tables? (SAP B1 9.0)

    Dear Experts,
    I am being asked to revise the Dunning Letters for our clients.  The existing PLDs for each Dunning Letter shows most data fields as system variables.  The existing Crystal Report for Dunning Letter 1 is a conversion from the PLD and doesn't show table information for most of the report's main items.  There are tables in the report but they are standard ones (OADM, OADP, OCRD, OHEM, OSLP).  It also includes a "table" called "PLD__ITEMS" which has all the PLD system variables and no B1 table or field/column information.
    As I'm just now starting to work with dunning letters, I see that I can't even run this report in Crystal.  The PLD__Items datasource prompts me for a file path and class name.  Any ideas what one enters here to run the report outside of B1 (from the Crystal report designer)?
    The main focus of my question is: Has anyone created a Crystal Report to replicate the Dunning Letter and if so, what tables are involved and how are they connected?  If I can create a Dunning Letter entirely in Crystal, I can replicate it across all clients and get the correct fields/columns of data the clients want.  The inclusion of the PLD__Items apparently limits my ability to test the results.  I would prefer to avoid the PLD limitations.
    Thanks for any assistance.

    Thank you Nagarajan.  I have a dunning letter created in Crystal Reports for our client.  It is fairly limited in scope, it just has the customer name and address, invoice numbers and dates, amounts due and the text they wanted in it.
    I can import it into B1 9.0 and set it as the default for Dunning Letter #1 and it runs, but unlike other formats where there is a DocEntry and/or ObjectID and a ?DocKey@ or ?ObjectId@ parameter, how do I limit the report to just one customer?  Typical document layouts run for the document that's on the screen.  In the dunning process, the report runs once for every customer when the Dunning Letter Method is set to "One Letter per BP".  I have to limit the report to one customer at a time.  Right now, each dunning letter based on the Crystal report is identical and it contains all the data for every customer.
    So, does anyone have any ideas for what selection criteria needs to be included in the Crystal report to have it select just one customer from the dunning wizard tables?  Thanks.
    Michael
    Edit: I created a ?WizardID@ parameter and a ?CardCode@ parameter to limit the report to a single dunning wizard event and a single customer.  While it works fine in Crystal itself, it doesn't work in B1 at all.  I had thought that by limiting the report in this way, it would only create dunning letters for a single customer.

  • Exporting Crystal Report to HTML is not working in Windows 7

    Hi Sir,
    I am trying to export Crystal Report to HTML format using VB.NET code. Functionality is working fine at Windows XP Environment (Save to Disk, Open an Application and Email Attachment). But the same functionality is not working at Windows 7 Environment (both 32-Bit as well as 64-Bit).
    Below is the code to Exporting Crystal Report to HTML in VB.NET.
    Dim CrDiskFileDestinationOptions As New DiskFileDestinationOptions
    Dim CrFormatTypeOptions          As New HTMLFormatOptions
    Dim vFormat As Integer
    Dim CrExportOptions As New ExportOptions
    Dim vRdReport As New ReportDocument
    Dim sfd As SaveFileDialog
    Dim vFileName As String = Nothing
    vRdReport = vRptSource
    sfd = New SaveFileDialog
    If Not (vRptPath = "") Then
        sfd.InitialDirectory = vRptPath
    End If
    sfd.Filter = "Webpage, Complete(.htm;.htm)|.htm|Web Archive, Single file(.mht)|.mht|Webpage, HTML only(.htm;.html)|.html"
    If sfd.ShowDialog = DialogResult.OK Then
        ' Set the disk file options.
         CrDiskFileDestinationOptions.DiskFileName = sfd.FileName.ToString()
    Else
         Return
    End If
    CrExportOptions = vRdReport.ExportOptions
    CrFormatTypeOptions.HTMLFileName = vFileName
    CrFormatTypeOptions.HTMLEnableSeparatedPages = True
    CrFormatTypeOptions.HTMLEnableSeparatedPages = True
    CrFormatTypeOptions.HTMLHasPageNavigator = True
    CrFormatTypeOptions.UsePageRange = True
    With CrExportOptions
                        .ExportDestinationType = ExportDestinationType.DiskFile
                        .ExportFormatType = ExportFormatType.HTML32
                        .DestinationOptions = CrDiskFileDestinationOptions.DiskFileName
                        .FormatOptions = CrFormatTypeOptions
    End With
    vRdReport.Export()
    Catch ex As Exception
            MsgBox(ex.ToString)
    End Try
    Code working fine at Windows XP, But it is not woking in Windows 7 environment.
    Please can anyone share your valuable thoughts or ideas reg. this.
    Thanks in Advance
    Deivanayaga Perumal D.

    user13509659 wrote:
    Run this code to reproduce the issue.Which issue?
    It looks like inheritance is broken in the component hierarchy for JFrame in Windows 7 JDK 1.6.0_23-b05. The only thing remotely related to inheritance in your code snippet is the WindowListener, which does little. See camickr's advice about built-in exit management.
    EDIT - using the post title as a clue, I realize you may be talking about the component hierarchy, and whether the contentPane's background is visible through the upper layers. Instead of guessing, I'd prefer you describe your "issue" accurately (observed vs expected behavior).
    Edited by: jduprez on Feb 10, 2011 1:01 PM

  • Print crystal report without using the print button on toolbar

    Hi,
    I am working on Crystal report XI. I need to print the report w/o using the toolbar. So I have inserted a print icon in the report. On clicking that icon it should call a jsp page which will print the report. I am not able to call any print methods provided by JRC to do this.
    Can someone help me with this problem.
    Is there some other way to implement it ?
    Thanks
    Message was edited by:
    CR_newbie

    Print the report where? On what printer? The server's printer?
    Java code runs on the server. You can't affect the client's computer from JSP.
    You can write javascript code which can call window.print() but that is working through the browser to display the print dialog box (as if the user selected file:print)

  • Performance issue - Open a Crystal Report from SAP BW

    Hi,
    I have an general question on the performance of Crystal Reports: We are using Crystal Reports 2008 SP 2 in context with SAP BW 7.0. We don't have a BO XI. We use the BW as a central storage for our reports. Now we have the problem that the opening of some reports takes a long time. For expample one report needs ~13 secound an another > 5 minutes.
    Where can be the problem? What happens in SAP BW when a report is called? And what can we do to make it faster?
    Thanks for your informations!

    Hi Ingo,
    the value of MaxPickListSize is "c8".
    Yesterday I have spent a lot of time to find the bottleneck. I have traced the SQL statements, which are performed from Crystal Reports / Integration Kit when I open a report. It might be the values for the parameters. That's our situation:
    Crystal Reports
           |
    Query (restriced on Cube 1)
           |
    MultiProvider
      - Cube 1
      - Cube 2
      - Cube 3
      - DSO 1
    The slow report is based on the BW Query and in the filter restricted to the Cube 1. If I open the report, all values for the parameters are read from all the InfoProviders under the MultiProvider (Cube 1, Cube 2 Cube 3 and DSO 1). The very big DSO 1, which is not used, increases the duration extremly. This may not be the desired behavior?! Is this a bug? I would expected that only the values are loaded from Cube 1.

  • Huge delay in Printing Crystal Report Layout

    Good Day Experts,
    I am experiencing big delays when printing a document that makes use of a Crystal Report Layout Design.
    For example,
    The Sales Quote is set to automatically print when added by the user.
    When clicking 'Add', SAP freezes up and only about 30 seconds later does the printer finally print the document.
    During that time, the user cannot use SAP at all.
    The layout does have a lot of fields and a few formulas here and there.
    Logically, I am thinking that that is the reason for the delay, as SAP needs to calculate and populate those fields.
    Is there any other way that I could speed up this process? Or if you know what might be causing this speed issue?
    Your assistance will be appreciated,
    Thanks
    Regards
    Dario

    Hi Dario,
    Pl Try the Below Threads and Ref SAP Notes Provided by NagaRajan.
    http://scn.sap.com/message/13419121#13419121
    http://scn.sap.com/thread/2024941
    Regards,
    Vamsi

  • Crystal Report Preview Problem

    Dear All,
    I have done a crystal report for Sales Quote and imported using Administration-->Setup-->General-->Reports and Layouts.
    It shows that the report is imported successfully but when i go and give print preview, it shows an error as "LogOn Failed Please Try Again".
    I dont know why this error occurs.
    But the other reports are working well.
    Help me solving this issue.
    Regards,
    Janani

    hi
    Janani..
    Actually i never Seen This Type of problem..
    I have one Doubt May be u have Developed in ur system n then import it to the client server..
    before importing have u change the login credentials....
    After i search i got below link just have a look on below post If it's not use ful just ignore the mail....
    System asks for SA Password when printing with Crystal Reports

Maybe you are looking for