Version 6.x.x Source

Table Name: `tabEmployee`

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `basic_information` | Section Break |  |
2 | `column_break0` | Column Break |  |
3 | `employee` | Data | Employee |
4 | `naming_series` | Select | Series |
    EMP/
5 | `salutation` | Select | Salutation |
    Mr
    Ms
6 | `employee_name` | Data | Full Name |
7 | `image` | Attach | Image |
8 | `image_view` | Image | Image View |
    image
9 | `column_break1` | Column Break |  |
10 | `user_id` | Link | User ID System User (login) ID. If set, it will become default for all HR forms. | User
11 | `employee_number` | Data | Employee Number |
12 | `date_of_joining` | Date | Date of Joining |
13 | `date_of_birth` | Date | Date of Birth You can enter any date manually |
14 | `gender` | Select | Gender |
    Male
    Female
15 | `company` | Link | Company | Company
16 | `employment_details` | Section Break | Employment Details |
17 | `col_break_21` | Column Break |  |
18 | `status` | Select | Status |
    Active
    Left
19 | `employment_type` | Link | Employment Type | Employment Type
20 | `holiday_list` | Link | Holiday List Applicable Holiday List | Holiday List
21 | `col_break_22` | Column Break |  |
22 | `scheduled_confirmation_date` | Date | Offer Date |
23 | `final_confirmation_date` | Date | Confirmation Date |
24 | `contract_end_date` | Date | Contract End Date |
25 | `date_of_retirement` | Date | Date Of Retirement |
26 | `job_profile` | Section Break | Job Profile |
27 | `column_break2` | Column Break |  |
28 | `branch` | Link | Branch | Branch
29 | `department` | Link | Department | Department
30 | `designation` | Link | Designation | Designation
31 | `company_email` | Data | Company Email Provide email id registered in company |
    Email
32 | `notice_number_of_days` | Int | Notice (days) |
33 | `salary_information` | Column Break | Salary Information |
34 | `salary_mode` | Select | Salary Mode |
    Bank
    Cash
    Cheque
35 | `bank_name` | Data | Bank Name |
36 | `bank_ac_no` | Data | Bank A/C No. |
37 | `organization_profile` | Section Break | Organization Profile |
38 | `reports_to` | Link | Reports to | Employee
39 | `leave_approvers` | Table | Leave Approvers The first Leave Approver in the list will be set as the default Leave Approver | Employee Leave Approver
40 | `contact_details` | Section Break | Contact Details |
41 | `column_break3` | Column Break |  |
42 | `cell_number` | Data | Cell Number |
43 | `personal_email` | Data | Personal Email |
    Email
44 | `unsubscribed` | Check | Unsubscribed |
45 | `emergency_contact_details` | HTML | Emergency Contact Details |
46 | `person_to_be_contacted` | Data | Emergency Contact |
47 | `relation` | Data | Relation |
48 | `emergency_phone_number` | Data | Emergency Phone |
49 | `column_break4` | Column Break |  |
50 | `permanent_accommodation_type` | Select | Permanent Address Is |
    Rented
    Owned
51 | `permanent_address` | Small Text | Permanent Address |
52 | `current_accommodation_type` | Select | Current Address Is |
    Rented
    Owned
53 | `current_address` | Small Text | Current Address |
54 | `sb53` | Section Break |  |
55 | `bio` | Text Editor | Bio Short biography for website and other publications. |
56 | `personal_details` | Section Break | Personal Details |
57 | `column_break5` | Column Break |  |
58 | `passport_number` | Data | Passport Number |
59 | `date_of_issue` | Date | Date of Issue |
60 | `valid_upto` | Date | Valid Upto |
61 | `place_of_issue` | Data | Place of Issue |
62 | `column_break6` | Column Break |  |
63 | `marital_status` | Select | Marital Status |
    Single
    Married
    Divorced
    Widowed
64 | `blood_group` | Select | Blood Group |
    A+
    A-
    B+
    B-
    AB+
    AB-
    O+
    O-
65 | `family_background` | Small Text | Family Background Here you can maintain family details like name and occupation of parent, spouse and children |
66 | `health_details` | Small Text | Health Details Here you can maintain height, weight, allergies, medical concerns etc |
67 | `educational_qualification` | Section Break | Educational Qualification |
68 | `education` | Table | Education | Employee Education
69 | `previous_work_experience` | Section Break | Previous Work Experience |
    Simple
70 | `external_work_history` | Table | External Work History | Employee External Work History
71 | `history_in_company` | Section Break | History In Company |
    Simple
72 | `internal_work_history` | Table | Internal Work History | Employee Internal Work History
73 | `exit` | Section Break | Exit |
74 | `column_break7` | Column Break |  |
75 | `resignation_letter_date` | Date | Resignation Letter Date |
76 | `relieving_date` | Date | Relieving Date |
77 | `reason_for_leaving` | Data | Reason for Leaving |
78 | `leave_encashed` | Select | Leave Encashed? |
    Yes
    No
79 | `encashment_date` | Date | Encashment Date |
80 | `exit_interview_details` | Column Break | Exit Interview Details |
81 | `held_on` | Date | Held On |
82 | `reason_for_resignation` | Select | Reason for Resignation |
    Better Prospects
    Health Concerns
83 | `new_workplace` | Data | New Workplace |
84 | `feedback` | Small Text | Feedback |

### Controller

#### erpnext.hr.doctype.employee.employee

### Class Employee

Inherits from frappe.model.document.Document

autoname (self)

No docs

on_trash (self)

No docs

on_update (self)

No docs

onload (self)

No docs

update_user (self)

No docs

update_user_permissions (self)

No docs

validate (self)

No docs

validate_date (self)

No docs

validate_duplicate_user_id (self)

No docs

validate_email (self)

No docs

validate_employee_leave_approver (self)

No docs

validate_for_enabled_user_id (self)

No docs

validate_reports_to (self)

No docs

validate_status (self)

No docs

### Class EmployeeUserDisabledError

Inherits from frappe.exceptions.ValidationError

erpnext.hr.doctype.employee.employee.get_employees_who_are_born_today ()

Get Employee properties whose birthday is today.

Public API
`/api/method/erpnext.hr.doctype.employee.employee.get_retirement_date`

erpnext.hr.doctype.employee.employee.get_retirement_date (date_of_birth=None)

No docs

Public API
`/api/method/erpnext.hr.doctype.employee.employee.make_salary_structure`

erpnext.hr.doctype.employee.employee.make_salary_structure (source_name, target=None)

No docs

erpnext.hr.doctype.employee.employee.send_birthday_reminders ()

Send Employee birthday reminders if no 'Stop Birthday Reminders' is not set.

erpnext.hr.doctype.employee.employee.update_user_permissions (doc, method)

No docs

erpnext.hr.doctype.employee.employee.validate_employee_role (doc, method)

No docs

#### Linked In:

- Activity Cost
- Appraisal
- Attendance
- Authorization Rule
- Employee
- Expense Claim
- Leave Allocation
- Leave Application
- Salary Slip
- Salary Structure
- Sales Person
- Time Log