Version 6.7.7 Source

Table Name: `tabMaintenance Visit`

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `customer_details` | Section Break |  |
    icon-user
2 | `column_break0` | Column Break |  |
3 | `customer` | Link | Customer | Customer
4 | `customer_name` | Data | Customer Name |
5 | `address_display` | Small Text | Address |
6 | `contact_display` | Small Text | Contact |
7 | `contact_mobile` | Data | Mobile No |
8 | `contact_email` | Data | Contact Email |
9 | `column_break1` | Column Break |  |
10 | `mntc_date` | Date | Maintenance Date |
11 | `mntc_time` | Time | Maintenance Time |
12 | `maintenance_details` | Section Break |  |
    icon-wrench
13 | `completion_status` | Select | Completion Status |
    Partially Completed
    Fully Completed
14 | `column_break_14` | Column Break |  |
15 | `maintenance_type` | Select | Maintenance Type |
    Scheduled
    Unscheduled
    Breakdown
16 | `section_break0` | Section Break |  |
    icon-wrench
17 | `purposes` | Table | Purposes | Maintenance Visit Purpose
18 | `more_info` | Section Break | More Information |
    icon-file-text
19 | `customer_feedback` | Small Text | Customer Feedback |
20 | `col_break3` | Column Break |  |
21 | `status` | Data | Status |
    Draft
    Cancelled
    Submitted
22 | `amended_from` | Link | Amended From | Maintenance Visit
23 | `company` | Link | Company | Company
24 | `fiscal_year` | Link | Fiscal Year | Fiscal Year
25 | `contact_info_section` | Section Break | Contact Info |
    icon-bullhorn
26 | `customer_address` | Link | Customer Address | Address
27 | `contact_person` | Link | Contact Person | Contact
28 | `col_break4` | Column Break |  |
29 | `territory` | Link | Territory | Territory
30 | `customer_group` | Link | Customer Group | Customer Group

### Controller

#### erpnext.support.doctype.maintenance_visit.maintenance_visit

### Class MaintenanceVisit

Inherits from erpnext.utilities.transaction_base.TransactionBase

check_if_last_visit (self)

check if last maintenance visit against same sales order/ Warranty Claim

get_feed (self)

No docs

on_cancel (self)

No docs

on_submit (self)

No docs

on_update (self)

No docs

update_customer_issue (self, flag)

No docs

validate (self)

No docs

validate_serial_no (self)

No docs

#### Linked In:

- Maintenance Visit