AUTOMATED PAYROLL SYSTEM OF TRECE MARTIRES CITY

December 11, 2017 | Author: Wilbert Saclolo | Category: Windows Xp, Microsoft Windows, Microsoft Access, Databases, Windows Vista
Share Embed Donate


Short Description

Download AUTOMATED PAYROLL SYSTEM OF TRECE MARTIRES CITY...

Description

AUTOMATED PAYROLL SYSTEM OF TRECE MARTIRES CITY NATIONAL HIGH SCHOOL

Information Technology Department Cavite State University-Naic Bucana Naic,Cavite

In Partial Fulfillment of the Requirements for the Degree of Bachelor of Science in Information Technology

Proponents: Angelica L. Olivar Richalle R. Crooc Catherine L. Andiano

TABLE OF CONTENTS I. ACKNOWLEDGMENT..................................................................... ………i II. STUDENTS’ PROFILE ......................................................................... … ii III. INTRODUCTION ........................................................................................1 IV. STATEMENT OF THE PROBLEM .................................................

V. IMPORTANCE OF THE STUDY..................................................... VI. OBJECTIVES OF THE STUDY a. General Objective b. Specific Objectives VII.

TIME AND PLACE OF THE STUDY a. Gantt chart........................................................................... b. Pert/CPM............................................................................... VIII.

CONCEPTUAL FRAMEWORK.......................................................

IX.

SCOPE AND LIMITATIONS............................................................

X.

DEFINITION OF TERMS a. Technical terms..................................................................... b. Operational terms..................................................................

XI.

TOOLS/PLATFORMS, LANGUAGE TO BE USED.................

XII.

ABOUT PLATFORM, LANGUAGE AND TOOLS USED .................

XIII. SCOPE OF FUTURE APPLICATION .............................................. XIV.

DATA DICTIONARY ........................................................................

XV.

FLOWCHART AND DFD ................................................................

XVI.

ER DIAGRAM ..................................................................................

XVII. SCREEN SHOTS ............................................................................

XVIII. SOURCE CODE .............................................................................. XIX.

SYSTEM TESTING, IMPLEMENTATION AND MAINTENANCE ....

XX.

BIBLIOGRAPHY ..............................................................................

XXI.

SPECIAL NOTES ..........................................................................

Acknowledgment

The proponents would like to thank the following individuals who in way or another have contributed of the study.

Mr. Angelito L. Catajan Jr., their System Analysis and Design instructor, who gave untiring and support in the completion of this study.

Ms. Andiano, their English critic, for her limitless time of checking and editing the manuscript.

To the personnel, principal, accounting officer of Trece Martires National High School for their cooperation and support in answering the question that the proponent’s presented.

To their families, for extending not only financial help but moral support and understanding during the completion of this project.

And above all, to Our Almighty God for giving them strength, guidance and blessings for, without Him this piece of work would not be possible.

Students’ Profile

Angelica Olivar was born at Malainen Luma, Naic, Cavite on th 6 th of November 9187. She is the 4th sibling of Mr. Jesus L. Olivar and Mrs. Teresita L. Olivar. She finished his elementary education at Malainen Luma Elementary School in March 2000 and finished his secondary education at Bucal National High School in March 2004. In May 2007 she took the entrance exam at Cavite State University- Naic Campus and obtained his tertiary education. She took Bachelor of Science in Information Technology at Bucana Naic, Cavite.

Richalle R. Crooc was born in Gen. Emillo Aguinaldo Bailen Cavite on the 30 of October 1989. She is the eldest siblings of Nerisa Reyes and Arellano Crooc. She finished her elementary education at Taywanak Elementary School and finished his secondary education at Taywanak National High School in Taywanak Alfonso Cavite. She took her Bachelor of Science in Information Technology at Cavite State University at Bucana Naic Cavite.

Catherine Andiano was born at Magallanes, Cavite, on the 25th of November 1990. She is the eldest sibling of Mr. Rolando L. Andiano and Mrs. Nemencia L. Andiano..

She finished her elementary education at Magallanes Elementary School 2003 and finished her secondary education at Magallanes Westrn Cavite Institute on April 2006. In May 2007 she took the entrance exam at Cavite State University- Naic Campus and obtained his tertiary education. She took Bachelor of Science in Information Technology.

Introduction

Payroll System is the heart of any Human Resource System of an Organization. The solution has to take care of calculation of salary as per rules of the Company, Income-Tax calculation and various deductions to be done from salary including statutory deductions like Income Tax and Provident Fund deductions. Payroll system can be classified into two namely the Manual System and the Computer based System. In this study we use to develop a Computer based “Payroll System” to improve a faster, easier and reliable way of payroll. It helps the staff of Trece Martires City National High School Accounting Office for easy filing and conducting their Finance share in every teachers, cleark and maintenance of their school.

Statement of the Problem

For some problem encounter in manual organizing the Payroll System of this Campus it gives a redundant record and imperfection data. This study aimed to improve the manual payroll System of Trece Martires City National High School. Specifically the study sought to answer the following questions: 1.

How will the manual payroll operation be improved?

2.

What would be the output benefits of the system development

compared to manual system? 3.

Who will be the beneficiaries of this automated payroll system?

Importance of the Study

