{
 "actions": [],
 "allow_import": 1,
 "allow_rename": 1,
 "autoname": "naming_series:",
 "creation": "2016-03-01 17:01:27.920130",
 "doctype": "DocType",
 "document_type": "Document",
 "engine": "InnoDB",
 "field_order": [
  "company",
  "item_code",
  "item_name",
  "asset_owner",
  "asset_owner_company",
  "is_existing_asset",
  "supplier",
  "customer",
  "image",
  "journal_entry_for_scrap",
  "column_break_3",
  "naming_series",
  "asset_name",
  "asset_category",
  "location",
  "custodian",
  "department",
  "disposal_date",
  "accounting_dimensions_section",
  "cost_center",
  "dimension_col_break",
  "purchase_details_section",
  "purchase_receipt",
  "purchase_invoice",
  "available_for_use_date",
  "column_break_23",
  "gross_purchase_amount",
  "purchase_date",
  "section_break_23",
  "calculate_depreciation",
  "allow_monthly_depreciation",
  "column_break_33",
  "opening_accumulated_depreciation",
  "number_of_depreciations_booked",
  "section_break_36",
  "finance_books",
  "section_break_33",
  "depreciation_method",
  "value_after_depreciation",
  "total_number_of_depreciations",
  "column_break_24",
  "frequency_of_depreciation",
  "next_depreciation_date",
  "section_break_14",
  "schedules",
  "insurance_details",
  "policy_number",
  "insurer",
  "insured_value",
  "column_break_48",
  "insurance_start_date",
  "insurance_end_date",
  "comprehensive_insurance",
  "section_break_31",
  "maintenance_required",
  "other_details",
  "status",
  "booked_fixed_asset",
  "column_break_51",
  "purchase_receipt_amount",
  "default_finance_book",
  "amended_from"
 ],
 "fields": [
  {
   "fieldname": "naming_series",
   "fieldtype": "Select",
   "label": "Naming Series",
   "options": "ACC-ASS-.YYYY.-"
  },
  {
   "fieldname": "asset_name",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "Asset Name",
   "reqd": 1
  },
  {
   "fieldname": "item_code",
   "fieldtype": "Link",
   "in_standard_filter": 1,
   "label": "Item Code",
   "options": "Item",
   "reqd": 1
  },
  {
   "depends_on": "item_code",
   "fetch_from": "item_code.item_name",
   "fieldname": "item_name",
   "fieldtype": "Read Only",
   "label": "Item Name"
  },
  {
   "depends_on": "item_code",
   "fetch_from": "item_code.asset_category",
   "fieldname": "asset_category",
   "fieldtype": "Link",
   "in_global_search": 1,
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Asset Category",
   "options": "Asset Category",
   "read_only": 1
  },
  {
   "fieldname": "asset_owner",
   "fieldtype": "Select",
   "label": "Asset Owner",
   "options": "\nCompany\nSupplier\nCustomer"
  },
  {
   "depends_on": "eval:doc.asset_owner == \"Company\"",
   "fieldname": "asset_owner_company",
   "fieldtype": "Link",
   "label": "Asset Owner Company",
   "options": "Company"
  },
  {
   "depends_on": "eval:doc.asset_owner == \"Supplier\"",
   "fieldname": "supplier",
   "fieldtype": "Link",
   "label": "Supplier",
   "options": "Supplier"
  },
  {
   "depends_on": "eval:doc.asset_owner == \"Customer\"",
   "fieldname": "customer",
   "fieldtype": "Link",
   "label": "Customer",
   "options": "Customer"
  },
  {
   "allow_on_submit": 1,
   "fieldname": "image",
   "fieldtype": "Attach Image",
   "hidden": 1,
   "label": "Image",
   "no_copy": 1,
   "print_hide": 1
  },
  {
   "fieldname": "column_break_3",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "company",
   "fieldtype": "Link",
   "label": "Company",
   "options": "Company",
   "remember_last_selected_value": 1,
   "reqd": 1
  },
  {
   "fieldname": "location",
   "fieldtype": "Link",
   "in_list_view": 1,
   "label": "Location",
   "options": "Location",
   "reqd": 1
  },
  {
   "fieldname": "custodian",
   "fieldtype": "Link",
   "ignore_user_permissions": 1,
   "label": "Custodian",
   "options": "Employee"
  },
  {
   "fieldname": "cost_center",
   "fieldtype": "Link",
   "label": "Cost Center",
   "options": "Cost Center"
  },
  {
   "fieldname": "department",
   "fieldtype": "Link",
   "label": "Department",
   "options": "Department"
  },
  {
   "fieldname": "purchase_date",
   "fieldtype": "Date",
   "label": "Purchase Date",
   "read_only": 1,
   "read_only_depends_on": "eval:!doc.is_existing_asset",
   "reqd": 1
  },
  {
   "fieldname": "disposal_date",
   "fieldtype": "Date",
   "label": "Disposal Date",
   "read_only": 1
  },
  {
   "fieldname": "journal_entry_for_scrap",
   "fieldtype": "Link",
   "label": "Journal Entry for Scrap",
   "no_copy": 1,
   "options": "Journal Entry",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "fieldname": "gross_purchase_amount",
   "fieldtype": "Currency",
   "label": "Gross Purchase Amount",
   "options": "Company:company:default_currency",
   "read_only": 1,
   "read_only_depends_on": "eval:!doc.is_existing_asset",
   "reqd": 1
  },
  {
   "fieldname": "available_for_use_date",
   "fieldtype": "Date",
   "label": "Available-for-use Date",
   "reqd": 1
  },
  {
   "default": "0",
   "fieldname": "calculate_depreciation",
   "fieldtype": "Check",
   "label": "Calculate Depreciation"
  },
  {
   "default": "0",
   "fieldname": "is_existing_asset",
   "fieldtype": "Check",
   "label": "Is Existing Asset"
  },
  {
   "depends_on": "is_existing_asset",
   "fieldname": "opening_accumulated_depreciation",
   "fieldtype": "Currency",
   "label": "Opening Accumulated Depreciation",
   "no_copy": 1,
   "options": "Company:company:default_currency"
  },
  {
   "depends_on": "eval:(doc.is_existing_asset && doc.opening_accumulated_depreciation)",
   "fieldname": "number_of_depreciations_booked",
   "fieldtype": "Int",
   "label": "Number of Depreciations Booked",
   "no_copy": 1
  },
  {
   "collapsible": 1,
   "collapsible_depends_on": "eval:doc.calculate_depreciation || doc.is_existing_asset",
   "fieldname": "section_break_23",
   "fieldtype": "Section Break",
   "label": "Depreciation"
  },
  {
   "columns": 10,
   "fieldname": "finance_books",
   "fieldtype": "Table",
   "label": "Finance Books",
   "options": "Asset Finance Book"
  },
  {
   "fieldname": "section_break_33",
   "fieldtype": "Section Break",
   "hidden": 1
  },
  {
   "fieldname": "depreciation_method",
   "fieldtype": "Select",
   "label": "Depreciation Method",
   "options": "\nStraight Line\nDouble Declining Balance\nManual"
  },
  {
   "fieldname": "value_after_depreciation",
   "fieldtype": "Currency",
   "hidden": 1,
   "label": "Value After Depreciation",
   "options": "Company:company:default_currency",
   "read_only": 1
  },
  {
   "fieldname": "total_number_of_depreciations",
   "fieldtype": "Int",
   "label": "Total Number of Depreciations"
  },
  {
   "fieldname": "column_break_24",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "frequency_of_depreciation",
   "fieldtype": "Int",
   "label": "Frequency of Depreciation (Months)"
  },
  {
   "fieldname": "next_depreciation_date",
   "fieldtype": "Date",
   "label": "Next Depreciation Date",
   "no_copy": 1
  },
  {
   "depends_on": "calculate_depreciation",
   "fieldname": "section_break_14",
   "fieldtype": "Section Break",
   "label": "Depreciation Schedule"
  },
  {
   "fieldname": "schedules",
   "fieldtype": "Table",
   "label": "Depreciation Schedule",
   "no_copy": 1,
   "options": "Depreciation Schedule"
  },
  {
   "collapsible": 1,
   "fieldname": "insurance_details",
   "fieldtype": "Section Break",
   "label": "Insurance details"
  },
  {
   "fieldname": "policy_number",
   "fieldtype": "Data",
   "label": "Policy number"
  },
  {
   "fieldname": "insurer",
   "fieldtype": "Data",
   "label": "Insurer"
  },
  {
   "fieldname": "insured_value",
   "fieldtype": "Data",
   "label": "Insured value"
  },
  {
   "fieldname": "column_break_48",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "insurance_start_date",
   "fieldtype": "Date",
   "label": "Insurance Start Date"
  },
  {
   "fieldname": "insurance_end_date",
   "fieldtype": "Date",
   "label": "Insurance End Date"
  },
  {
   "fieldname": "comprehensive_insurance",
   "fieldtype": "Data",
   "label": "Comprehensive Insurance"
  },
  {
   "fieldname": "section_break_31",
   "fieldtype": "Section Break",
   "label": "Maintenance"
  },
  {
   "allow_on_submit": 1,
   "default": "0",
   "description": "Check if Asset requires Preventive Maintenance or Calibration",
   "fieldname": "maintenance_required",
   "fieldtype": "Check",
   "label": "Maintenance Required"
  },
  {
   "collapsible": 1,
   "fieldname": "other_details",
   "fieldtype": "Section Break",
   "label": "Other Details"
  },
  {
   "allow_on_submit": 1,
   "default": "Draft",
   "fieldname": "status",
   "fieldtype": "Select",
   "in_list_view": 1,
   "in_standard_filter": 1,
   "label": "Status",
   "no_copy": 1,
   "options": "Draft\nSubmitted\nPartially Depreciated\nFully Depreciated\nSold\nScrapped\nIn Maintenance\nOut of Order\nIssue\nReceipt",
   "read_only": 1
  },
  {
   "default": "0",
   "fieldname": "booked_fixed_asset",
   "fieldtype": "Check",
   "label": "Booked Fixed Asset",
   "no_copy": 1,
   "read_only": 1
  },
  {
   "fieldname": "column_break_51",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "purchase_receipt",
   "fieldtype": "Link",
   "label": "Purchase Receipt",
   "no_copy": 1,
   "options": "Purchase Receipt",
   "print_hide": 1
  },
  {
   "fieldname": "purchase_receipt_amount",
   "fieldtype": "Currency",
   "hidden": 1,
   "label": "Purchase Receipt Amount",
   "no_copy": 1,
   "print_hide": 1,
   "read_only": 1
  },
  {
   "fieldname": "purchase_invoice",
   "fieldtype": "Link",
   "label": "Purchase Invoice",
   "no_copy": 1,
   "options": "Purchase Invoice"
  },
  {
   "fetch_from": "company.default_finance_book",
   "fieldname": "default_finance_book",
   "fieldtype": "Link",
   "hidden": 1,
   "label": "Default Finance Book",
   "options": "Finance Book",
   "read_only": 1
  },
  {
   "fieldname": "amended_from",
   "fieldtype": "Link",
   "label": "Amended From",
   "no_copy": 1,
   "options": "Asset",
   "print_hide": 1,
   "read_only": 1
  },
  {
   "collapsible": 1,
   "fieldname": "accounting_dimensions_section",
   "fieldtype": "Section Break",
   "label": "Accounting Dimensions"
  },
  {
   "fieldname": "dimension_col_break",
   "fieldtype": "Column Break"
  },
  {
   "default": "0",
   "depends_on": "calculate_depreciation",
   "fieldname": "allow_monthly_depreciation",
   "fieldtype": "Check",
   "label": "Allow Monthly Depreciation"
  },
  {
   "collapsible": 1,
   "collapsible_depends_on": "is_existing_asset",
   "fieldname": "purchase_details_section",
   "fieldtype": "Section Break",
   "label": "Purchase Details"
  },
  {
   "fieldname": "column_break_23",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "column_break_33",
   "fieldtype": "Column Break"
  },
  {
   "depends_on": "calculate_depreciation",
   "fieldname": "section_break_36",
   "fieldtype": "Section Break",
   "label": "Finance Books"
  }
 ],
 "idx": 72,
 "image_field": "image",
 "is_submittable": 1,
 "links": [
  {
   "group": "Maintenance",
   "link_doctype": "Asset Maintenance",
   "link_fieldname": "asset_name"
  },
  {
   "group": "Repair",
   "link_doctype": "Asset Repair",
   "link_fieldname": "asset_name"
  },
  {
   "group": "Value",
   "link_doctype": "Asset Value Adjustment",
   "link_fieldname": "asset"
  }
 ],
 "modified": "2021-06-24 14:58:51.097908",
 "modified_by": "Administrator",
 "module": "Assets",
 "name": "Asset",
 "owner": "Administrator",
 "permissions": [
  {
   "amend": 1,
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "import": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Accounts User",
   "share": 1,
   "submit": 1,
   "write": 1
  },
  {
   "cancel": 1,
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "report": 1,
   "role": "Quality Manager",
   "share": 1,
   "submit": 1,
   "write": 1
  }
 ],
 "show_name_in_global_search": 1,
 "sort_field": "modified",
 "sort_order": "DESC",
 "title_field": "asset_name",
 "track_changes": 1
}