Version 6.7.7 Source

Table Name: `tabWorkstation`

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `description_and_warehouse` | Section Break |  |
2 | `workstation_name` | Data | Workstation Name |
3 | `description` | Text | Description |
4 | `column_break_4` | Column Break |  |
5 | `holiday_list` | Link | Holiday List | Holiday List
6 | `over_heads` | Section Break | Operating Costs |
7 | `hour_rate_electricity` | Currency | Electricity Cost per hour |
8 | `hour_rate_consumable` | Currency | Consumable Cost per hour |
9 | `column_break_11` | Column Break |  |
10 | `hour_rate_rent` | Currency | Rent Cost per hour |
11 | `hour_rate_labour` | Currency | Wages Wages per hour |
12 | `hour_rate` | Currency | Net Hour Rate per hour |
13 | `working_hours_section` | Section Break | Working Hours |
14 | `working_hours` | Table | Working Hours | Workstation Working Hour

### Controller

#### erpnext.manufacturing.doctype.workstation.workstation

### Class NotInWorkingHoursError

Inherits from frappe.exceptions.ValidationError

### Class OverlapError

Inherits from frappe.exceptions.ValidationError

### Class Workstation

Inherits from frappe.model.document.Document

on_update (self)

No docs

update_bom_operation (self)

No docs

validate (self)

No docs

validate_overlap_for_operation_timings (self)

Check if there is no overlap in setting Workstation Operating Hours

### Class WorkstationHolidayError

Inherits from frappe.exceptions.ValidationError

erpnext.manufacturing.doctype.workstation.workstation.check_if_within_operating_hours (workstation, operation, from_datetime, to_datetime)

No docs

erpnext.manufacturing.doctype.workstation.workstation.check_workstation_for_holiday (workstation, from_datetime, to_datetime)

No docs

Public API
`/api/method/erpnext.manufacturing.doctype.workstation.workstation.get_default_holiday_list`

erpnext.manufacturing.doctype.workstation.workstation.get_default_holiday_list ()

No docs

erpnext.manufacturing.doctype.workstation.workstation.is_within_operating_hours (workstation, operation, from_datetime, to_datetime)

No docs

#### Linked In:

- BOM Operation
- Operation
- Production Order Operation
- Time Log