473,404 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

Design Questions

Hello all,

This may not be the appropriate forum, but I'm going to try my luck.

I'm designing an ASP.NET application in C# for my company. The
application grabs call center statistics for CSR's on a nightly basis,
and imports that data into its own database. Thus, the application is
used mainly for trending/reporting.

The agents are assigned to supervisors. One design aspect that I'm
struggling with is that agents can be reassigned to different
supervisors at any time. But if agent X gets reassigned to Supervisor
B, we still want Agent X's old statistics to appear in team reports
for Supervisor A, when those reports are generated during the time
period where Agent X was still under Sup A.

I've been running through various scenarios in my head, but I can't
seem to find an attractive method. Is this possible to doing on the
query-level using SQL, or am I going to have to grab the data into a
dataset and manipulate it at the application level, checking each
record to see if the agent belonged to that supervisor at that
particular period in time?

I hope I've explained this properly. Any suggestions would be
appreciated.
Nov 15 '05 #1
1 982
Hi Jeff,

I replied to this once, but it doesnt seem to have shown up. The problem with this scenario is that you must be in a suitable position once the data is imported, to enquire as to the state of the data and any pertinent associations at a given time. You must be able to ask for data from a year ago, and know all the data and the associations to produce the correct report. In these terms, you simply need to take a snapshot of pertinent data and store it against your imported data.

I havent got time to think this through to any great length, but I can see two solutions already. The quickest and easiest is to have an attribute on the imported data that is the Supervisors ID. You would always know who the supervisor is at any given time for data imported against an agent. But you get a little redundancy with this, but its simple.

If that solution is too crude, your next best bet is to build a supervisor_agent tracking table. When an agent is assigned to a supervisor, put his start date in. When the agent is assigned to a new supervisor, update the agents "end date" for his current supervisor association, and create a new one setting the new start date for the new supervisor association. Performing a query against this table will allow you to join it with the results data, to extrapolate the information you require.

Hope that gives you some ideas.

nick robinson
site : www.fromconcept.co.uk
blog : www.fromconcept.co.uk/weblog.aspx

----- Jeff Shantz wrote: -----

Hello all,

This may not be the appropriate forum, but I'm going to try my luck.

I'm designing an ASP.NET application in C# for my company. The
application grabs call center statistics for CSR's on a nightly basis,
and imports that data into its own database. Thus, the application is
used mainly for trending/reporting.

The agents are assigned to supervisors. One design aspect that I'm
struggling with is that agents can be reassigned to different
supervisors at any time. But if agent X gets reassigned to Supervisor
B, we still want Agent X's old statistics to appear in team reports
for Supervisor A, when those reports are generated during the time
period where Agent X was still under Sup A.

I've been running through various scenarios in my head, but I can't
seem to find an attractive method. Is this possible to doing on the
query-level using SQL, or am I going to have to grab the data into a
dataset and manipulate it at the application level, checking each
record to see if the agent belonged to that supervisor at that
particular period in time?

I hope I've explained this properly. Any suggestions would be
appreciated.

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Design Pattern Catalog | last post by:
Thank you for your interest in "Design Patterns: Elements of Reusable Object-Oriented Design", by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. This message answers several...
3
by: Yves Dhondt | last post by:
Hello, I've got the following UML design : C | A _____|______ B So 2 objects A and B are connected through a relation C. (For example an employment scheme : person A1 worked for company...
5
by: MP | last post by:
context: vb6 / ado / adox 2.8/ mdb file format / jet 4.0 provider (not using Access) trying to design first database I work for a very small company, detailing building 'components' There is...
0
by: YellowFin Announcements | last post by:
Introduction Usability and relevance have been identified as the major factors preventing mass adoption of Business Intelligence applications. What we have today are traditional BI tools that...
1
by: YellowfinTeam | last post by:
Laws and Myths of Usability & Interface Design Introduction Usability and relevance have been identified as the major factors preventing mass adoption of Business Intelligence applications....
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.