{
 "allow_copy": 0, 
 "allow_import": 1, 
 "allow_rename": 0, 
 "autoname": "naming_series:", 
 "creation": "2013-04-09 11:43:55", 
 "docstatus": 0, 
 "doctype": "DocType", 
 "fields": [
  {
   "fieldname": "items_section", 
   "fieldtype": "Section Break", 
   "label": "", 
   "oldfieldtype": "Section Break", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "fieldname": "col1", 
   "fieldtype": "Column Break", 
   "oldfieldtype": "Column Break", 
   "permlevel": 0, 
   "print_width": "50%", 
   "read_only": 0, 
   "width": "50%"
  }, 
  {
   "allow_on_submit": 0, 
   "fieldname": "naming_series", 
   "fieldtype": "Select", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Series", 
   "no_copy": 1, 
   "oldfieldname": "naming_series", 
   "oldfieldtype": "Select", 
   "options": "STE-", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 1, 
   "search_index": 0
  }, 
  {
   "allow_on_submit": 0, 
   "default": "Material Issue", 
   "fieldname": "purpose", 
   "fieldtype": "Select", 
   "hidden": 0, 
   "in_filter": 1, 
   "in_list_view": 1, 
   "label": "Purpose", 
   "no_copy": 0, 
   "oldfieldname": "purpose", 
   "oldfieldtype": "Select", 
   "options": "Material Issue\nMaterial Receipt\nMaterial Transfer\nMaterial Transfer for Manufacture\nManufacture\nRepack\nSubcontract\nSales Return\nPurchase Return", 
   "permlevel": 0, 
   "print_hide": 0, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 1, 
   "search_index": 0
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "eval:in_list([\"Material Transfer for Manufacture\", \"Manufacture\"], doc.purpose)", 
   "fieldname": "production_order", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 1, 
   "label": "Production Order", 
   "no_copy": 0, 
   "oldfieldname": "production_order", 
   "oldfieldtype": "Link", 
   "options": "Production Order", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 1
  }, 
  {
   "depends_on": "eval:doc.purpose==\"Subcontract\"", 
   "fieldname": "purchase_order", 
   "fieldtype": "Link", 
   "label": "Purchase Order", 
   "options": "Purchase Order", 
   "permlevel": 0, 
   "precision": ""
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "eval:doc.purpose==\"Sales Return\"", 
   "fieldname": "delivery_note_no", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Delivery Note No", 
   "no_copy": 1, 
   "oldfieldname": "delivery_note_no", 
   "oldfieldtype": "Link", 
   "options": "Delivery Note", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 1
  }, 
  {
   "depends_on": "eval:doc.purpose==\"Sales Return\"", 
   "fieldname": "sales_invoice_no", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "label": "Sales Invoice No", 
   "no_copy": 1, 
   "options": "Sales Invoice", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "eval:doc.purpose==\"Purchase Return\"", 
   "fieldname": "purchase_receipt_no", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Purchase Receipt No", 
   "no_copy": 1, 
   "oldfieldname": "purchase_receipt_no", 
   "oldfieldtype": "Link", 
   "options": "Purchase Receipt", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 1
  }, 
  {
   "depends_on": "eval:in_list([\"Material Issue\", \"Material Transfer\", \"Manufacture\", \"Repack\", \t\t\t\t\t\"Subcontract\", \"Material Transfer for Manufacture\"], doc.purpose)", 
   "fieldname": "from_bom", 
   "fieldtype": "Check", 
   "label": "From BOM", 
   "permlevel": 0, 
   "precision": ""
  }, 
  {
   "fieldname": "col2", 
   "fieldtype": "Column Break", 
   "oldfieldtype": "Column Break", 
   "permlevel": 0, 
   "print_width": "50%", 
   "read_only": 0, 
   "width": "50%"
  }, 
  {
   "allow_on_submit": 0, 
   "default": "Today", 
   "fieldname": "posting_date", 
   "fieldtype": "Date", 
   "hidden": 0, 
   "in_filter": 1, 
   "in_list_view": 0, 
   "label": "Posting Date", 
   "no_copy": 1, 
   "oldfieldname": "posting_date", 
   "oldfieldtype": "Date", 
   "permlevel": 0, 
   "print_hide": 0, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 1, 
   "search_index": 1
  }, 
  {
   "allow_on_submit": 0, 
   "fieldname": "posting_time", 
   "fieldtype": "Time", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Posting Time", 
   "no_copy": 1, 
   "oldfieldname": "posting_time", 
   "oldfieldtype": "Time", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 1, 
   "search_index": 0
  }, 
  {
   "depends_on": "eval: doc.from_bom && (doc.purpose!==\"Sales Return\" && doc.purpose!==\"Purchase Return\")", 
   "fieldname": "sb1", 
   "fieldtype": "Section Break", 
   "label": "", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "depends_on": "from_bom", 
   "fieldname": "bom_no", 
   "fieldtype": "Link", 
   "label": "BOM No", 
   "options": "BOM", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "depends_on": "from_bom", 
   "fieldname": "additional_operating_cost", 
   "fieldtype": "Currency", 
   "label": "Additional Operating Cost", 
   "no_copy": 1, 
   "options": "Company:company:default_currency", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "fieldname": "cb1", 
   "fieldtype": "Column Break", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "from_bom", 
   "description": "As per Stock UOM", 
   "fieldname": "fg_completed_qty", 
   "fieldtype": "Float", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "For Quantity", 
   "no_copy": 0, 
   "oldfieldname": "fg_completed_qty", 
   "oldfieldtype": "Currency", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "default": "1", 
   "depends_on": "from_bom", 
   "description": "Including items for sub assemblies", 
   "fieldname": "use_multi_level_bom", 
   "fieldtype": "Check", 
   "label": "Use Multi-Level BOM", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "from_bom", 
   "fieldname": "get_items", 
   "fieldtype": "Button", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Get Items", 
   "no_copy": 0, 
   "oldfieldtype": "Button", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "fieldname": "section_break_12", 
   "fieldtype": "Section Break", 
   "permlevel": 0, 
   "precision": ""
  }, 
  {
   "allow_on_submit": 0, 
   "fieldname": "from_warehouse", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 0, 
   "in_list_view": 1, 
   "label": "Default Source Warehouse", 
   "no_copy": 1, 
   "oldfieldname": "from_warehouse", 
   "oldfieldtype": "Link", 
   "options": "Warehouse", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "fieldname": "cb0", 
   "fieldtype": "Column Break", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "allow_on_submit": 0, 
   "fieldname": "to_warehouse", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 0, 
   "in_list_view": 1, 
   "label": "Default Target Warehouse", 
   "no_copy": 1, 
   "oldfieldname": "to_warehouse", 
   "oldfieldtype": "Link", 
   "options": "Warehouse", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "fieldname": "sb0", 
   "fieldtype": "Section Break", 
   "options": "Simple", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "allow_on_submit": 0, 
   "fieldname": "items", 
   "fieldtype": "Table", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Items", 
   "no_copy": 0, 
   "oldfieldname": "mtn_details", 
   "oldfieldtype": "Table", 
   "options": "Stock Entry Detail", 
   "permlevel": 0, 
   "print_hide": 0, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "description": "Get valuation rate and available stock at source/target warehouse on mentioned posting date-time. If serialized item, please press this button after entering serial nos.", 
   "fieldname": "get_stock_and_rate", 
   "fieldtype": "Button", 
   "label": "Get Stock and Rate", 
   "oldfieldtype": "Button", 
   "options": "get_stock_and_rate", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0
  }, 
  {
   "fieldname": "section_break_19", 
   "fieldtype": "Section Break", 
   "permlevel": 0, 
   "precision": ""
  }, 
  {
   "fieldname": "total_incoming_value", 
   "fieldtype": "Currency", 
   "label": "Total Incoming Value", 
   "permlevel": 0, 
   "precision": "", 
   "read_only": 1
  }, 
  {
   "fieldname": "column_break_22", 
   "fieldtype": "Column Break", 
   "permlevel": 0, 
   "precision": ""
  }, 
  {
   "fieldname": "total_outgoing_value", 
   "fieldtype": "Currency", 
   "label": "Total Outgoing Value", 
   "permlevel": 0, 
   "precision": "", 
   "read_only": 1
  }, 
  {
   "fieldname": "value_difference", 
   "fieldtype": "Currency", 
   "label": "Total Value Difference (Out - In)", 
   "permlevel": 0, 
   "precision": "", 
   "read_only": 1
  }, 
  {
   "description": "This will override Difference Account in Item", 
   "fieldname": "difference_account", 
   "fieldtype": "Link", 
   "label": "Difference Account", 
   "options": "Account", 
   "permlevel": 0, 
   "precision": ""
  }, 
  {
   "fieldname": "fold", 
   "fieldtype": "Fold", 
   "permlevel": 0
  }, 
  {
   "depends_on": "eval: in_list([\"Sales Return\", \"Purchase Return\", \"Subcontract\"], doc.purpose)", 
   "fieldname": "contact_section", 
   "fieldtype": "Section Break", 
   "label": "", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "eval:doc.purpose==\"Purchase Return\" || doc.purpose==\"Subcontract\"", 
   "fieldname": "supplier", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Supplier", 
   "no_copy": 1, 
   "oldfieldname": "supplier", 
   "oldfieldtype": "Link", 
   "options": "Supplier", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "eval:doc.purpose==\"Purchase Return\" || doc.purpose==\"Subcontract\"", 
   "fieldname": "supplier_name", 
   "fieldtype": "Data", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Supplier Name", 
   "no_copy": 1, 
   "oldfieldname": "supplier_name", 
   "oldfieldtype": "Data", 
   "permlevel": 0, 
   "print_hide": 0, 
   "read_only": 1, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "eval:doc.purpose==\"Purchase Return\" || doc.purpose==\"Subcontract\"", 
   "fieldname": "supplier_address", 
   "fieldtype": "Small Text", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Supplier Address", 
   "no_copy": 1, 
   "oldfieldname": "supplier_address", 
   "oldfieldtype": "Small Text", 
   "permlevel": 0, 
   "print_hide": 0, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "fieldname": "column_break_39", 
   "fieldtype": "Column Break", 
   "permlevel": 0, 
   "precision": ""
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "eval:doc.purpose==\"Sales Return\"", 
   "fieldname": "customer", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Customer", 
   "no_copy": 1, 
   "oldfieldname": "customer", 
   "oldfieldtype": "Link", 
   "options": "Customer", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "eval:doc.purpose==\"Sales Return\"", 
   "fieldname": "customer_name", 
   "fieldtype": "Data", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Customer Name", 
   "no_copy": 1, 
   "oldfieldname": "customer_name", 
   "oldfieldtype": "Data", 
   "permlevel": 0, 
   "print_hide": 0, 
   "read_only": 1, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "allow_on_submit": 0, 
   "depends_on": "eval:doc.purpose==\"Sales Return\"", 
   "fieldname": "customer_address", 
   "fieldtype": "Small Text", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Customer Address", 
   "no_copy": 1, 
   "oldfieldname": "customer_address", 
   "oldfieldtype": "Small Text", 
   "permlevel": 0, 
   "print_hide": 0, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "fieldname": "more_info", 
   "fieldtype": "Section Break", 
   "label": "", 
   "oldfieldtype": "Section Break", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "fieldname": "project_name", 
   "fieldtype": "Link", 
   "in_filter": 1, 
   "label": "Project Name", 
   "oldfieldname": "project_name", 
   "oldfieldtype": "Link", 
   "options": "Project", 
   "permlevel": 0, 
   "read_only": 0
  }, 
  {
   "allow_on_submit": 0, 
   "fieldname": "remarks", 
   "fieldtype": "Text", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Remarks", 
   "no_copy": 1, 
   "oldfieldname": "remarks", 
   "oldfieldtype": "Text", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "fieldname": "col5", 
   "fieldtype": "Column Break", 
   "permlevel": 0, 
   "print_width": "50%", 
   "read_only": 0, 
   "width": "50%"
  }, 
  {
   "fieldname": "total_amount", 
   "fieldtype": "Currency", 
   "label": "Total Amount", 
   "options": "Company:company:default_currency", 
   "permlevel": 0, 
   "read_only": 1
  }, 
  {
   "allow_on_submit": 0, 
   "fieldname": "company", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 1, 
   "label": "Company", 
   "no_copy": 0, 
   "oldfieldname": "company", 
   "oldfieldtype": "Link", 
   "options": "Company", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 1, 
   "search_index": 0
  }, 
  {
   "fieldname": "fiscal_year", 
   "fieldtype": "Link", 
   "in_filter": 0, 
   "label": "Fiscal Year", 
   "options": "Fiscal Year", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 0, 
   "reqd": 1
  }, 
  {
   "allow_on_submit": 1, 
   "fieldname": "select_print_heading", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "in_filter": 0, 
   "label": "Print Heading", 
   "no_copy": 0, 
   "oldfieldname": "select_print_heading", 
   "oldfieldtype": "Link", 
   "options": "Print Heading", 
   "permlevel": 0, 
   "print_hide": 0, 
   "read_only": 0, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "fieldname": "letter_head", 
   "fieldtype": "Link", 
   "label": "Letter Head", 
   "options": "Letter Head", 
   "permlevel": 0, 
   "precision": ""
  }, 
  {
   "allow_on_submit": 0, 
   "fieldname": "amended_from", 
   "fieldtype": "Link", 
   "hidden": 0, 
   "ignore_user_permissions": 1, 
   "in_filter": 0, 
   "label": "Amended From", 
   "no_copy": 1, 
   "oldfieldname": "amended_from", 
   "oldfieldtype": "Link", 
   "options": "Stock Entry", 
   "permlevel": 0, 
   "print_hide": 1, 
   "read_only": 1, 
   "report_hide": 0, 
   "reqd": 0, 
   "search_index": 0
  }, 
  {
   "fieldname": "credit_note", 
   "fieldtype": "Link", 
   "hidden": 1, 
   "label": "Credit Note", 
   "options": "Journal Entry", 
   "permlevel": 0, 
   "precision": ""
  }
 ], 
 "hide_heading": 0, 
 "hide_toolbar": 0, 
 "icon": "icon-file-text", 
 "idx": 1, 
 "in_create": 0, 
 "in_dialog": 0, 
 "is_submittable": 1, 
 "issingle": 0, 
 "max_attachments": 0, 
 "modified": "2015-05-20 07:58:59.025553", 
 "modified_by": "Administrator", 
 "module": "Stock", 
 "name": "Stock Entry", 
 "owner": "Administrator", 
 "permissions": [
  {
   "amend": 1, 
   "apply_user_permissions": 1, 
   "cancel": 1, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Material User", 
   "share": 1, 
   "submit": 1, 
   "write": 1
  }, 
  {
   "amend": 1, 
   "apply_user_permissions": 1, 
   "cancel": 1, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "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, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Manufacturing Manager", 
   "share": 1, 
   "submit": 1, 
   "write": 1
  }, 
  {
   "amend": 1, 
   "cancel": 1, 
   "create": 1, 
   "delete": 1, 
   "email": 1, 
   "permlevel": 0, 
   "print": 1, 
   "read": 1, 
   "report": 1, 
   "role": "Material Manager", 
   "share": 1, 
   "submit": 1, 
   "write": 1
  }
 ], 
 "read_only": 0, 
 "read_only_onload": 0, 
 "search_fields": "posting_date, from_warehouse, to_warehouse, purpose, remarks", 
 "sort_field": "modified", 
 "sort_order": "DESC", 
 "title_field": "purpose"
}