brotherton-erpnext/erpnext/docs/current/models/support/maintenance_visit.html

666 lines
14 KiB
HTML
Raw Normal View History

2015-12-03 12:58:19 +00:00
<!-- title: Maintenance Visit -->
<div class="dev-header">
<a class="btn btn-default btn-sm" disabled style="margin-bottom: 10px;">
Version 6.x.x</a>
<a class="btn btn-default btn-sm" href="https://github.com/frappe/erpnext/tree/develop/erpnext/support/doctype/maintenance_visit"
target="_blank" style="margin-left: 10px; margin-bottom: 10px;"><i class="octicon octicon-mark-github"></i> Source</a>
</div>
<p><b>Table Name:</b> <code>tabMaintenance Visit</code></p>
<h3>Fields</h3>
2015-12-10 11:47:41 +00:00
<table class="table table-bordered">
2015-12-03 12:58:19 +00:00
<thead>
<tr>
<th style="width: 5%">Sr</th>
<th style="width: 25%">Fieldname</th>
<th style="width: 20%">Type</th>
<th style="width: 25%">Label</th>
<th style="width: 25%">Options</th>
</tr>
</thead>
<tbody>
<tr class="info">
<td>1</td>
<td ><code>customer_details</code></td>
<td >
Section Break</td>
<td >
</td>
<td>
<pre>icon-user</pre>
</td>
</tr>
<tr >
<td>2</td>
<td ><code>column_break0</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>3</td>
<td class="danger" title="Mandatory"><code>customer</code></td>
<td >
Link</td>
<td >
Customer
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/selling/customer">Customer</a>
</td>
</tr>
<tr >
<td>4</td>
<td ><code>customer_name</code></td>
<td >
Data</td>
<td class="text-muted" title="Hidden">
Customer Name
</td>
<td></td>
</tr>
<tr >
<td>5</td>
<td ><code>address_display</code></td>
<td >
Small Text</td>
<td class="text-muted" title="Hidden">
Address
</td>
<td></td>
</tr>
<tr >
<td>6</td>
<td ><code>contact_display</code></td>
<td >
Small Text</td>
<td class="text-muted" title="Hidden">
Contact
</td>
<td></td>
</tr>
<tr >
<td>7</td>
<td ><code>contact_mobile</code></td>
<td >
Data</td>
<td class="text-muted" title="Hidden">
Mobile No
</td>
<td></td>
</tr>
<tr >
<td>8</td>
<td ><code>contact_email</code></td>
<td >
Data</td>
<td class="text-muted" title="Hidden">
Contact Email
</td>
<td></td>
</tr>
<tr >
<td>9</td>
<td ><code>column_break1</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>10</td>
<td class="danger" title="Mandatory"><code>mntc_date</code></td>
<td >
Date</td>
<td >
Maintenance Date
</td>
<td></td>
</tr>
<tr >
<td>11</td>
<td ><code>mntc_time</code></td>
<td >
Time</td>
<td >
Maintenance Time
</td>
<td></td>
</tr>
<tr class="info">
<td>12</td>
<td ><code>maintenance_details</code></td>
<td >
Section Break</td>
<td >
</td>
<td>
<pre>icon-wrench</pre>
</td>
</tr>
<tr >
<td>13</td>
<td class="danger" title="Mandatory"><code>completion_status</code></td>
<td >
Select</td>
<td >
Completion Status
</td>
<td>
<pre>
Partially Completed
Fully Completed</pre>
</td>
</tr>
<tr >
<td>14</td>
<td ><code>column_break_14</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>15</td>
<td class="danger" title="Mandatory"><code>maintenance_type</code></td>
<td >
Select</td>
<td >
Maintenance Type
</td>
<td>
<pre>
Scheduled
Unscheduled
Breakdown</pre>
</td>
</tr>
<tr class="info">
<td>16</td>
<td ><code>section_break0</code></td>
<td >
Section Break</td>
<td >
</td>
<td>
<pre>icon-wrench</pre>
</td>
</tr>
<tr >
<td>17</td>
<td class="danger" title="Mandatory"><code>purposes</code></td>
<td >
Table</td>
<td >
Purposes
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit_purpose">Maintenance Visit Purpose</a>
</td>
</tr>
<tr class="info">
<td>18</td>
<td ><code>more_info</code></td>
<td >
Section Break</td>
<td >
More Information
</td>
<td>
<pre>icon-file-text</pre>
</td>
</tr>
<tr >
<td>19</td>
<td ><code>customer_feedback</code></td>
<td >
Small Text</td>
<td >
Customer Feedback
</td>
<td></td>
</tr>
<tr >
<td>20</td>
<td ><code>col_break3</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>21</td>
<td class="danger" title="Mandatory"><code>status</code></td>
<td >
Data</td>
<td >
Status
</td>
<td>
<pre>
Draft
Cancelled
Submitted</pre>
</td>
</tr>
<tr >
<td>22</td>
<td ><code>amended_from</code></td>
<td >
Link</td>
<td >
Amended From
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
</td>
</tr>
<tr >
<td>23</td>
<td class="danger" title="Mandatory"><code>company</code></td>
<td >
Link</td>
<td >
Company
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/company">Company</a>
</td>
</tr>
<tr >
<td>24</td>
<td class="danger" title="Mandatory"><code>fiscal_year</code></td>
<td >
Link</td>
<td >
Fiscal Year
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/accounts/fiscal_year">Fiscal Year</a>
</td>
</tr>
<tr class="info">
<td>25</td>
<td ><code>contact_info_section</code></td>
<td >
Section Break</td>
<td >
Contact Info
</td>
<td>
<pre>icon-bullhorn</pre>
</td>
</tr>
<tr >
<td>26</td>
<td ><code>customer_address</code></td>
<td >
Link</td>
<td >
Customer Address
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/utilities/address">Address</a>
</td>
</tr>
<tr >
<td>27</td>
<td ><code>contact_person</code></td>
<td >
Link</td>
<td >
Contact Person
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/utilities/contact">Contact</a>
</td>
</tr>
<tr >
<td>28</td>
<td ><code>col_break4</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>29</td>
<td ><code>territory</code></td>
<td >
Link</td>
<td >
Territory
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/territory">Territory</a>
</td>
</tr>
<tr >
<td>30</td>
<td ><code>customer_group</code></td>
<td >
Link</td>
<td >
Customer Group
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/setup/customer_group">Customer Group</a>
</td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>erpnext.support.doctype.maintenance_visit.maintenance_visit</h4>
<h3 style="font-weight: normal;">Class <b>MaintenanceVisit</b></h3>
<p style="padding-left: 30px;"><i>Inherits from erpnext.utilities.transaction_base.TransactionBase</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
<p class="docs-attr-name">
<a name="check_if_last_visit" href="#check_if_last_visit" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>check_if_last_visit</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>check if last maintenance visit against same sales order/ Warranty Claim</p>
</div>
<br>
<p class="docs-attr-name">
<a name="get_feed" href="#get_feed" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>get_feed</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p class="docs-attr-name">
<a name="on_cancel" href="#on_cancel" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>on_cancel</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p class="docs-attr-name">
<a name="on_submit" href="#on_submit" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>on_submit</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p class="docs-attr-name">
<a name="on_update" href="#on_update" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>on_update</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p class="docs-attr-name">
<a name="update_customer_issue" href="#update_customer_issue" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_customer_issue</b>
<i class="text-muted">(self, flag)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p class="docs-attr-name">
<a name="validate" href="#validate" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p class="docs-attr-name">
<a name="validate_serial_no" href="#validate_serial_no" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_serial_no</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
</div>
<hr>
<h4>Linked In:</h4>
<ul>
<li>
<a href="https://frappe.github.io/erpnext/current/models/support/maintenance_visit">Maintenance Visit</a>
</li>
</ul>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->