The System conducted at Trece Martires City National High School on 2 nd week of August. Interview is conducted to Mrs. Elisa I. Lorena (the Accounting Officer). This Study focuses the needs of the Accounting Officer of that Trece Martires City National High School for easy filing, recording, updating data. And to design an automated payroll system, to enhance the technology used of the Accounting Clerk and evaluate the effectiveness and efficiency of the system. This study aimed to develop an Automated Payroll System of Trece Martires City National High School, which allow the user the information of the Campus Employee. This System also provides an easy adding, deleting, updating and computing records. The Accounting Officer and Employee’s of Trece Martires City National High school are benefited to this System.

Objective of the Study

The General Objective of this Study is to develop an Automated Payroll system for Trece Martires City National High School.

Specifically it aimed to: 1. To improve a faster, easier and reliable way of Payroll System of Trece National High School. 2. Automated payroll processing for unlimited Income types that can be any denomination and calculated however you want. Standards are hourly, salary, bonus, deduction, overtime, double-time, etc. 3. The administrator and the employee to assured their personal record.

Time and Place to Study

The developer conducted the study on July 2010 at Cavite State University – Naic. The needed information related to the subject was done through the internet, thesis and interview conducted at Trece Martires National High School. (Refer to Figure 1 Gantt chart and Figure 2 PERT/ CPM)

Figure 1 Gantt chart of Automated Payroll System of Trece Martires City National High School

Activity A B C D E F G H I

Duration Planning Company Search Company Interview/Data Gathering System Design and analysis Define Project needed Develop Project plan Initial system Development Final Development Installation/Submission

Days 7 7 7

Predecessors B

7

C

7 21 14

D D,E D,E,F

14 7

G H

Figure 2.1 Pert/CPM Table of activities of Automated Payroll System of Trece Martires City National High School

Figure 2.2 PERT/CPM Network Diagram of Automated Payroll System of Trece Martires City National High School

Critical Path Task B Task C Task D Task E Task F Task G Task H Task I

Conceptual Framework

The Paradigm below shows the presentation of the concepts of the study. It involves the input, processing, and expected output. The system model depicts the workflow and the sequence of activities to be conducted until the study is completed. Input Output Knowledge Requirement •

Process

Payroll ,System Concept

Designing



Visual Basic 6.0

DFD



System Analysis

ER

and Design

Coding

Automated Payroll System of Trece Martires City National High School

Software Requirement •

Visual Studio 6.0



Microsoft Office



Window XP

Hardware Requirement •

Computer



Printer

Figure 3. Conceptual Framework of Automated Payroll System of Trece Martires City National High School

As shown on this figure 3 the Conceptual Framework of Automated Payroll System of Trece Martires City National High School campus has the following input requirements which are divided into three categories: Knowledge requirements, Software requirements and Hardware Requirements. Knowledge Requirements’ include Payroll System concept, programming knowledge, Database Management System. The process was the procedures performed to meet the desired or expected output. This includes Data Gathering, Design, Data Flow Diagram, and Coding. The expected output was Automated Payroll System of Trece Martires City National High School.

Scope and Limitations

The Payroll System is in the supervision of the Account officer served as the administrator for easy filing, updating and saving employee information. It is also used to compute their salary with the deductions, attendance pay slip and Bonus of the employee. The Payroll System is only used the administrator and employee but the employee capable only to view the list and their pay slip. For security purposes the database is protected by a password that verifies if the user was authorized to use the program. The main focus of the system is handling employee’s records such as Employee List, Add New Employee, Edit New Employee, Attendance, Bonus and Pay slip for the administrator. Pay slip and Attendance for Employee. Also the system keep track and showed the current and updating employee records using its embedded pay slip and attendance. The system has a Log-in & Log-out to avoid accidental modification of data. The only person who can fully modify all the data inside the database is the Accounting officer. The system offered a change password feature limited to a number of character so that the user can change the password whenever he/she likes. It also includes a time to time password prompt for the administrator to maximize system protector. The system generates reports such as Employee List, Add New Employee, Edit New Employee, Attendance, Bonus and Pay slip.

However, the system does not include other payroll functions such as decision report system and expert system.

Definition of Terms

Technical Terms Database - any collection of data organized for storage in a computer memory and design for easy access by authorized person. Payroll – system design for salary computations. Program – set of instructions that direct a computer to perform some processing function or combination of functions. Microsoft Access – a database program Programming Language – Contains series of command to create software. System – a collection or combination of program, procedure, data, and equipment utilized in processing information. Visual Basic – a user friendly programming language which is used to build applications or software. Data Dictionary- a.k.a. metadata repository, as defined in the IBM Dictionary of Computing, is a "centralized repository of information about data such as meaning, relationships to other data, origin, usage, and format." The term may have one of several closely related meanings pertaining to databases and database management systems (DBMS) ER Diagram- is an abstract and conceptual representation of data. Entityrelationship modeling is a database modeling method, used to produce a type of conceptual schema or semantic data model of a system, often a relational

database, and its requirements in a top-down fashion. Diagrams created by this process are called entity-relationship diagrams, ER diagrams, or ERDs. PERT/CPM- Critical Path Method (CPM) was developed as a network model for project management. CPM is a deterministic method that uses a fixed time estimate for each activity. While CPM is easy to understand and use, it does not consider the time variations that can have a great impact on the completion time of a complex project. Operational Terms Payroll - payroll is the sum of all financial records of salaries, wages, bonuses and deductions. Records – collection of related items or information treated as a unit by a computer. Salary - is a form of periodic payment from an employer to an employee, which may be specified in an employment contract. It is contrasted with piece wages, where each job, hour or other unit is paid separately, rather than on a periodic basis. Deduction - A deduction is an amount you can subtract from your gross income or adjusted gross income to lower your taxable income when you file your income tax return.

