SlideShare una empresa de Scribd logo
1 de 6
Produce an E-R diagram, which documents the entities and relationships
involved in the Employee information and Payroll system. Create a relational schema to
held information and perform normalization to the tables and fully implement the code
using MS-Acess/FOXPRO/DBASE/ or any similar package. Provide necessary
documentation for the project.

Note: Assumptions can be made where ever necessary.

Introduction

          Pay is the key to work. It is very important from the organization’s as well as
employee’s prints of view. It is with this system an organization maintains its good will
among its employees. This important calculation cannot be error-prone or mistimed. So,
matter of importance. Computerization of the systems does this to a large extent. This
prime aim calls for the Computerized Employee Payroll System.

E-R Diagram

         Without understanding the relationship between an employee with his
organization we cannot build the payroll system. The below E-R Diagram illustrates the
relationship between an employee and an organization, only then we would be able to
design the process that needs to be computerized to build the system.


The diagram documents the entities and relationships involved in the employee
information and payroll system. It depicts the fundamental relations like recording
personnel information, paying salary and getting a loan.

The E-R Diagram for a Employee Payroll system can be simple as well as complex

It can be as simple as below:

Or it can be more complex then above:

Or It can much more complex then above




Implementation

           The system is thoroughly atomized using FoxPro 6.0. The reason why we
chose this package is that FoxPro 6.0 is the object-oriented database management system
that allows you to create state-of-the-art enterprise database solutions.
Besides being a member of the Visual Studio 6.0 family of development products,
FoxPro provides all the tools you need
to manage data, whether you are organizing tables of information and running queries,
creating an integrated relational
database system, or programming a fully-developed data management application for end
users.

Process

As described in the E-R Diagram, presently, the below listed processes will be taken care
by our product.

Maintaining Employee Personal Data:

Through this process, the HR personnel will be able to add, modify or delete an
employee’s personal data in the system.
 Addition of data occurs when any employee joins the organization. When an employee
gets promoted or transferred between departments, his records will be updated and an
employee record will be deleted when he resigns from the company.
When an employee’s record is modified or deleted, a copy of the record will be updated
to Personnel Archive file for future reference. So At any point of time the Employee data
base reflect the current data.


Process:

Addition of new employee detail.
Modification of existing employee detail.
Deletion of resigned Employee detail

Tables: Employee.dbf, Employee_archive.dbf

Preparing Employee Pay-slip and recording salary paid

Each month the employee’s will gets his salary through electronic fund transfer from the
company. So a pay slip will be presented to each employee for his reference/record of
salary, Besides, every month the accounts department will be provided with salary report
for the current month to credit account of the respective employee. If the employee has to
pay a loan due, it wil l be reduced from his salary and properly credited to his loan
account.

Process: Generation of pay slips and salary report.

Tables: Employee.dbf, Salary.dbf, Allowances.dbf and Loan.dbf.

Sanctioning Loan to an Employee and Recouping it
An employee can claim a loan from the company during his service period. If
management sanctions loan, the employee’s loan account will be debited with the total
amount sanctioned. The installments amount will be fixed subjectively by the
Accounts Manager. This installment amount will be credited to an employee’s loan
account every month after properly deductiing from his salary. An employee will be
allowed to take up a only one loan at a time.


Process: Sanctioning Loan and Collecting Installments

Tables: Loan.dbf, Salary.dbf, Employee.dbf.


Data Dictionary

Table : Employee
Data Type Descriptin
EID NUMBER Employee Identification Number
ENAME TEXT Name of the employee
EADDR TEXT Address of the Employee
EDOB DATE Employee’s date of birth
EDOJ DATE Employee’s date of joining the company
EDEPT TEXT Employee’s current department
EGRADE NUMBER Level of authority
ETITLE TEXT Designation Occupied
EBASIC NUMBER Basic Pay
EQUALIF TEXT Academic Qualification


Table: Employee Archive
Data Type Description
EID NUMBER Empoyee Identification Number
ENAME TEXT Name of the employee
EADDR TEXT Address of the Employee
EDOB DATE Employee’s data of birth
EDOJ DATE Employee’s date of joining the Company
EDEPT TEXT Employee’s current department
EGRADE NUMBER Level of authority
ETITLE TEXT Designation Occupied
EBASIC NUMBER Basic pay
EQUALIF TEXT Academic Qualification
UPDATED DATE Updated date


