Professional Documents
Culture Documents
COMPANY CONFIDENTIAL
Infosys
Reviewer(s) Pradnya Ghalsasi Dinesh Anantwar Sheetal Kale Dharini V Pradnya Ghalsasi Dinesh Anantwar Sheetal Kale Dharini V
1.0
July 2004
Heena Mehta
Baseline Version
ER/CORP/CRS/LA06/006
Version No.1.1
ii
Infosys
Table of Contents
Contents
1 OVERVIEW ............................................................................................................... 5 1.1 1.2 2 2.1 2.2 2.3 2.4 2.5 2.6 2.7 3 4 CURRENT SYSTEM ....................................................................................... 5 PROPOSED SYSTEM ..................................................................................... 5 System Requirements ....................................................................................... 2 Business Events ................................................................................................. 2 Inputs and Outputs ........................................................................................... 2 Relationships ..................................................................................................... 6 Precedence Relationships ................................................................................. 6 Screens ............................................................................................................... 6 Reports ............................................................................................................. 13
EXTERNAL INTERFACE REQUIREMENTS..................................................... 13 OPERATING ENVIRONMENT REQUIREMENTS............................................ 13 4.1 4.2 4.3 4.4 Hardware ......................................................................................................... 13 Software ........................................................................................................... 13 Network............................................................................................................ 13 Communication ............................................................................................... 13
5 6
PERFORMANCE REQUIREMENTS ................................................................... 13 STANDARDS REQUIREMENTS .......................................................................... 13 6.1 6.2 6.3 6.4 User Interface .................................................................................................. 13 Detailed Design................................................................................................ 13 Coding .............................................................................................................. 13 Documentation ................................................................................................ 13 Security ............................................................................................................ 14 Audit Trail ....................................................................................................... 14 Reliability......................................................................................................... 14 Transaction Volume & Data Volume............................................................ 14 Backup & Recovery ........................................................................................ 14 Legal ................................................................................................................. 14
ER/CORP/CRS/LA06/006
Version No.1.1
iii
Table of Contents Data Migration ................................................................................................ 14 Data Retention................................................................................................. 14 Installation ....................................................................................................... 14 User Training .................................................................................................. 14 User Manual & Help....................................................................................... 14 Automated & Manual Functions................................................................... 14 Features Not Required ................................................................................... 14 Database Design .............................................................................................. 14
CONSTRAINTS ....................................................................................................... 14
ER/CORP/CRS/LA06/006
Version No.1.1
iv
Infosys
1 OVERVIEW
The telephone directory maintenance system is designed to ensure smooth allotment of telephone to the employee of a particular department and query the telephone directory whenever required
2 BUSINESS REQUIREMENTS
ER/CORP/CRS/LA06/006
Version No.1.1
Infosys 1. To maintain department codes. 2. To maintain Employee Master 3. To maintain a telephone directory.
Department Maint
Employee Master
ER/CORP/CRS/LA06/006
Version No.1.1
Infosys This module will have two main functions: a To Add department codes b To Delete department codes Add Department:
The department code should be 4 characters long. The department names should not exceed 15 characters The department code should start with 1000. Every new department added should get a 1 up number for the department code. The department codes should be unique Department names cannot be duplicated. Comparison should be case insensitive. The department codes should be generated by the system. The add department screen should have provision for adding new departments as long as the user wishes When the user finishes adding new departments, the control should return to the Department Code Maintenance Screen.
Delete Department: The department code to be deleted should exist. If the department code does not exist, an error message should be displayed, and system should ask if the user wants to delete another department If the department code exists, the details of employees that belong to the given department (Employee Name, location and telephone No.) should be displayed to the user and a confirmation for deletion should be got. If the user does not wish to delete the department after seeing the details, the department should not be deleted. If the user confirms deletion, the department should get deleted. The corresponding employee details should be also deleted from the employee file. The delete department screen should have provision for deleting departments as long as the user wishes When the user finishes deleting departments, the control should return to the Department Maintenance Screen.
Employee Master
This module will have 3 main functions: To Add new Employees To Edit Employee Information
a b
Add New Employees: All fields are mandatory. The name of the Employee should not exceed 25 characters. The employee id should be 4 characters long.
ER/CORP/CRS/LA06/006
Version No.1.1
Infosys
Project Specification for PF The employee id should start with 1000. Every new employee added should get a 1 up number for the employee id. The employee ids should be unique The employee ids should be generated by the system. When the control comes to accepting the department code, list the existing department codes along with their names on the screen for selection of the proper department code. Department Code must be a valid code (should be existing in Department Maintenance file) Department name is displayed corresponding to the code entered. User should not edit this field. The Location should not exceed 5 characters. The add new employee screen should have provision for adding new employees as long as the user wishes
Edit Employee: The employee id should exist If the employee id does not exist, an error message should be displayed, and system should ask if the user wants to edit another employee. If the employee id exists, the details (ref screen 4.2) should be displayed. The system should ask the user to enter the new data for each field. If the user enters blank data for a field, then the previous information before modifying should be retained. If the user enters a different Department code, verify whether the department code is valid. If the department code is not valid, an error message should be displayed and system should ask if the user wants to enter another department code. The Location should not exceed 5 characters. The edit employee screen should have provision for editing employee information as long as the user wishes When the user finishes editing, the control should return to the Employee Master Screen.
ER/CORP/CRS/LA06/006
Version No.1.1
Infosys
Project Specification for PF If the employee id does not exist, an error message should be displayed, and system should ask if the user wants to enter another employee id. The Location and Department Code (for the employee) should be displayed (From the information entered in the Employee Master screen). User should not edit these fields. Allocate a seven-digit telephone number depending on the department. (4-digit Department Code + 3-digit unique number starting with 001 for a particular department). The first telephone number in a particular department should start with xxxx001. The telephone number should be generated by the system and should be sequential The add telephone number screen should have provision for adding new Telephone Numbers as long as the user wishes. When the user finishes adding new Telephone Numbers, the control should return to the Directory Maintenance Screen.
Enquiry on Department Code: Department code should exist. If the department code does not exist, an error message should be displayed, and system should prompt the user whether he wants to enquire on another department. If the department code exists, the details of the first five telephone numbers that exist in that department should be displayed in sorted order of telephone numbers The enquiry by department screen should have provision for enquiry on different departments as long as the user wishes. When the user finishes enquiry by department, the control should return to the Telephone Enquiry Screen. Enquiry on owner (Employee): Partial search on employee name should be implemented. For example, if the user searches for a name like vidya, then details of all the users whose name contains vidya should get displayed, like SriVidya, VidyaShree, Vidya etc. If the name does not exist, an error message should be displayed, and system should prompt whether the user wants to enquire on another name. If the name exists, the details of all the telephone numbers whose owner names match partially should be displayed, sorted in ascending order of name. The Enquiry by employee should have provision for enquiry on different names as long as the user wishes. When the user finishes enquiry by employee, the control should return to the Telephone Enquiry Screen.
ER/CORP/CRS/LA06/006
Version No.1.1
Infosys
2.4 Relationships
An employee can belong to only one department One telephone number per employee
2.6 Screens
Note for all screens: All the fields with are user inputs. All fields with ________ are to be generated by the system. All error messages are to be displayed on the screen. When an error message is displayed system should wait for a key press. Error messages should be cleared once the user presses a key. All validations done should be case insensitive. For e.g. when you ask the user if he wishes to continue, following inputs are valid: y or Y or n or N. Any other input is invalid.
1. Login Screen :
Title
Login Id :
ER/CORP/CRS/LA06/006
Version No.1.1
MAIN MENU
Enter 1. For Directory Maintenance. 2. For Department Maintenance. 3. For Employee Master Maintenance 4. For Exiting the Application. Enter your choice
To Add a Department To Delete a Department 0. To go back to the Main Menu Enter your choice.
ER/CORP/CRS/LA06/006
Version No.1.1
Infosys
___________________
Do you wish to delete this department [y/n] ? .. Delete another employee [y/n]? ..
ER/CORP/CRS/LA06/006
Version No.1.1
Employee Master
Enter
4.1
: :__________
:
:_______________ :.
ER/CORP/CRS/LA06/006
Version No.1.1
The current Department is Enter the new Department . The current Location __________________
__________________ :
Directory Maintenance
Enter
1. 2. 3.
To Add Telephone Numbers. To query on name of telephone owner (Employee). To query on Department . 0. To Go back to the Main Menu.
ER/CORP/CRS/LA06/006
Version No.1.1
10
Infosys
5.1
.. _____________________
_____________________
:
:
5.2
________
___________
________
___________
ER/CORP/CRS/LA06/006
Version No.1.1
11
Infosys
________ ________
ER/CORP/CRS/LA06/006
Version No.1.1
12
Infosys
2.7 Reports
Telephone number for employee Telephone numbers for a department
4.2 Software
Visual Studio 6.0 -> Visual C++ 6.0
4.3 Network
Local Area Network
4.4 Communication
Through Local Area Network
5 PERFORMANCE REQUIREMENTS
Should be able to retrieve records in case if any enquiries
6 STANDARDS REQUIREMENTS
6.1 User Interface 6.2 Detailed Design 6.3 Coding 6.4 Documentation
ER/CORP/CRS/LA06/006
Version No.1.1
13
Infosys
8 CONSTRAINTS
8.1 Database Design
There are 2 files: Department File (dept.txt) Fields in a record: DeptCode, DeptName Record Length: 4 + 15 = 19 Employee File (emp.txt) Fields in a record: Id, Name, Dept Code, Location, and Tel No Record Length: 4 + 25 + 4 + 5 + 7 = 45 Every Line in each of the 2 files will represent a record. Record Lengths are fixed which means that the fields (with value less than the field size) will be blank padded with spaces
ER/CORP/CRS/LA06/006
Version No.1.1
14