Employee - a person who is hired to provide services to a company on a regular basis in exchange for compensation and who does not provide these services as part of an independent business. Permanent - This is the most common form of employment. A person is employed on an indefinite basis, subject to a probationary period that is reasonable with reference to the nature of the job. Contractual- Any provision forming part of a contract. Each term gives rise to a contractual obligation, breach of which can give rise to litigation. Pagibig Percentages- is used to express how large/small one quantity is, relative to another quantity. Pay Slip- is a document an employee receives either as a notice that the direct deposit transaction has gone through, or as part of their paycheck. Bonus- refers to extra pay due to good performance.

Tool / Platforms, Language to be Used

Tools used: Visual Studio 6.0 Microsoft Access

Language used: Visual Basic 6.0

Platform: Win XP

Project Tested on: Win XP Win Vista

About Platforms, Language, Tools Used

Visual Basic 6.0 Visual Basic (VB) is the third-generation event-driven programming language and integrated development environment (IDE) from Microsoft for its COM programming model. VB is also considered a relatively easy to learn and use programming language, because of its graphical development features and BASIC heritage. Visual Basic was derived from BASIC and enables the rapid application development (RAD) of graphical user interface (GUI) applications, access to databases using Data Access Objects, Remote Data Objects, or ActiveX Data Objects, and creation of ActiveX controls and objects. Scripting languages such as VBA and VBScript are syntactically similar to Visual Basic, but perform differently. A programmer can put together an application using the components provided with Visual Basic itself. Programs written in Visual Basic can also use the Windows API, but doing so requires external function declarations. The final release was version 6 in 1998. Microsoft's extended support ended in March 2008 and the designated successor was Visual Basic .NET

Areas of Application Using Visual Basic's tools we can quickly translate an abstract idea into a program design that we can actually see on the screen. VB encourages you to experiment, revise, correct, and network your design until the new project meets your requirements. However, most of all, it inspires your imagination and creativity. Visual Basic is ideal for developing applications that run on the Windows operating system. Developing applications with VB can be said to be a 3-step approach: Visual Basic is used to develop applications in a number of different areas. Some of them are listed below: •

Software Engineering



Decision System support



Computer Games



Computer Graphics

About Microsoft Access Microsoft Office Access, previously known as Microsoft Access, is a relational database management system from Microsoft that combines the relational Microsoft Jet Database Engine with a graphical user interface and software development tools. It is a member of the Microsoft Office suite of applications and is included in the Professional and higher versions for Windows and also sold separately. Access stores data in its own format based on the Access Jet Database Engine. It can also import or link directly to data stored in other Access databases, Excel, SharePoint lists, text, XML, Outlook, HTML, dBase, Paradox, Lotus 1-2-3, or any ODBC-compliant data container including Microsoft SQL Server, Oracle, MySQL and PostgreSQL. Software developers and data architects can use it to develop application software and non-programmer "power users" can use it to build simple applications. Like other Office applications Access is supported by Visual Basic for Applications, an object-oriented programming language that can reference a wide variety of objects, including DAO (Data Access Objects) and ActiveX Data Objects, and many other ActiveX components provided by Microsoft or by third parties. Visual objects used in forms and reports expose their methods and properties gracefully in the VBA programming environment, and a huge selection of Windows operating system functions can be declared and called from VBA code modules, making Access a rich programming environment.

Windows XP Windows XP is an operating system produced by Microsoft for use on personal computers, including home and business desktops, laptops, and media centers. It was first released in August 2001, and is currently one of the most popular versions of Windows. The name "XP" is short for "experience." Windows XP is the successor to both Windows 2000 and Windows Me, and is the first consumer-oriented operating system produced by Microsoft to be built on the Windows NT kernel and architecture. Windows XP was released for retail sale on October 25, 2001, and over 400 million copies were in use in January 2006, according to an estimate in that month by an IDC analyst.[4] It was succeeded by Windows Vista, which was released to volume license customers on November 8, 2006, and worldwide to the general public on January 30, 2007. Direct OEM and retail sales of Windows XP ceased on June 30, 2008. Microsoft continued to sell XP through their System Builders (smaller OEMs who sell assembled computers) program until January 31, 2009.[5][6] XP may continue to be available as these sources run through their inventory or by purchasing Windows 7 Ultimate, Windows 7 Pro, Windows Vista Ultimate or Windows Vista Business, and then downgrading to Windows XP The most common editions of the operating system are Windows XP Home Edition, which is targeted at home users, and Windows XP Professional, which offers additional features such as support for Windows Server domains and two physical processors, and is targeted at power users, business and

enterprise clients. Windows XP Media Center Edition has additional multimedia features enhancing the ability to record and watch TV shows, view DVD movies, and listen to music. Windows XP Tablet PC Edition is designed to run stylus applications built using the Tablet PC platform. Windows XP was eventually released for two additional architectures, Windows XP 64-bit Edition for IA-64 (Itanium) processors and Windows XP Professional x64 Edition for x86-64. There is also Windows XP Embedded, a component version of the Windows XP Professional, and editions for specific markets such as Windows XP Starter Edition. By mid 2009, a manufacturer revealed the first Windows XP powered cellular telephone.[9] The NT-based versions of Windows, which are programmed in C, C++, and assembly. are known for their improved stability and efficiency over the 9x versions of Microsoft Windows. Windows XP presents a significantly redesigned graphical user interface, a change Microsoft promoted as more user-friendly than previous versions of Windows. A new software management facility called Sideby-Side Assembly was introduced to ameliorate the "DLL hell" that plagues 9x versions of Windows. It is also the first version of Windows to use product activation to combat illegal copying, a restriction that did not sit well with some users[who?] and privacy advocates[who?]. Windows XP has also been criticized by some users for security vulnerabilities, tight integration of applications such as Internet Explorer 6 and Windows Media Player, and for aspects of its default user

