{
 "actions": [],
 "autoname": "naming_series:",
 "creation": "2018-07-09 17:23:29.518745",
 "doctype": "DocType",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "naming_series",
  "work_order",
  "bom_no",
  "column_break_4",
  "posting_date",
  "company",
  "production_section",
  "production_item",
  "item_name",
  "for_quantity",
  "serial_no",
  "column_break_12",
  "wip_warehouse",
  "quality_inspection_template",
  "quality_inspection",
  "project",
  "batch_no",
  "operation_section_section",
  "operation",
  "operation_row_number",
  "column_break_18",
  "workstation_type",
  "workstation",
  "employee",
  "section_break_21",
  "sub_operations",
  "timing_detail",
  "expected_start_date",
  "expected_end_date",
  "time_logs",
  "section_break_13",
  "total_completed_qty",
  "column_break_15",
  "total_time_in_mins",
  "section_break_8",
  "items",
  "scrap_items_section",
  "scrap_items",
  "corrective_operation_section",
  "for_job_card",
  "is_corrective_job_card",
  "column_break_33",
  "hour_rate",
  "for_operation",
  "more_information",
  "operation_id",
  "sequence_id",
  "transferred_qty",
  "requested_qty",
  "status",
  "column_break_20",
  "remarks",
  "barcode",
  "job_started",
  "started_time",
  "current_time",
  "amended_from"
 ],
 "fields": [
  {
   "fieldname": "work_order",
   "fieldtype": "Link",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Work Order",
   "options": "Work Order",
   "reqd": 1,
   "search_index": 1
  },
  {
   "fetch_from": "work_order.bom_no",
   "fieldname": "bom_no",
   "fieldtype": "Link",
   "label": "BOM No",
   "options": "BOM",
   "read_only": 1
  },
  {
   "fieldname": "workstation",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Workstation",
   "options": "Workstation",
   "reqd": 1
  },
  {
   "fieldname": "operation",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Operation",
   "options": "Operation",
   "reqd": 1
  },
  {
   "fieldname": "column_break_4",
   "fieldtype": "Column Break"
  },
  {
   "default": "Today",
   "fieldname": "posting_date",
   "fieldtype": "Date",
   "label": "Posting Date"
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "label": "Company",
   "options": "Company",
   "reqd": 1
  },
  {
   "fieldname": "for_quantity",
   "fieldtype": "Float",
   "in_list_view": 1,
   "label": "Qty To Manufacture"
  },
  {
   "fieldname": "wip_warehouse",
   "fieldtype": "Link",
   "label": "WIP Warehouse",
   "options": "Warehouse",
   "reqd": 1
  },
  {
   "fieldname": "timing_detail",
   "fieldtype": "Section Break",
   "label": "Timing Detail"
  },
  {
   "allow_bulk_edit": 1,
   "fieldname": "time_logs",
   "fieldtype": "Table",
   "label": "Time Logs",
   "options": "Job Card Time Log"
  },
  {
   "fieldname": "section_break_13",
   "fieldtype": "Section Break",
   "hide_border": 1
  },
  {
   "default": "0",
   "fieldname": "total_completed_qty",
   "fieldtype": "Float",
   "label": "Total Completed Qty",
   "read_only": 1
  },
  {
   "fieldname": "column_break_15",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "total_time_in_mins",
   "fieldtype": "Float",
   "label": "Total Time in Mins",
   "read_only": 1
  },
  {
   "fieldname": "section_break_8",
   "fieldtype": "Section Break",
   "label": "Raw Materials"
  },
  {
   "fieldname": "items",
   "fieldtype": "Table",
   "label": "Items",
   "options": "Job Card Item"
  },
  {
   "collapsible": 1,
   "fieldname": "more_information",
   "fieldtype": "Section Break",
   "label": "More Information"
  },
  {
   "fieldname": "operation_id",
   "fieldtype": "Data",
   "hidden": 1,
   "label": "Operation ID",
   "read_only": 1
  },
  {
   "default": "0",
   "fieldname": "transferred_qty",
   "fieldtype": "Float",
   "label": "FG Qty from Transferred Raw Materials",
   "read_only": 1
  },
  {
   "default": "0",
   "fieldname": "requested_qty",
   "fieldtype": "Float",
   "label": "Requested Qty",
   "read_only": 1
  },
  {
   "fieldname": "project",
   "fieldtype": "Link",
   "label": "Project",
   "options": "Project"
  },
  {
   "fieldname": "remarks",
   "fieldtype": "Small Text",
   "label": "Remarks"
  },
  {
   "fieldname": "column_break_20",
   "fieldtype": "Column Break"
  },
  {
   "default": "Open",
   "fieldname": "status",
   "fieldtype": "Select",
   "label": "Status",
   "no_copy": 1,
   "options": "Open\nWork In Progress\nMaterial Transferred\nOn Hold\nSubmitted\nCancelled\nCompleted",
   "read_only": 1
  },
  {
   "default": "0",
   "fieldname": "job_started",
   "fieldtype": "Check",
   "hidden": 1,
   "label": "Job Started",
   "no_copy": 1,
   "print_hide": 1,
   "read_only": 1
  },
  {
   "fieldname": "started_time",
   "fieldtype": "Datetime",
   "hidden": 1,
   "label": "Started Time",
   "no_copy": 1,
   "print_hide": 1,
   "read_only": 1
  },
  {
   "fieldname": "amended_from",
   "fieldtype": "Link",
   "label": "Amended From",
   "no_copy": 1,
   "options": "Job Card",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "default": "PO-JOB.#####",
   "fieldname": "naming_series",
   "fieldtype": "Select",
   "label": "Naming Series",
   "options": "PO-JOB.#####",
   "reqd": 1
  },
  {
   "collapsible": 1,
   "fieldname": "production_section",
   "fieldtype": "Section Break",
   "label": "Production"
  },
  {
   "fieldname": "column_break_12",
   "fieldtype": "Column Break"
  },
  {
   "fetch_from": "work_order.production_item",
   "fieldname": "production_item",
   "fieldtype": "Link",
   "label": "Production Item",
   "options": "Item",
   "read_only": 1
  },
  {
   "fieldname": "barcode",
   "fieldtype": "Barcode",
   "label": "Barcode",
   "read_only": 1
  },
  {
   "fetch_from": "production_item.item_name",
   "fetch_if_empty": 1,
   "fieldname": "item_name",
   "fieldtype": "Read Only",
   "label": "Item Name"
  },
  {
   "fieldname": "current_time",
   "fieldtype": "Int",
   "hidden": 1,
   "label": "Current Time",
   "no_copy": 1,
   "print_hide": 1,
   "read_only": 1
  },
  {
   "fieldname": "operation_row_number",
   "fieldtype": "Select",
   "label": "Operation Row Number"
  },
  {
   "fieldname": "sequence_id",
   "fieldtype": "Int",
   "label": "Sequence Id",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "depends_on": "eval:!doc.__islocal;",
   "fieldname": "quality_inspection",
   "fieldtype": "Link",
   "label": "Quality Inspection",
   "no_copy": 1,
   "options": "Quality Inspection"
  },
  {
   "allow_bulk_edit": 1,
   "fieldname": "sub_operations",
   "fieldtype": "Table",
   "label": "Sub Operations",
   "options": "Job Card Operation",
   "read_only": 1
  },
  {
   "fieldname": "operation_section_section",
   "fieldtype": "Section Break",
   "label": "Operation Section"
  },
  {
   "fieldname": "column_break_18",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "section_break_21",
   "fieldtype": "Section Break",
   "hide_border": 1
  },
  {
   "depends_on": "is_corrective_job_card",
   "fieldname": "hour_rate",
   "fieldtype": "Currency",
   "label": "Hour Rate"
  },
  {
   "collapsible": 1,
   "depends_on": "is_corrective_job_card",
   "fieldname": "corrective_operation_section",
   "fieldtype": "Section Break",
   "label": "Corrective Operation"
  },
  {
   "default": "0",
   "fieldname": "is_corrective_job_card",
   "fieldtype": "Check",
   "label": "Is Corrective Job Card",
   "read_only": 1
  },
  {
   "fieldname": "column_break_33",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "for_job_card",
   "fieldtype": "Link",
   "label": "For Job Card",
   "options": "Job Card",
   "read_only": 1
  },
  {
   "fetch_from": "for_job_card.operation",
   "fetch_if_empty": 1,
   "fieldname": "for_operation",
   "fieldtype": "Link",
   "label": "For Operation",
   "options": "Operation"
  },
  {
   "fieldname": "employee",
   "fieldtype": "Table MultiSelect",
   "label": "Employee",
   "options": "Job Card Time Log"
  },
  {
   "fieldname": "serial_no",
   "fieldtype": "Small Text",
   "label": "Serial No"
  },
  {
   "fieldname": "batch_no",
   "fieldtype": "Link",
   "label": "Batch No",
   "options": "Batch"
  },
  {
   "collapsible": 1,
   "fieldname": "scrap_items_section",
   "fieldtype": "Section Break",
   "label": "Scrap Items"
  },
  {
   "fieldname": "scrap_items",
   "fieldtype": "Table",
   "label": "Scrap Items",
   "no_copy": 1,
   "options": "Job Card Scrap Item",
   "print_hide": 1
  },
  {
   "fetch_from": "operation.quality_inspection_template",
   "fieldname": "quality_inspection_template",
   "fieldtype": "Link",
   "label": "Quality Inspection Template",
   "options": "Quality Inspection Template"
  },
  {
   "fieldname": "workstation_type",
   "fieldtype": "Link",
   "label": "Workstation Type",
   "options": "Workstation Type"
  },
  {
   "fieldname": "expected_start_date",
   "fieldtype": "Datetime",
   "label": "Expected Start Date"
  },
  {
   "fieldname": "expected_end_date",
   "fieldtype": "Datetime",
   "label": "Expected End Date"
  }
 ],
 "is_submittable": 1,
 "links": [],
 "modified": "2022-11-09 15:02:44.490731",
 "modified_by": "Administrator",
 "module": "Manufacturing",
 "name": "Job Card",
 "naming_rule": "By \"Naming Series\" field",
 "owner": "Administrator",
 "permissions": [
  {
   "amend": 1,
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "System Manager",
   "share": 1,
   "submit": 1,
   "write": 1
  },
  {
   "amend": 1,
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Manufacturing User",
   "share": 1,
   "submit": 1,
   "write": 1
  },
  {
   "amend": 1,
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Manufacturing Manager",
   "share": 1,
   "submit": 1,
   "write": 1
  }
 ],
 "sort_field": "modified",
 "sort_order": "DESC",
 "states": [],
 "title_field": "operation",
 "track_changes": 1
}