Table: Salary
Data Type Description
EID NUMBER Empoyee Identification Number
EDEPT TEXT Department attached to
EGRADE NUMBER Level of authority
ETITLE TEXT Designation of Employee
EBASIC NUMBER Basic payment
DA NUMBER Dear ness allowance percent
HRA NUMBER House rent allowance percent
DEDUCT NUMBER Deductions if any
LOANCODE NUMBER Loan code if deduction made
MONTH NUMBER Month of payment
YEAR NUMBER Year of payment


Table : Allowance
Date Type Description
GRADE NUMBER Level of authority
DA NUMBER Dear ness allowance percent
HRA NUMBER House rent allowance percent


Table : Loan Transaction
Date Type Description
LOANCODE NUMBER Loan code if deduction made
EID NUMBER Employee Identification Number
STDATE DATE Loan sanction date
LOANAMT NUMBER Amount sanctioned
PAIDAMT NUMBER1 Amount paid by employee
DEDUCT NUMBER Deductible amound


Table : Loan Transaction
Date Type Description
LOANCODE NUMBER Loan code if deduction made
EID NUMBER Employee Identification Number
STDATE DATE Loan sanction date
LOANAMT NUMBER Amount sanctioned
DEDUCT NUMBER Deductible amount
EDDATE DATE Loan fully repaid date




Contributed by Malisetty Siva Sankar

The Employee information and Payroll system. (FoxPro fullsource)
Program 1: Main.Prg
Purpose : Displays main menu with various actions for the user the work with the
database.
Code Begin:

SET ECHO OFF
SET CENTURY ON
SET CONF ON
CHOICE-1
DO WHILE CHOICE!=0
CLEAR
@1,8 TO 15,64
@2,25 SAY ‘MAIN MENU’
@4.20 SAY ‘1 EMPLOYEE JOINS’
@5.20 SAY ‘2 EMPLOYEE CHANCES’
@6,20 SAY ‘3. BROWSE EMPLOYEE’
@7.20 SAY ‘4. EMPLOYEE RESIGNS’
@8,20 SAY ‘5. PRINT PAYSLIP’
@9,20 SAY ‘6. SALARY REPORT’
@10,20 SAY ‘7. SANCTION LOAN ’
@11,20 SAY ‘8. LOAN REPORT ’
@12,20 SAY ‘9. LOAN ARCHIVE’
@13,20 SAY ’0 GET ME OUT’
@15,20 SAY ‘ CHOICE ‘ GET CHOICE
READ
DO CASE
CASE CHOICE=1
DO EADD
CASE CHOICE=2
DO ECHANCE
CASE CHOICE=3
DO EABOUT
CASE CHOICE=4
DO EDELETE
CASE CHOICE=5
DO PAYSLIP
CASE CHOICE=6
USE SALARY
BROW
CASE CHOICE=7
DO LOANDADD
CASE CHOICE=8
USE LOAN
BROW
CLOSE DATABASE
CASE CHOICE=9
USE LOANMASTER
BROW
CLOSE DATABASE
ENDCASE
ENDO

OUTPUT:

MAIN MENU OF PAYROLL SYSTEM



CLOSE DATA BASES
ENDCASE
ENDDO

OUTPUT:

MAIN MENU OF PAYROLL SYSTEM

Más contenido relacionado

Similar a Db

Anvica Payroll Management
Anvica Payroll ManagementAnvica Payroll Management
Anvica Payroll ManagementVijay Nilevar
 
IS320 Database Applications.docx
IS320 Database Applications.docxIS320 Database Applications.docx
IS320 Database Applications.docxstirlingvwriters
 
FEASIBILITY ANALYSIS.pptx
FEASIBILITY ANALYSIS.pptxFEASIBILITY ANALYSIS.pptx
FEASIBILITY ANALYSIS.pptxOkianWarner
 
Capstone New Century Wellness Group Task Financial.pdf
Capstone New Century Wellness Group Task Financial.pdfCapstone New Century Wellness Group Task Financial.pdf
Capstone New Century Wellness Group Task Financial.pdfstudywriters
 
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptx
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptxPPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptx
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptxSuraj857568
 
What’s New in HR Analytics from 7.9.6.4 to 11.1.1.x and What You Need to Know
What’s New in HR Analytics from 7.9.6.4 to 11.1.1.x and What You Need to KnowWhat’s New in HR Analytics from 7.9.6.4 to 11.1.1.x and What You Need to Know
What’s New in HR Analytics from 7.9.6.4 to 11.1.1.x and What You Need to KnowEmtec Inc.
 
GTM's Evolution Demo
GTM's Evolution DemoGTM's Evolution Demo
GTM's Evolution DemoGTMmarketing
 
Emsphere Web based - Payroll Management Solution
Emsphere Web based - Payroll Management Solution Emsphere Web based - Payroll Management Solution
Emsphere Web based - Payroll Management Solution RITESH HELONDE
 