interface. Later versions with Service Pack 2, Service Pack 3, and Internet Explorer 8 addressed some of these concerns. During development, the project was codenamed "Whistler", after Whistler, British Columbia, as many Microsoft employees skied at the WhistlerBlackcomb ski resort. As of the end of August 2010, Windows XP is the most widely used operating system in the world with a 53.1% market share, having peaked at 76.1% in January 2007.

Scope of Future Application

There are a lot of school are there, who are still using Employee’s manual operation and transaction so this project my proved to be more beneficial, effective, efficient and fast for these schools. This project may help them to maintain and update the Employee’s record. As today the number of private or government schools is increasing rapidly and their need to make them computerized leaves a lot scope for this project. This project may help them to perform their operations more quickly and efficiently. This may prove cost effective for them. The increase in the number of employee will continue and grow more and more in the future with the increaser of population and salaries computations. So, this kind of software will provide an automated and user-friendly solution to the employee’s record performed in such institutes. This will not only enhance the speed of working but also enhance the overall efficiency of the institute.

Future plan for this Project •

Make it client and server



Upgrade this program for more option and features



Equip it reliable and efficient for filing, adding and updating Employee’s record

Data Dictionary Database Name: DB1

Field name Data type Description Username Text Stores username Password Text Stores password Figure 4.1 Table Name: tblpass Table Description: holds the username and password of the user.

Field name Data type Size Description Id Autono Stores id number Firstname text Stores first name Lastname Text Stores last name middle_initial Text Stores middle initial contact_number Text Stores contact number email_add Text Stores email address Address Text Stores address Gender Text Stores gender civil_status Text Stores civil status Position Text Stores position Status Text Stores status Pagibig Text Stores pagibig number Gsis Text Stores gsis number Phealth Text Stores phealth number Figure 4.1 Table Name: tblinfo Table Description: holds the information about the employees.

Flowchart and DFD

Figure 5.1Flowchart of Propose System for Automated Payroll System of Trece Martires City National High School

Figure 5.2 Flowchart of Existing System for Automated Payroll System of Trece Martires City National High School

DFD

Figure 6.1 Context Diagram of Existing System of Trece Martires City National High School

Level 1

Figure 6.2 Data Flow Diagram of Existing System of Trece Martires City National High School

Level 2

Figure 6.3 Data Flow Diagram of Existing System of Trece Martires City National High School

Figure 6.4 Data Flow Diagram of Proposed Automated Payroll System of Trece Martires City National High School

Figure 6.5 Propose Data Flow Diagram for Automated Payroll System of Trece Martires City National High School

Figure 6.6 Propose Data Flow Diagram for Automated Payroll System of Trece Martires City National High School

ER Diagram

Figure 7. ER Diagram of Automated Payroll System of Trece Martires City National High School

Screen Shots

Figure 8.1 Form Splash

Figure 8.2 Log–In Form

Figure 8.3 Change Password Form

Figure 8.4 Employee List Form

Figure 8.5 Add New Employee Form

Figure 8.6 Update Employee Form

Figure 8.7 Pay Slip Form

Source Code

Form Splash Dim ctr As Integer Private Sub tmrsplash_Timer() Picture2.Refresh Picture1.Refresh ctr = ctr + 1 Label1.Caption = (ctr) & "%" If ctr > 100 Then Picture2.Width = Picture1.Width ctr = 0 Picture2.Width = Picture1.Width tmrsplash.Enabled = False Unload Me frmlogin.Show Else Picture2.Width = (ctr / 100) * Picture1.Width End If End Sub Pay slip Form Private Sub cmdexit_Click() Dim msg As String msg = MsgBox("Do you really want to exit?", vbOKCancel, "Message") If msg = vbOK Then MDIForm1.Show Unload Me End If End Sub Private Sub cmdslip_Click() 'If Format(Date, "dd") 30 Then 'MsgBox "hindi p swelduhan oi!!!", vbCritical 'Else rptslip.Show 'End If End Sub Private Sub dtg3_DblClick()

cmdslip.Enabled = True With rs .Open "select * from table2 where id = val('" & dtg3.Text & "') or firstname = '" & dtg3.Text & "' or lastname ='" & dtg3.Text & "' or total_days = '" & dtg3.Text & "' or total = '" & dtg3.Text & "' or middle_initial = '" & dtg3.Text & "'", cn lblfname.Caption = rs("firstname") lbllname.Caption = rs("lastname") txtbasic.Text = rs("total") txtbonus.Text = rs("bonus") txtovertime.Text = rs("overtime") txtabsent.Text = rs("deduction") txtpagibig.Text = rs("pagibig") txtphealth.Text = rs("phealth") txtgsis.Text = rs("gsis") txtid.Text = rs("id") .Close txttotaldeduct.Text = Val(txtabsent.Text) + Val(txtpagibig.Text) + Val(txtgsis.Text) + Val(txtphealth.Text) txttotal.Text = Val(txtbasic.Text) + Val(txtbonus.Text) + Val(txtovertime.Text) lbltotal.Caption = Val(txttotal.Text) - Val(txttotaldeduct.Text) End With With rs .Open "select * from table2 where id = val('" & dtg3.Text & "') or firstname = '" & dtg3.Text & "' or lastname ='" & dtg3.Text & "' or total_days = '" & dtg3.Text & "' or total = '" & dtg3.Text & "' or middle_initial = '" & dtg3.Text & "'", cn, adOpenDynamic, adLockOptimistic rs("total_gross") = txttotal.Text rs("total_deduction") = txttotaldeduct.Text rs("overall_total") = lbltotal.Caption .Update .Close End With Call tb3

