brotherton-erpnext/erpnext/docs/current/models/manufacturing/workstation.html

474 lines
11 KiB
HTML
Raw Normal View History

2015-12-03 12:58:19 +00:00
<!-- title: Workstation -->
<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/manufacturing/doctype/workstation"
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>tabWorkstation</code></p>
<h3>Fields</h3>
<table class="table table-bordered" style="table-layout: fixed;">
<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>description_and_warehouse</code></td>
<td >
Section Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>2</td>
<td class="danger" title="Mandatory"><code>workstation_name</code></td>
<td >
Data</td>
<td >
Workstation Name
</td>
<td></td>
</tr>
<tr >
<td>3</td>
<td ><code>description</code></td>
<td >
Text</td>
<td >
Description
</td>
<td></td>
</tr>
<tr >
<td>4</td>
<td ><code>column_break_4</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>5</td>
<td ><code>holiday_list</code></td>
<td >
Link</td>
<td >
Holiday List
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/hr/holiday_list">Holiday List</a>
</td>
</tr>
<tr class="info">
<td>6</td>
<td ><code>over_heads</code></td>
<td >
Section Break</td>
<td >
Operating Costs
</td>
<td></td>
</tr>
<tr >
<td>7</td>
<td ><code>hour_rate_electricity</code></td>
<td >
Currency</td>
<td >
Electricity Cost
<p class="text-muted small">
per hour</p>
</td>
<td></td>
</tr>
<tr >
<td>8</td>
<td ><code>hour_rate_consumable</code></td>
<td >
Currency</td>
<td >
Consumable Cost
<p class="text-muted small">
per hour</p>
</td>
<td></td>
</tr>
<tr >
<td>9</td>
<td ><code>column_break_11</code></td>
<td class="info">
Column Break</td>
<td >
</td>
<td></td>
</tr>
<tr >
<td>10</td>
<td ><code>hour_rate_rent</code></td>
<td >
Currency</td>
<td >
Rent Cost
<p class="text-muted small">
per hour</p>
</td>
<td></td>
</tr>
<tr >
<td>11</td>
<td ><code>hour_rate_labour</code></td>
<td >
Currency</td>
<td >
Wages
<p class="text-muted small">
Wages per hour</p>
</td>
<td></td>
</tr>
<tr >
<td>12</td>
<td ><code>hour_rate</code></td>
<td >
Currency</td>
<td >
Net Hour Rate
<p class="text-muted small">
per hour</p>
</td>
<td></td>
</tr>
<tr class="info">
<td>13</td>
<td ><code>working_hours_section</code></td>
<td >
Section Break</td>
<td >
Working Hours
</td>
<td></td>
</tr>
<tr >
<td>14</td>
<td ><code>working_hours</code></td>
<td >
Table</td>
<td >
Working Hours
</td>
<td>
<a href="https://frappe.github.io/erpnext/current/models/manufacturing/workstation_working_hour">Workstation Working Hour</a>
</td>
</tr>
</tbody>
</table>
<hr>
<h3>Controller</h3>
<h4>erpnext.manufacturing.doctype.workstation.workstation</h4>
<h3 style="font-weight: normal;">Class <b>NotInWorkingHoursError</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
</div>
<hr>
<h3 style="font-weight: normal;">Class <b>OverlapError</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
</div>
<hr>
<h3 style="font-weight: normal;">Class <b>Workstation</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.model.document.Document</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
<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_bom_operation" href="#update_bom_operation" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>update_bom_operation</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" 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_overlap_for_operation_timings" href="#validate_overlap_for_operation_timings" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
<b>validate_overlap_for_operation_timings</b>
<i class="text-muted">(self)</i>
</p>
<div class="docs-attr-desc"><p>Check if there is no overlap in setting Workstation Operating Hours</p>
</div>
<br>
</div>
<hr>
<h3 style="font-weight: normal;">Class <b>WorkstationHolidayError</b></h3>
<p style="padding-left: 30px;"><i>Inherits from frappe.exceptions.ValidationError</i></h4>
<div class="docs-attr-desc"><p></p>
</div>
<div style="padding-left: 30px;">
</div>
<hr>
<p class="docs-attr-name">
<a name="erpnext.manufacturing.doctype.workstation.workstation.check_if_within_operating_hours" href="#erpnext.manufacturing.doctype.workstation.workstation.check_if_within_operating_hours" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.manufacturing.doctype.workstation.workstation.<b>check_if_within_operating_hours</b>
<i class="text-muted">(workstation, operation, from_datetime, to_datetime)</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="erpnext.manufacturing.doctype.workstation.workstation.check_workstation_for_holiday" href="#erpnext.manufacturing.doctype.workstation.workstation.check_workstation_for_holiday" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.manufacturing.doctype.workstation.workstation.<b>check_workstation_for_holiday</b>
<i class="text-muted">(workstation, from_datetime, to_datetime)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<p><span class="label label-info">Public API</span>
<br><code>/api/method/erpnext.manufacturing.doctype.workstation.workstation.get_default_holiday_list</code>
</p>
<p class="docs-attr-name">
<a name="erpnext.manufacturing.doctype.workstation.workstation.get_default_holiday_list" href="#erpnext.manufacturing.doctype.workstation.workstation.get_default_holiday_list" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.manufacturing.doctype.workstation.workstation.<b>get_default_holiday_list</b>
<i class="text-muted">()</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="erpnext.manufacturing.doctype.workstation.workstation.is_within_operating_hours" href="#erpnext.manufacturing.doctype.workstation.workstation.is_within_operating_hours" class="text-muted small">
<i class="icon-link small" style="color: #ccc;"></i></a>
erpnext.manufacturing.doctype.workstation.workstation.<b>is_within_operating_hours</b>
<i class="text-muted">(workstation, operation, from_datetime, to_datetime)</i>
</p>
<div class="docs-attr-desc"><p><span class="text-muted">No docs</span></p>
</div>
<br>
<h4>Linked In:</h4>
<ul>
<li>
<a href="https://frappe.github.io/erpnext/current/models/manufacturing/bom_operation">BOM Operation</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/manufacturing/operation">Operation</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/manufacturing/production_order_operation">Production Order Operation</a>
</li>
<li>
<a href="https://frappe.github.io/erpnext/current/models/projects/time_log">Time Log</a>
</li>
</ul>
<!-- autodoc -->
<!-- jinja -->
<!-- static -->