--> At CallCenterOps.com we’re dedicated to providing information about operations management to those involved in real-time customer service via call centers.
Learn how to advertise on this site.
CCOps Home  |  Forum Home  |  Jobs Board  |  Library  |  Operations  |  Resources  |  In The News  |  Site Map

Go Back   CallCenterOps Forum > Technology Discussion
Register FAQ Calendar Search Today's Posts Mark Forums Read

Technology Discussion The CallCenterOps Technology Forum focuses on the technologies that make call centers work. (No advertising is accepted - posts will be removed.)

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-04-2007, 03:20 PM
Registered User
 
Join Date: Jul 2006
Posts: 0
reports from C# - no reports showing in ACD

trying this again, it is irritating me.

what I have so far..

cvsApplicationClass oApp = new cvsApplicationClass();
Object oCon = new Object();
Object oSrv = new Object();

if (((cvsApplicationClass)oApp).CreateServer("****", "", "", "******", false, "ENU", ref oSrv, ref oCon))
{
if (((cvsConnection)oCon).Login("*****", "******", "****", "ENU", "", false))
{
cvsServer SRV = (cvsServer)oSrv;
cvsConnection oConn = (cvsConnection)SRV.get_Connection();

Console.WriteLine("Conn status: " + oConn.ConnectionStatus.ToString());
Console.WriteLine("ACD's on this server: " + SRV.ACDs.Count());
cvsCatalog CAT = (cvsCatalog)SRV.Dictionary;

Console.WriteLine("Catalog Name: " + CAT.Name);
Console.WriteLine("Connected: " + SRV.Connected);
Console.WriteLine("Errors: " + SRV.Errors.Count());
Console.WriteLine("Server Instance: " + SRV.ServerInstance);

CAT.ACD = 1;
Console.WriteLine("Current ACD: " + CAT.ACD);
Console.WriteLine("Reports on this ACD: " + CAT.Reports.Count());

CAT.ACD = 2;
Console.WriteLine("Current ACD: " + CAT.ACD);
Console.WriteLine("Reports on this ACD: " + CAT.Reports.Count());

CAT.ACD = 3;
Console.WriteLine("Current ACD: " + CAT.ACD);
Console.WriteLine("Reports on this ACD: " + CAT.Reports.Count());

/*foreach (object o in CAT.Reports)
{
}*/
}


and here is the output I get

Conn status: csConnectionUp
ACD's on this server: 3
Catalog Name: Dictionary
Connected: False
Errors: 0
Server Instance: 32
Current ACD: 1
Reports on this ACD: 0
Current ACD: 2
Reports on this ACD: 0
Current ACD: 3
Reports on this ACD: 0

which makes no sense, firstly why is is the connection I get from the server object saying it is up but then the server connected is false?

Then I get the ACD's of 3 which is correct
but there are no reports on any of the ACD's? when I know there is (logged in via the program to check)

Any help here?
Reply With Quote
  #2 (permalink)  
Old 05-13-2008, 02:36 PM
Registered User
 
Join Date: May 2008
Posts: 0
I know this post comes about 1 year to late probably, but I was having the same issue and I figured it out.

You need to pull your reports from Reports, and not from dictionary.

//ACD is 4
cvsCatalog reports = (cvsCatalog)oSrv.Reports;
reports.ACD = 4;

You can see my full source at Avaya CMS 11 Reports in C#

And if anyone has any insights into my issue please let me know.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
using C# to run Avaya CMS reports madhombre Technology Discussion 27 05-13-2008 07:01 PM
Using Excel VBA to run Avaya CMS reports mac_see Technology Discussion 4 04-18-2008 08:06 AM


All times are GMT -4. The time now is 09:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
CallCenterOps Presentation Copyright © 1998 -
Legal Notice