End Sub Private Sub Form_Load() Call tb3 End Sub

Log –in Form Private Sub cmdadd_Click() frmadduser.Show frmlogin.Hide End Sub Private Sub cmdCancel_Click() Dim msg As String msg = MsgBox("Do you want to exit?", vbOKCancel, "Message") If msg = vbOK Then End End If End Sub Private Sub cmdexit_Click() Unload Me End Sub Private Sub cmdOK_Click() If Combo1.Text = "" Then MsgBox "Please Fill-up all form", vbExclamation, "ERROR" Exit Sub End If If Combo1.Text = "Admin" Then If password.Text = "" Then MsgBox "Please Fill-up all form", vbExclamation, "ERROR" Exit Sub End If With rs If .state = 1 Then .Close .Open "select * FROM table1 WHERE pass = '" & password.Text & "'", cn If rs.EOF = True Then MsgBox "Access Denied", vbCritical, "Error" password.Text = "" password.SetFocus Exit Sub ElseIf password.Text = rs(1) Then MsgBox "Access Granted", vbInformation, "Message" state = "admin" Unload Me MDIForm1.Show .Close End If End With Else If uname.Text = "" Or password.Text = "" Then MsgBox "Please Fill-up all form", vbExclamation, "ERROR" Exit Sub

End If With rs If .state = 1 Then .Close .Open "select * from table1 where username = '" & uname.Text & "' and pass = '" & password.Text & "'", cn If rs.EOF = True Then MsgBox "Access Denied", vbCritical, "Error" uname.Enabled = True uname.Text = "" password.Text = "" uname.SetFocus Exit Sub ElseIf uname.Text = rs(0) And password.Text = rs(1) Then MsgBox "Access Granted", vbInformation, "Message" state = "user" Unload Me MDIForm1.Show .Close End If End With End If End Sub Private Sub Combo1_Click() If Combo1.Text = "Admin" Then uname.Visible = False Label3.Visible = False password.Enabled = True password.Text = "" uname.Text = "" ElseIf Combo1.Text = "Employee" Then uname.Enabled = True uname.Visible = True password.Text = "" password.Enabled = True Label3.Visible = True End If End Sub Private Sub Form_Load() Call connect End Sub

Change Password Form Private Sub cmdadduser_Click() If Text1.Text = "" Or Text2.Text = "" Or Text3.Text = "" Then MsgBox "Please Fill-up all the form", vbCritical, "Error" Else With rs .Open "select * from table1", cn, adOpenDynamic, adLockOptimistic .addnew rs("username") = Text1.Text If Text2.Text = Text3.Text Then rs("pass") = Text2.Text rs("position") = "user" Else MsgBox "Password did not match", vbCritical, "Error" Text1.Text = "" Text2.Text = "" Text3.Text = "" Exit Sub End If .Update .Close End With MsgBox "Account Save", vbInformation, "Message" Text1.Text = "" Text2.Text = "" Text3.Text = "" End If End Sub Private Sub Command1_Click() Form1.Show Form10.Hide End Sub Update Employee Private Sub cbostatus_Click() If cbostatus.Text = "Permanent" Then pagibig.Enabled = True gsis.Enabled = True philhealth.Enabled = True pagibig.Value = 0 gsis.Value = 0

philhealth.Value = 0 End If If cbostatus.Text = "Contractual" Then pagibig.Enabled = False gsis.Enabled = False philhealth.Enabled = False pagibig.Value = 1 gsis.Value = 1 philhealth.Value = 1 End If End Sub Private Sub cmddelete_Click() a = MsgBox("Do you want to delete?", vbYesNo, "Message") If a = vbYes Then With rs .Open "select * from table2 where id = val('" & txtsearch.Text & "')", cn, adOpenDynamic, adLockOptimistic Text1.Text = rs("id") firstname.Text = rs(1) lastname.Text = rs(2) initial.Text = rs(3) cnum.Text = rs(4) email.Text = rs(5) address.Text = rs(6) genderlist.Text = rs(8) statuslist.Text = rs(8) cboposition.Text = rs(9) cbostatus.Text = rs(10) .Delete .Close Call clear Call table End With Else Exit Sub End If End Sub Private Sub cmdexit_Click() Dim msg As String msg = MsgBox("Do you really want to exit?", vbOKCancel, "Message") If msg = vbOK Then

