Version 6.7.7 Source

Table Name: `tabMaintenance Schedule`

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `customer_details` | Section Break |  |
    icon-user
2 | `customer` | Link | Customer | Customer
3 | `column_break0` | Column Break |  |
4 | `status` | Select | Status |
    Draft
    Submitted
    Cancelled
5 | `transaction_date` | Date | Transaction Date |
6 | `items_section` | Section Break |  |
    icon-shopping-cart
7 | `items` | Table | Items | Maintenance Schedule Item
8 | `schedule` | Section Break | Schedule |
    icon-time
9 | `generate_schedule` | Button | Generate Schedule |
10 | `schedules` | Table | Schedules | Maintenance Schedule Detail
11 | `contact_info` | Section Break | Contact Info |
12 | `customer_name` | Data | Customer Name |
13 | `contact_person` | Link | Contact Person | Contact
14 | `contact_mobile` | Data | Mobile No |
15 | `contact_email` | Data | Contact Email |
16 | `contact_display` | Small Text | Contact |
17 | `column_break_17` | Column Break |  |
18 | `customer_address` | Link | Customer Address | Address
19 | `address_display` | Small Text | Address |
20 | `territory` | Link | Territory | Territory
21 | `customer_group` | Link | Customer Group | Customer Group
22 | `company` | Link | Company | Company
23 | `amended_from` | Link | Amended From | Maintenance Schedule

### Controller

#### erpnext.support.doctype.maintenance_schedule.maintenance_schedule

### Class MaintenanceSchedule

Inherits from erpnext.utilities.transaction_base.TransactionBase

check_serial_no_added (self)

No docs

create_schedule_list (self, start_date, end_date, no_of_visit, sales_person)

No docs

generate_schedule (self)

No docs

on_cancel (self)

No docs

on_submit (self)

No docs

on_trash (self)

No docs

on_update (self)

No docs

update_amc_date (self, serial_nos, amc_expiry_date=None)

No docs

validate (self)

No docs

validate_dates_with_periodicity (self)

No docs

validate_maintenance_detail (self)

No docs

validate_sales_order (self)

No docs

validate_schedule (self)

No docs

validate_schedule_date_for_holiday_list (self, schedule_date, sales_person)

No docs

validate_serial_no (self, serial_nos, amc_start_date)

No docs

Public API
`/api/method/erpnext.support.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit`

erpnext.support.doctype.maintenance_schedule.maintenance_schedule.make_maintenance_visit (source_name, target_doc=None)

No docs

#### Linked In:

- Maintenance Schedule