{
 "actions": [],
 "allow_import": 1,
 "autoname": "HR-SHA-.YY.-.MM.-.#####",
 "creation": "2018-04-13 16:25:04.562730",
 "doctype": "DocType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "employee",
  "employee_name",
  "shift_type",
  "status",
  "column_break_3",
  "company",
  "start_date",
  "end_date",
  "shift_request",
  "department",
  "amended_from"
 ],
 "fields": [
  {
   "fieldname": "employee",
   "fieldtype": "Link",
   "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
  },
  {
   "fieldname": "shift_type",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Shift Type",
   "options": "Shift Type",
   "reqd": 1
  },
  {
   "fieldname": "column_break_3",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "label": "Company",
   "options": "Company",
   "reqd": 1
  },
  {
   "fieldname": "shift_request",
   "fieldtype": "Link",
   "label": "Shift Request",
   "options": "Shift Request",
   "read_only": 1
  },
  {
   "fieldname": "amended_from",
   "fieldtype": "Link",
   "label": "Amended From",
   "no_copy": 1,
   "options": "Shift Assignment",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "fieldname": "start_date",
   "fieldtype": "Date",
   "in_list_view": 1,
   "label": "Start Date",
   "reqd": 1
  },
  {
   "allow_on_submit": 1,
   "fieldname": "end_date",
   "fieldtype": "Date",
   "label": "End Date",
   "show_days": 1,
   "show_seconds": 1
  },
  {
   "allow_on_submit": 1,
   "default": "Active",
   "fieldname": "status",
   "fieldtype": "Select",
   "label": "Status",
   "options": "Active\nInactive",
   "show_days": 1,
   "show_seconds": 1
  }
 ],
 "is_submittable": 1,
 "links": [],
 "modified": "2020-06-15 14:27:54.310773",
 "modified_by": "Administrator",
 "module": "HR",
 "name": "Shift Assignment",
 "owner": "Administrator",
 "permissions": [
  {
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Employee",
   "share": 1
  },
  {
   "amend": 1,
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "HR Manager",
   "share": 1,
   "submit": 1,
   "write": 1
  },
  {
   "create": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "HR User",
   "share": 1,
   "submit": 1,
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "title_field": "employee_name",
 "track_changes": 1
}