MDIForm1.Show Unload Me End If End Sub Private Sub cmdsearch_Click() Set rs = New ADODB.Recordset With rs .Open "select*from table2 where idnum= val('" & txtsearch.Text & "')", cn, adOpenDynamic, adLockBatchOptimistic If rs.RecordCount = 0 Then Exit Sub If rs.EOF = True Then MsgBox "no record found!" .Close Exit Sub Else firstname.Text = rs("firstname") lastname.Text = rs("lastname") initial.Text = rs("middle_initial") cnum.Text = rs("contact_number") email.Text = rs("email_add") address.Text = rs("address") genderlist.Text = rs("gender") statuslist.Text = rs("civil_status") cboposition.Text = rs("position") cbostatus.Text = rs("status") .Update .Close End If End With End Sub Private Sub cmdupdate_Click() Set rs = New ADODB.Recordset With rs .Open "select*from table2 where idnum= val('" & txtsearch.Text & "')", cn, adOpenDynamic, adLockBatchOptimistic rs("firstname") = firstname.Text rs("lastname") = lastname.Text rs("middle_initial") = initial.Text rs("contact_number") = cnum.Text rs("email_add") = email.Text rs("address") = address.Text rs("gender") = genderlist.Text rs("civil_status") = statuslist.Text rs("position") = cboposition.Text

rs("status") = cbostatus.Text rs("pagibig") = txtpagibig.Text rs("gsis") = txtgsis.Text rs("phealth") = txthealth.Text .Update .Close End With MsgBox "Record Updated!", vbInformation + vbOKOnly, "Update" End Sub Private Sub cnum_KeyPress(KeyAscii As Integer) If Not IsNumeric(Chr(KeyAscii)) And KeyAscii > 8 Then KeyAscii = 28 End Sub Private Sub dtg_DblClick() cmdsave.Enabled = True cmddelete.Enabled = True With rs .Open "select * from table2 where id = val('" & dtg.Text & "') or firstname ='" & dtg.Text & "' or lastname='" & dtg.Text & "' or middle_initial='" & dtg.Text & "'", cn Text1.Text = rs("id") firstname.Text = rs("firstname") lastname.Text = rs("lastname") initial.Text = rs("middle_initial") cnum.Text = rs("contact_number") email.Text = rs("email_add") address.Text = rs("address") genderlist.Text = rs("gender") statuslist.Text = rs("civil_status") cboposition.Text = rs("position") cbostatus.Text = rs("status") cboaid.Text = rs("aid") txttotal.Text = rs("total") txtperday.Text = rs("per_day") txtpagibig.Text = rs("pagibig") txtgsis.Text = rs("gsis") txthealth.Text = rs("phealth") .Close If cbostatus.Text = "Permanent" Then cboaid.Enabled = True pagibig.Enabled = False gsis.Enabled = False philhealth.Enabled = False pagibig.Value = 1 gsis.Value = 1 philhealth.Value = 1

ElseIf cbostatus.Text = "Cashual" Then cboaid.Enabled = False pagibig.Enabled = True gsis.Enabled = True philhealth.Enabled = True If txtpagibig.Text = "0" Then pagibig.Value = 0 Else pagibig.Value = 1 End If If txtgsis.Text = "0" Then gsis.Value = 0 Else gsis.Value = 1 End If If txthealth.Text = "0" Then philhealth.Value = 0 Else philhealth.Value = 1 End If End If End With Call table End Sub Private Sub firstname_KeyPress(KeyAscii As Integer) If IsNumeric(Chr(KeyAscii)) And KeyAscii > 8 Then KeyAscii = 28 End Sub Private Sub Form_Load() Call table End Sub Public Sub clear() firstname.Text = "" lastname.Text = "" initial.Text = "" cnum.Text = "" email.Text = "" address.Text = "" genderlist.Text = "" statuslist.Text = "" cboposition.Text = "ABC Staff" cbostatus.Text = "Cashual" cboaid.Text = "Aid 1"

cboaid.Enabled = False pagibig.Value = "0" gsis.Value = "0" philhealth.Value = "0" txtperday.Text = "195" Text1.Text = "" End Sub Private Sub initial_KeyPress(KeyAscii As Integer) If IsNumeric(Chr(KeyAscii)) And KeyAscii > 8 Then KeyAscii = 28 End Sub Private Sub lastname_KeyPress(KeyAscii As Integer) If IsNumeric(Chr(KeyAscii)) And KeyAscii > 8 Then KeyAscii = 28 End Sub Private Sub pagibig_Click() If cbostatus.Text = "Contractual" Then If pagibig.Value = 1 Then txtpagibig.Text = "500" Else With rs .Open "select pagibig from table3", cn txtpagibig.Text = rs("pagibig") .Close End With End If End If End Sub Private Sub gsis_Click() If gsis.Value = 0 Then txtgsis.Text = "0" Else With rs If rs.state = 0 Then .Open "select gsis from table2", cn txtgsis.Text = rs("gsis") .Close End With End If End Sub Private Sub philhealth_Click() If philhealth.Value = 0 Then txthealth.Text = "0" Else

With rs If rs.state = 0 Then .Open "select philhealth from table2", cn txthealth.Text = rs("philhealth") .Close End With End If End Sub Add New Employee Private Sub addnew_Click() If firstname.Text = "" Or lastname.Text = "" Or initial.Text = "" Or address.Text = "" Or genderlist.Text = "" Or statuslist.Text = "" Then MsgBox "Please fill-up all the blank form", vbCritical, "Error" Exit Sub Else MsgBox "Record Saved", vbInformation, "Saved" If cbostatus.Text = "Permanent" Then With rs .Open "select * from table2", cn, adOpenDynamic, adLockOptimistic .addnew rs("firstname") = firstname.Text rs("lastname") = lastname.Text rs("middle_initial") = initial.Text rs("contact_number") = cnum.Text rs("email_add") = email.Text rs("address") = address.Text rs("gender") = genderlist.Text rs("civil_status") = statuslist.Text rs("position") = cboposition.Text rs("status") = cbostatus.Text rs("aid") = cboaid.Text rs("total") = totalaid1.Text rs("total_days") = 30 rs("pagibig") = txtpagibig.Text rs("gsis") = txtgsis.Text rs("phealth") = txthealth.Text rs("per_day") = aid1day.Text rs("days_absent") = 0 rs("overtime") = 0 rs("bonus") = 0 rs("deduction") = 0