Introduction on Workday Payroll Management System and Software Solutions
Introduction on Workday Payroll Management System and Software SolutionsIntroduction on Workday Payroll Management System and Software Solutions
Introduction on Workday Payroll Management System and Software SolutionsERP Cloud Training
 
Payroll Management System Complete Report
Payroll Management System Complete ReportPayroll Management System Complete Report
Payroll Management System Complete ReportSavio Aberneithie
 
Implement Fingerprint authentication for employee automation system
Implement Fingerprint authentication for employee automation systemImplement Fingerprint authentication for employee automation system
Implement Fingerprint authentication for employee automation systemTanjarul Islam Mishu
 

Similar a Db (20)

Anvica Payroll Management
Anvica Payroll ManagementAnvica Payroll Management
Anvica Payroll Management
 
HR and Payroll Management System - Web Based
HR and Payroll Management System - Web Based HR and Payroll Management System - Web Based
HR and Payroll Management System - Web Based
 
IS320 Database Applications.docx
IS320 Database Applications.docxIS320 Database Applications.docx
IS320 Database Applications.docx
 
FEASIBILITY ANALYSIS.pptx
FEASIBILITY ANALYSIS.pptxFEASIBILITY ANALYSIS.pptx
FEASIBILITY ANALYSIS.pptx
 
Salesforce crm projects
Salesforce crm projects Salesforce crm projects
Salesforce crm projects
 
Capstone New Century Wellness Group Task Financial.pdf
Capstone New Century Wellness Group Task Financial.pdfCapstone New Century Wellness Group Task Financial.pdf
Capstone New Century Wellness Group Task Financial.pdf
 
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptx
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptxPPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptx
PPPPPPPAYROLL_MANAGEMENT_SYSTEM_BOO.pptx
 
What’s New in HR Analytics from 7.9.6.4 to 11.1.1.x and What You Need to Know
What’s New in HR Analytics from 7.9.6.4 to 11.1.1.x and What You Need to KnowWhat’s New in HR Analytics from 7.9.6.4 to 11.1.1.x and What You Need to Know
What’s New in HR Analytics from 7.9.6.4 to 11.1.1.x and What You Need to Know
 
EPF E Return FAQ
EPF E Return FAQEPF E Return FAQ
EPF E Return FAQ
 
HR Payroll solution
HR Payroll solutionHR Payroll solution
HR Payroll solution
 
Na payroll
Na payrollNa payroll
Na payroll
 
R12 MOAC AND PAYABLES
R12 MOAC AND PAYABLESR12 MOAC AND PAYABLES
R12 MOAC AND PAYABLES
 
GTM's Evolution Demo
GTM's Evolution DemoGTM's Evolution Demo
GTM's Evolution Demo
 
Emsphere Web based - Payroll Management Solution
Emsphere Web based - Payroll Management Solution Emsphere Web based - Payroll Management Solution
Emsphere Web based - Payroll Management Solution
 
Manager HR Payroll tour
Manager HR Payroll tourManager HR Payroll tour
Manager HR Payroll tour
 
Manager hr payroll_tour
Manager hr payroll_tourManager hr payroll_tour
Manager hr payroll_tour
 
Introduction on Workday Payroll Management System and Software Solutions
Introduction on Workday Payroll Management System and Software SolutionsIntroduction on Workday Payroll Management System and Software Solutions
Introduction on Workday Payroll Management System and Software Solutions
 
Hamida ali al shabani
Hamida ali al shabaniHamida ali al shabani
Hamida ali al shabani
 
Payroll Management System Complete Report
Payroll Management System Complete ReportPayroll Management System Complete Report
Payroll Management System Complete Report
 
Implement Fingerprint authentication for employee automation system
Implement Fingerprint authentication for employee automation systemImplement Fingerprint authentication for employee automation system
Implement Fingerprint authentication for employee automation system
 

Último

Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxWorkforce Group
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noidadlhescort
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...lizamodels9
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataExhibitors Data
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...daisycvs
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableSeo
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentationuneakwhite
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1kcpayne
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLSeo
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...lizamodels9
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...amitlee9823
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876dlhescort
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfAdmir Softic
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Centuryrwgiffor
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...lizamodels9
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 

Último (20)

Cracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptxCracking the Cultural Competence Code.pptx
Cracking the Cultural Competence Code.pptx
 
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service NoidaCall Girls In Noida 959961⊹3876 Independent Escort Service Noida
Call Girls In Noida 959961⊹3876 Independent Escort Service Noida
 
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabiunwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
unwanted pregnancy Kit [+918133066128] Abortion Pills IN Dubai UAE Abudhabi
 
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
Russian Call Girls In Gurgaon ❤️8448577510 ⊹Best Escorts Service In 24/7 Delh...
 
Falcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in indiaFalcon Invoice Discounting platform in india
Falcon Invoice Discounting platform in india
 
RSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors DataRSA Conference Exhibitor List 2024 - Exhibitors Data
RSA Conference Exhibitor List 2024 - Exhibitors Data
 
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
Quick Doctor In Kuwait +2773`7758`557 Kuwait Doha Qatar Dubai Abu Dhabi Sharj...
 
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service AvailableCall Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
Call Girls Ludhiana Just Call 98765-12871 Top Class Call Girl Service Available
 
Uneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration PresentationUneak White's Personal Brand Exploration Presentation
Uneak White's Personal Brand Exploration Presentation
 
Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1Katrina Personal Brand Project and portfolio 1
Katrina Personal Brand Project and portfolio 1
 
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRLMONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
MONA 98765-12871 CALL GIRLS IN LUDHIANA LUDHIANA CALL GIRL
 
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
(Anamika) VIP Call Girls Napur Call Now 8617697112 Napur Escorts 24x7
 
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
Call Girls From Pari Chowk Greater Noida ❤️8448577510 ⊹Best Escorts Service I...
 
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
Call Girls Electronic City Just Call 👗 7737669865 👗 Top Class Call Girl Servi...
 
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
Call Girls in Delhi, Escort Service Available 24x7 in Delhi 959961-/-3876
 
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdfDr. Admir Softic_ presentation_Green Club_ENG.pdf
Dr. Admir Softic_ presentation_Green Club_ENG.pdf
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
Call Girls In DLf Gurgaon ➥99902@11544 ( Best price)100% Genuine Escort In 24...
 
Falcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investorsFalcon Invoice Discounting: The best investment platform in india for investors
Falcon Invoice Discounting: The best investment platform in india for investors
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 

Db

  • 1. Produce an E-R diagram, which documents the entities and relationships involved in the Employee information and Payroll system. Create a relational schema to held information and perform normalization to the tables and fully implement the code using MS-Acess/FOXPRO/DBASE/ or any similar package. Provide necessary documentation for the project. Note: Assumptions can be made where ever necessary. Introduction Pay is the key to work. It is very important from the organization’s as well as employee’s prints of view. It is with this system an organization maintains its good will among its employees. This important calculation cannot be error-prone or mistimed. So, matter of importance. Computerization of the systems does this to a large extent. This prime aim calls for the Computerized Employee Payroll System. E-R Diagram Without understanding the relationship between an employee with his organization we cannot build the payroll system. The below E-R Diagram illustrates the relationship between an employee and an organization, only then we would be able to design the process that needs to be computerized to build the system. The diagram documents the entities and relationships involved in the employee information and payroll system. It depicts the fundamental relations like recording personnel information, paying salary and getting a loan. The E-R Diagram for a Employee Payroll system can be simple as well as complex It can be as simple as below: Or it can be more complex then above: Or It can much more complex then above Implementation The system is thoroughly atomized using FoxPro 6.0. The reason why we chose this package is that FoxPro 6.0 is the object-oriented database management system that allows you to create state-of-the-art enterprise database solutions.
  • 2. Besides being a member of the Visual Studio 6.0 family of development products, FoxPro provides all the tools you need to manage data, whether you are organizing tables of information and running queries, creating an integrated relational database system, or programming a fully-developed data management application for end users. Process As described in the E-R Diagram, presently, the below listed processes will be taken care by our product. Maintaining Employee Personal Data: Through this process, the HR personnel will be able to add, modify or delete an employee’s personal data in the system. Addition of data occurs when any employee joins the organization. When an employee gets promoted or transferred between departments, his records will be updated and an employee record will be deleted when he resigns from the company. When an employee’s record is modified or deleted, a copy of the record will be updated to Personnel Archive file for future reference. So At any point of time the Employee data base reflect the current data. Process: Addition of new employee detail. Modification of existing employee detail. Deletion of resigned Employee detail Tables: Employee.dbf, Employee_archive.dbf Preparing Employee Pay-slip and recording salary paid Each month the employee’s will gets his salary through electronic fund transfer from the company. So a pay slip will be presented to each employee for his reference/record of salary, Besides, every month the accounts department will be provided with salary report for the current month to credit account of the respective employee. If the employee has to pay a loan due, it wil l be reduced from his salary and properly credited to his loan account. Process: Generation of pay slips and salary report. Tables: Employee.dbf, Salary.dbf, Allowances.dbf and Loan.dbf. Sanctioning Loan to an Employee and Recouping it
  • 3. An employee can claim a loan from the company during his service period. If management sanctions loan, the employee’s loan account will be debited with the total amount sanctioned. The installments amount will be fixed subjectively by the Accounts Manager. This installment amount will be credited to an employee’s loan account every month after properly deductiing from his salary. An employee will be allowed to take up a only one loan at a time. Process: Sanctioning Loan and Collecting Installments Tables: Loan.dbf, Salary.dbf, Employee.dbf. Data Dictionary Table : Employee Data Type Descriptin EID NUMBER Employee Identification Number ENAME TEXT Name of the employee EADDR TEXT Address of the Employee EDOB DATE Employee’s date of birth EDOJ DATE Employee’s date of joining the company EDEPT TEXT Employee’s current department EGRADE NUMBER Level of authority ETITLE TEXT Designation Occupied EBASIC NUMBER Basic Pay EQUALIF TEXT Academic Qualification Table: Employee Archive Data Type Description EID NUMBER Empoyee Identification Number ENAME TEXT Name of the employee EADDR TEXT Address of the Employee EDOB DATE Employee’s data of birth EDOJ DATE Employee’s date of joining the Company EDEPT TEXT Employee’s current department EGRADE NUMBER Level of authority ETITLE TEXT Designation Occupied EBASIC NUMBER Basic pay EQUALIF TEXT Academic Qualification UPDATED DATE Updated date Table: Salary Data Type Description
  • 4. EID NUMBER Empoyee Identification Number EDEPT TEXT Department attached to EGRADE NUMBER Level of authority ETITLE TEXT Designation of Employee EBASIC NUMBER Basic payment DA NUMBER Dear ness allowance percent HRA NUMBER House rent allowance percent DEDUCT NUMBER Deductions if any LOANCODE NUMBER Loan code if deduction made MONTH NUMBER Month of payment YEAR NUMBER Year of payment Table : Allowance Date Type Description GRADE NUMBER Level of authority DA NUMBER Dear ness allowance percent HRA NUMBER House rent allowance percent Table : Loan Transaction Date Type Description LOANCODE NUMBER Loan code if deduction made EID NUMBER Employee Identification Number STDATE DATE Loan sanction date LOANAMT NUMBER Amount sanctioned PAIDAMT NUMBER1 Amount paid by employee DEDUCT NUMBER Deductible amound Table : Loan Transaction Date Type Description LOANCODE NUMBER Loan code if deduction made EID NUMBER Employee Identification Number STDATE DATE Loan sanction date LOANAMT NUMBER Amount sanctioned DEDUCT NUMBER Deductible amount EDDATE DATE Loan fully repaid date Contributed by Malisetty Siva Sankar The Employee information and Payroll system. (FoxPro fullsource)
  • 5. Program 1: Main.Prg Purpose : Displays main menu with various actions for the user the work with the database. Code Begin: SET ECHO OFF SET CENTURY ON SET CONF ON CHOICE-1 DO WHILE CHOICE!=0 CLEAR @1,8 TO 15,64 @2,25 SAY ‘MAIN MENU’ @4.20 SAY ‘1 EMPLOYEE JOINS’ @5.20 SAY ‘2 EMPLOYEE CHANCES’ @6,20 SAY ‘3. BROWSE EMPLOYEE’ @7.20 SAY ‘4. EMPLOYEE RESIGNS’ @8,20 SAY ‘5. PRINT PAYSLIP’ @9,20 SAY ‘6. SALARY REPORT’ @10,20 SAY ‘7. SANCTION LOAN ’ @11,20 SAY ‘8. LOAN REPORT ’ @12,20 SAY ‘9. LOAN ARCHIVE’ @13,20 SAY ’0 GET ME OUT’ @15,20 SAY ‘ CHOICE ‘ GET CHOICE READ DO CASE CASE CHOICE=1 DO EADD CASE CHOICE=2 DO ECHANCE CASE CHOICE=3 DO EABOUT CASE CHOICE=4 DO EDELETE CASE CHOICE=5 DO PAYSLIP CASE CHOICE=6 USE SALARY BROW CASE CHOICE=7 DO LOANDADD CASE CHOICE=8 USE LOAN BROW CLOSE DATABASE CASE CHOICE=9
  • 6. USE LOANMASTER BROW CLOSE DATABASE ENDCASE ENDO OUTPUT: MAIN MENU OF PAYROLL SYSTEM CLOSE DATA BASES ENDCASE ENDDO OUTPUT: MAIN MENU OF PAYROLL SYSTEM