Hi guys i want to make database for payroll only but i don't know how to make structure for this
suppose i want to calculate payroll every month for employees as following
salary = basic salary +bonus+overtime-absence-deduction
How i make database (ERD)Diagram for this
Meaning tables i need and relations
My recommendation is that you shouldn't actually spend any time doing this because you're going to miss a whole lot of stuff.
I see nothing in here to handle 1099 employees.
I see nothing in here to handle taxes right down to the city level.
And if you do write one, the testing will take a whole lot longer than you could ever imagine.
My bottom line recommendation is to use some form of 3rd party software that is well established and very well proven. If you want control over the software, the buy "Quick Books", will also allow for imports and exports if needed. If you don't care about absolute control, the sign up for a Web Service that will do it.
Payroll is one of the most difficult things there is to get right. Considering that you're asking how to design the database, I'll suggest that you're not going to get it right. Buy a 3rd party solution.
is pronounced ree-bar and is a Modenism for R
First step towards the paradigm shift of writing Set Based code: Stop thinking about what you want to do to a row... think, instead, of what you want to do to a column.
If you think its expensive to hire a professional to do the job, wait until you hire an amateur. -- Red Adair
How to post code problemsHow to post performance problemsForum FAQs