rs("total_gross") = 0 rs("overall_total") = 0 rs("total_deduction") = 0 .Update .Close End With ElseIf cboaid.Text = "Aid 1" And cbostatus.Text = "Cashual" Then With rs .Open "select * from table2", cn, adOpenDynamic, adLockOptimistic .addnew rs("firstname") = firstname.Text rs("lastname") = lastname.Text rs("middle_initial") = initial.Text rs("contact_number") = cnum.Text rs("email_add") = email.Text rs("address") = address.Text rs("gender") = genderlist.Text rs("civil_status") = statuslist.Text rs("position") = cboposition.Text rs("status") = cbostatus.Text rs("aid") = cboaid.Text rs("total") = totalcashual.Text rs("total_days") = 30 rs("pagibig") = txtpagibig.Text rs("gsis") = txtgsis.Text rs("phealth") = txthealth.Text rs("per_day") = cashualday.Text rs("days_absent") = 0 rs("overtime") = 0 rs("bonus") = 0 rs("deduction") = 0 rs("total_gross") = 0 rs("overall_total") = 0 rs("total_deduction") = 0 .Update .Close End With ElseIf cboaid.Text = "Aid 2" Then With rs .Open "select * from table2", cn, adOpenDynamic, adLockOptimistic .addnew rs("firstname") = firstname.Text rs("lastname") = lastname.Text rs("middle_initial") = initial.Text

rs("contact_number") = cnum.Text rs("email_add") = email.Text rs("address") = address.Text rs("gender") = genderlist.Text rs("civil_status") = statuslist.Text rs("position") = cboposition.Text rs("status") = cbostatus.Text rs("aid") = cboaid.Text rs("total") = totalaid2.Text rs("total_days") = 30 rs("pagibig") = txtpagibig.Text rs("gsis") = txtgsis.Text rs("phealth") = txthealth.Text rs("per_day") = aid2day.Text rs("days_absent") = 0 rs("overtime") = 0 rs("bonus") = 0 rs("deduction") = 0 rs("total_gross") = 0 rs("overall_total") = 0 rs("total_deduction") = 0 .Update .Close End With ElseIf cboaid.Text = "Aid 3" Then With rs .Open "select * from table2", cn, adOpenDynamic, adLockOptimistic .addnew rs("firstname") = firstname.Text rs("lastname") = lastname.Text rs("middle_initial") = initial.Text rs("contact_number") = cnum.Text rs("email_add") = email.Text rs("address") = address.Text rs("gender") = genderlist.Text rs("civil_status") = statuslist.Text rs("position") = cboposition.Text rs("status") = cbostatus.Text rs("aid") = cboaid.Text rs("total") = totalaid3.Text rs("total_days") = 30 rs("pagibig") = txtpagibig.Text rs("gsis") = txtgsis.Text rs("phealth") = txthealth.Text rs("per_day") = aid3day.Text rs("days_absent") = 0

rs("overtime") = 0 rs("bonus") = 0 rs("deduction") = 0 rs("total_gross") = 0 rs("overall_total") = 0 rs("total_deduction") = 0 .Update .Close 'Call table End With ElseIf cboaid.Text = "Aid 4" Then With rs .Open "select * from table2", cn, adOpenDynamic, adLockOptimistic .addnew rs("firstname") = firstname.Text rs("lastname") = lastname.Text rs("middle_initial") = initial.Text rs("contact_number") = cnum.Text rs("email_add") = email.Text rs("address") = address.Text rs("gender") = genderlist.Text rs("civil_status") = statuslist.Text rs("position") = cboposition.Text rs("status") = cbostatus.Text rs("aid") = cboaid.Text rs("total") = totalaid4.Text rs("total_days") = 30 rs("pagibig") = txtpagibig.Text rs("gsis") = txtgsis.Text rs("phealth") = txthealth.Text rs("per_day") = aid4day.Text rs("days_absent") = 0 rs("overtime") = 0 rs("bonus") = 0 rs("deduction") = 0 rs("total_gross") = 0 rs("overall_total") = 0 rs("total_deduction") = 0 .Update .Close 'Call table End With ElseIf cboaid.Text = "Aid 5" Then With rs .Open "select * from table2", cn, adOpenDynamic, adLockOptimistic .addnew

rs("firstname") = firstname.Text rs("lastname") = lastname.Text rs("middle_initial") = initial.Text rs("contact_number") = cnum.Text rs("email_add") = email.Text rs("address") = address.Text rs("gender") = genderlist.Text rs("civil_status") = statuslist.Text rs("position") = cboposition.Text rs("status") = cbostatus.Text rs("aid") = cboaid.Text rs("total") = totalaid5.Text rs("total_days") = 30 rs("pagibig") = txtpagibig.Text rs("gsis") = txtgsis.Text rs("phealth") = txthealth.Text rs("per_day") = aid5day.Text rs("days_absent") = 0 rs("overtime") = 0 rs("bonus") = 0 rs("deduction") = 0 rs("total_gross") = 0 rs("overall_total") = 0 rs("total_deduction") = 0 .Update .Close End With End If End If Call clear pagibig.Enabled = True gsis.Enabled = True philhealth.Enabled = True End Sub Private Sub cbostatus_Click() If cbostatus.Text = "Permanent" Then pagibig.Enabled = True gsis.Enabled = True philhealth.Enabled = True End If If cbostatus.Text = "Contractual" Then pagibig.Enabled = False gsis.Enabled = False philhealth.Enabled = False pagibig.Value = 1

