









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Figure2:CustomerUseCases
PreCondition: Userisatloginpage. PostCondition: customerhasaccesstothesystem.
PreCondition: customermustbeloggedin. PostCondition: customerhasregisteredanewcomplaintintothesystem.
PreCondition: Customermustbeloggedin. PostCondition: existingcomplaintisupdated.
PreCondition: complaintmustexistandusermustbeloggedin. PostCondition: complaintstatusischanged.
PreCondition: customermustbeloggedinandshouldentervalidsearchcriteria PostCondition: customerhastherequiredcomplaintview.
PreCondition: Customermustbeloggedin PostCondition: Customerhasupdated/addedcontactinformation.
PreCondition: Customermustbeloggedin PostCondition: Customerisloggedoutofthesystemandthehomepageisdisplayed.
PreCondition: Userisatloginpage. PostCondition: Userisloggedin.
PreCondition: Complaintmustberegistered PostCondition: staffmemberisassignedtoacomplaint.
PreCondition: complaintmustberegistered. PostCondition: newinformationisaddedtocomplaint.
PreCondition: complaintmustberegisteredandclosedaftercompletionoftask. PostCondition: complaintisreopened.
PreCondition: validsearchcriteriamustbeentered. PostCondition: requiredresultsaredisplayed.
PreCondition: customerrequirementisfulfilled. PostCondition: complaintisclosed.
PreCondition: usermustbeloggedin. PostCondition: statisticalanalysisreportisdisplayed.
Precondition: usermustbeloggedin PostCondition: userisloggedoutandhomepageisdisplayed.
2.3 AdministratorUseCases
Figure4:AdministratorUseCases
3.1 Customer
Thecustomersoftheorganizationthatneedtointeractwiththesysteminordertoplace their complaints and their feedback regarding services and facilities provided. For any registeredcustomertherearetwoattributes. Email Password FirstName LastName Birthday JoinDate ContractStart ContractEnd Address MobilePhone LandlinePhone ConnectionType
3.2 Staff
Thestaffmemberscanalsobedepartmentsupervisorssotheyaredistinguishedonthe basisoftheirdesignation.Eachstaffmemberwillhavefollowingattributes. Email Password FirstName LastName PhoneNumber Department_ID Designation
Figure5:CustomerEntity
Figure6:StaffEntity
Staff
Email Designation
LastName FirstName
Phone
De partme nt _ID
Password
3.3 Administrator
Thehighestlevelofpowerinthesystem,administratorโsentityhasfollowingattributes. Email FirstName LastName Password Designation PhoneNumber
3.4 Complaint
Thefeedback,complaintsregisteredbythecustomersregardingservicesissueswillhave followingattributes. Complaint_ID Cust_Email Department_ID AssignedTO ReportedDate TimeToFix Comments CurrentStatus InitiallywhenthecomplaintisregisteredthevaluesofโAssignedToโandโTimetofixโwillbe NULLsincethecomplaintisregisteredbythecustomerandhedoesnothavetherightstoenter thevaluesfortheseattributes,thedepartmentsupervisorwillassignastaffmembertothetask ofthatcomplaintandhewillenterthevaluesfortheseattributes.
3.5 Department
Different departments can reside under the domain of CRM. The departments will have followingattributes. Department_ID DepartmentName
Figure7:AdministratorEntity
Figure8:ComplaintsEntity
Administrator
Email Designation
LastName FirstName
Phone
Password
4.5 StaffComplaint
Staffcanmanagecomplaints;onestaffmembercanhandledifferentcomplaints.
Figure13:StaffComplaintRelation
4.6 StaffCustomer
Astaffmembercanhandledifferentcustomers.
Figure14:StaffCustomerRelation
4.7 StaffDepartment
Onestaffmembercanonlybelongtoasingledepartment.
Figure15:StaffDepartmentRelation
4.8 StaffStaff
Astaffmembercanbedepartmentsupervisor,sohecanmanageotherstaffmembers.
Figure16:StaffStaffRelation
Entiresystementityrelationshipscanbeshownas;
Figure17:EntityRelationshipDiagram
Therearenomultivaluedattributesinthedesignandforthatreasontherewillbeno mappingperformed.
ForunaryOnetoManyrelationRecursiveforeignkeyisaddedintothesame relation. There is only one unary 1:M relation in the design and that is of a Department Supervisor managing other staff members for that department. Following the above statedruleforunaryrelationmappingthemappingisasfollows; Email Password First Name
Last Name
Phone Number
Dept_ID Designation Supervisor_Email
6.1.5.1 MappingBinaryonetooneRelation
ThereisnoBinary1:1relationinthesystem.
6.1.5.2 MappingBinaryonetomanyRelation
Foreachbinaryonetomanyrelationstheprimarykeyontheonesidebecomesa foreignkeyonthemanyside.Followingthisrulethemappingisasfollows; AdministratorโComplaint Administrator Email Password FirstName LastName PhoneNumber Designation Complaint Complaint_ID Admin_Email Cust_Email Dept_ID AssignedTo TimetoFix Comments CurrentStatus ReportedDate AdministratorโCustomer Administrator Email Password FirstName LastName PhoneNumber Designation Customer Email Admin_Email Password FirstName LastName Birthday JoinDate Contract Start
ContractEnd Address MobilePhone
Landline Phone
ConnectionType
AdministratorโStaff Administrator Email Password FirstName LastName PhoneNumber Designation Staff Email Admin_Email FirstName LastName Designation Dept_ID PhoneNumber Password CustomerโComplaint Customer Email Password FirstName LastName Birthday JoinDate Contract Start
ContractEnd Address MobilePhone
Landline Phone
Connection Type Complaint Complaint_ID Cust_Email AssignedTo ReportedDate TimetoFix Cust_Email Dept_ID Comments CurrentStatus StaffโComplaint Staff Email Password FirstName LastName PhoneNumber Dept_ID Designation Complaint Complaint_ID Staff_Email AssignedTo ReportedDate TimetoFix Cust_Email Dept_ID Comments CurrentStatus StaffโCustomer Staff Email Password FirstName LastName PhoneNumber Dept_ID Designation Customer Email Staff_Email Password FirstName LastName Birthday JoinDate Contract Start
ContractEnd Address MobilePhone
Landline Phone
ConnectionType
Forrelationstobein2NFfollowingconditionsmustbesatisfied. 1NFPLUS everynonkeyattributeisfullyfunctionallydependentontheENTIRE primarykey Everynonkeyattributemustbedefinedbytheentirekey,notbyonlypartof thekey Nopartialfunctionaldependencies Absenceofanycompositekeyinthesystemsatisfiesbothconditionsresultinginasystemthat isin2 nd^ normalformandnosolutionstepsarerequiredtobeperformed.
Systemisin3NFiffollowingconditionissatisfied. 2NFPLUS notransitivedependencies (functionaldependenciesonnonprimarykey attributes) Considering the above stated rule no transitive dependencies are found in the system hence thesystemin3 rd^ NormalFormandnosolutionstepsarerequiredtobeperformed.
Implementation of the database physical design, consisting of the data types, null information,tabletypeandcharactersetwillbecarriedoutasanextstep.Thentheactual databaseisthenextstepafterwhichimplementationoftheapplicationwillbecarriedout. Aftertheimplementationofdatabase,theSQLcodewillbetheavailableartifactasacheck pointgoalafterwhichtheapplicationinterfaceImplementationwillbethenextgoal.
[1] ModernDatabaseManagementbyJeffreyA.Hofer.Seventhedition. [2] DatabaseSystemsbyThomasConnolly.Thirdedition. [3] en.wikipedia.org/wiki/ SugarCRM [4] www.sugarcrm.com