{
 "actions": [],
 "allow_rename": 1,
 "autoname": "naming_series:",
 "creation": "2021-12-05 13:56:36.241690",
 "doctype": "DocType",
 "editable_grid": 1,
 "email_append_to": 1,
 "engine": "InnoDB",
 "field_order": [
  "naming_series",
  "employee",
  "employee_name",
  "email",
  "column_break_5",
  "company",
  "status",
  "date",
  "employee_details_section",
  "department",
  "designation",
  "reports_to",
  "column_break_9",
  "date_of_joining",
  "relieving_date",
  "exit_questionnaire_section",
  "ref_doctype",
  "questionnaire_email_sent",
  "column_break_10",
  "reference_document_name",
  "interview_summary_section",
  "interviewers",
  "interview_summary",
  "employee_status_section",
  "employee_status",
  "amended_from"
 ],
 "fields": [
  {
   "fieldname": "employee",
   "fieldtype": "Link",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Employee",
   "options": "Employee",
   "reqd": 1
  },
  {
   "fetch_from": "employee.employee_name",
   "fieldname": "employee_name",
   "fieldtype": "Data",
   "label": "Employee Name",
   "read_only": 1
  },
  {
   "fetch_from": "employee.department",
   "fieldname": "department",
   "fieldtype": "Link",
   "label": "Department",
   "options": "Department",
   "read_only": 1
  },
  {
   "fetch_from": "employee.relieving_date",
   "fieldname": "relieving_date",
   "fieldtype": "Date",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Relieving Date",
   "read_only": 1
  },
  {
   "fieldname": "column_break_5",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "in_standard_filter": 1,
   "label": "Company",
   "options": "Company",
   "reqd": 1
  },
  {
   "fieldname": "date",
   "fieldtype": "Date",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Date",
   "mandatory_depends_on": "eval:doc.status==='Scheduled';"
  },
  {
   "fieldname": "exit_questionnaire_section",
   "fieldtype": "Section Break",
   "label": "Exit Questionnaire"
  },
  {
   "fieldname": "ref_doctype",
   "fieldtype": "Link",
   "label": "Reference Document Type",
   "options": "DocType"
  },
  {
   "fieldname": "reference_document_name",
   "fieldtype": "Dynamic Link",
   "in_list_view": 1,
   "label": "Reference Document Name",
   "options": "ref_doctype"
  },
  {
   "fieldname": "interview_summary_section",
   "fieldtype": "Section Break",
   "label": "Interview Details"
  },
  {
   "fieldname": "column_break_10",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "interviewers",
   "fieldtype": "Table MultiSelect",
   "label": "Interviewers",
   "mandatory_depends_on": "eval:doc.status==='Scheduled';",
   "options": "Interviewer"
  },
  {
   "fetch_from": "employee.date_of_joining",
   "fieldname": "date_of_joining",
   "fieldtype": "Date",
   "label": "Date of Joining",
   "read_only": 1
  },
  {
   "fetch_from": "employee.reports_to",
   "fieldname": "reports_to",
   "fieldtype": "Link",
   "in_standard_filter": 1,
   "label": "Reports To",
   "options": "Employee",
   "read_only": 1
  },
  {
   "fieldname": "employee_details_section",
   "fieldtype": "Section Break",
   "label": "Employee Details"
  },
  {
   "fetch_from": "employee.designation",
   "fieldname": "designation",
   "fieldtype": "Link",
   "label": "Designation",
   "options": "Designation",
   "read_only": 1
  },
  {
   "fieldname": "column_break_9",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "naming_series",
   "fieldtype": "Select",
   "label": "Naming Series",
   "options": "HR-EXIT-INT-"
  },
  {
   "default": "0",
   "fieldname": "questionnaire_email_sent",
   "fieldtype": "Check",
   "in_standard_filter": 1,
   "label": "Questionnaire Email Sent",
   "no_copy": 1,
   "read_only": 1
  },
  {
   "fieldname": "email",
   "fieldtype": "Data",
   "label": "Email ID",
   "options": "Email",
   "read_only": 1
  },
  {
   "fieldname": "status",
   "fieldtype": "Select",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Status",
   "options": "Pending\nScheduled\nCompleted\nCancelled",
   "reqd": 1
  },
  {
   "fieldname": "employee_status_section",
   "fieldtype": "Section Break"
  },
  {
   "fieldname": "employee_status",
   "fieldtype": "Select",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Final Decision",
   "mandatory_depends_on": "eval:doc.status==='Completed';",
   "options": "\nEmployee Retained\nExit Confirmed"
  },
  {
   "fieldname": "amended_from",
   "fieldtype": "Link",
   "label": "Amended From",
   "no_copy": 1,
   "options": "Exit Interview",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "fieldname": "interview_summary",
   "fieldtype": "Text Editor",
   "label": "Interview Summary"
  }
 ],
 "index_web_pages_for_search": 1,
 "is_submittable": 1,
 "links": [],
 "modified": "2021-12-07 23:39:22.645401",
 "modified_by": "Administrator",
 "module": "HR",
 "name": "Exit Interview",
 "naming_rule": "By \"Naming Series\" field",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  }
 ],
 "sender_field": "email",
 "sort_field": "modified",
 "sort_order": "DESC",
 "title_field": "employee_name",
 "track_changes": 1
}