gsis.Value = 1 philhealth.Value = 1 End If End Sub Private Sub cmdclear_Click() Call clear End Sub Public Sub clear() firstname.Text = "" lastname.Text = "" initial.Text = "" cnum.Text = "N/A" email.Text = "N/A" address.Text = "" genderlist.Text = "" statuslist.Text = "" cboposition.Text = "ABC Staff" cbostatus.Text = "Cashual" cboaid.Text = "Aid 1" cboaid.Enabled = False pagibig.Value = "0" gsis.Value = "0" philhealth.Value = "0" End Sub Private Sub cmdexit_Click() Dim msg As String msg = MsgBox("Do you really want to exit?", vbOKCancel, "Message") If msg = vbOK Then MDIForm1.Show Unload Me End If End Sub Private Sub cnum_KeyPress(KeyAscii As Integer) If Not IsNumeric(Chr(KeyAscii)) And KeyAscii > 8 Then KeyAscii = 28 End Sub Private Sub firstname_KeyPress(KeyAscii As Integer) If IsNumeric(Chr(KeyAscii)) And KeyAscii > 8 Then KeyAscii = 28 End Sub Private Sub Form_Load()

txtpagibig.Text = "0" txtgsis.Text = "0" txthealth.Text = "0" End Sub Private Sub gsis_Click() If gsis.Value = 0 Then txtgsis.Text = "0" Else With rs .Open "select gsis from table3", cn txtgsis.Text = rs("gsis") .Close End With End If End Sub Private Sub initial_KeyPress(KeyAscii As Integer) If IsNumeric(Chr(KeyAscii)) And KeyAscii > 8 Then KeyAscii = 28 End Sub Private Sub lastname_KeyPress(KeyAscii As Integer) If IsNumeric(Chr(KeyAscii)) And KeyAscii > 8 Then KeyAscii = 28 End Sub Private Sub pagibig_Click() If cbostatus.Text = "Contractual" Then If pagibig.Value = 1 Then txtpagibig.Text = "500" Else With rs .Open "select pagibig from table3", cn txtpagibig.Text = rs("pagibig") .Close End With End If End If End Sub Private Sub philhealth_Click() If philhealth.Value = 0 Then txthealth.Text = "0" Else With rs

.Open "select philhealth from table3", cn txthealth.Text = rs("philhealth") .Close End With End If End Sub Employee List Private Sub Form_Load() Call tb5 End Sub

System, Testing, Implementation and Maintenance

PERFORMANCE TESTING Performance testing can be applied to understand your application or WWW site's scalability, or to benchmark the performance in an environment of third party products such as servers and middleware for potential purchase. This sort of testing is particularly useful to identify performance bottlenecks in high use applications. Performance testing generally involves an automated test suite as this allows easy simulation of a variety of normal, peak, and exceptional load conditions. System Implementation This phase is composed of: •

User Training



Conversion, methods, procedures and controls



System acceptance



System evaluation and performance



System quality control and assurance

Training the user- The activity of training the user is a necessary part of the implementation of a new. Conversion methods, procedures and controls-Once a system is ready and tested, it has implemented. To implement a new system that requires changing from one system to another, conversion is required. Conversion is

the changing of one system to another. It is last step before the new system starts getting used and approving the benefits. System acceptance Acceptance testing of a system is performed to convince the user that the system meets the requirements. Acceptance testing is in the presence of the user representatives, audit representatives, etc. It is not just within the system developmental group. Maintenance The maintenance phase of the system is the phase after implementation and before the system is “terminated” or “related” The maintenance phase of the system is the phase where the system is being run “live” and is actually being used by the users. In this phase, activities are •

Users “use” the system- they enter data, generate reports, run queries, etc.



Support s provided for running the system by designated operations staff for activities like



Scheduling and running bacth jobs



Following require backup procedures



Performing recovery/restart when required



A maintenance team attached to the system handles activities like



Fixing bugs detected

The maintenance plan In order to have a smooth maintenance of a system, maintenance has to be a planned activity. A maintenance plan should contain the following •

Maintenance process



Scope a maintenance work



Sequence of steps to follow for maintenance activities and the data required-including reporting, configuration management, change management, etc.



Resource allocation- hardware. Software platforms, tools



Performance tracking to judge the effectiveness of the maintenance process.

Bibliography

Books: Bunda, Aimeelyn B. and Granados, Neil Arvin V., Management Information System of Information Technology Dept. of CvSU-NC, April 2009 Celso B. Mendoza, Roa Mae P. Dioma, CCF Multi-purpose Cooperative Accounting System, April 2009 Rommel E. Buenaflor, Jimver Zoncne P. Dimapilis, Computerized Identification Card System of CvSU-NC, April 2009

Web Site: http://en.wikipedia.org/wiki/Bonus

Special Notes

Help File dgdgfdgfd User’s Manual dfdgdg

“The

best way to waste your life is by taking notes. The easiest way to avoid

living is to just watch. Look for the details. Report doesn’t participate.” Chuck Palahniuk

“IT makes many things possible but, IT is only education that make things happen” Bill Gates

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF