Version 6.x.x Source

Table Name: `tabTask`

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `subject` | Data | Subject |
2 | `project` | Link | Project | Project
3 | `column_break0` | Column Break |  |
4 | `status` | Select | Status |
    Open
    Working
    Pending Review
    Closed
    Cancelled
5 | `priority` | Select | Priority |
    Low
    Medium
    High
    Urgent
6 | `section_break0` | Section Break |  |
    Simple
7 | `description` | Text Editor | Details |
8 | `section_break` | Section Break | Depends On |
9 | `depends_on` | Table | depends_on | Task Depends On
10 | `section_break_10` | Section Break |  |
11 | `exp_start_date` | Date | Expected Start Date |
12 | `expected_time` | Float | Expected Time (in hours) |
13 | `column_break_11` | Column Break |  |
14 | `exp_end_date` | Date | Expected End Date |
15 | `actual` | Section Break |  |
16 | `act_start_date` | Date | Actual Start Date (via Time Logs) |
17 | `actual_time` | Float | Actual Time (in hours) |
18 | `column_break_15` | Column Break |  |
19 | `act_end_date` | Date | Actual End Date (via Time Logs) |
20 | `section_break_17` | Section Break |  |
21 | `total_costing_amount` | Currency | Total Costing Amount (via Time Logs) |
    Company:company:default_currency
22 | `total_expense_claim` | Currency | Total Expense Claim (via Expense Claim) |
    Company:company:default_currency
23 | `column_break_20` | Column Break |  |
24 | `total_billing_amount` | Currency | Total Billing Amount (via Time Logs) |
25 | `more_details` | Section Break |  |
26 | `review_date` | Date | Review Date |
27 | `closing_date` | Date | Closing Date |
28 | `column_break_22` | Column Break |  |
29 | `company` | Link | Company | Company

### Controller

#### erpnext.projects.doctype.task.task

### Class CircularReferenceError

Inherits from frappe.exceptions.ValidationError

### Class Task

Inherits from frappe.model.document.Document

check_recursion (self)

No docs

get_customer_details (self)

No docs

get_feed (self)

No docs

get_project_details (self)

No docs

on_update (self)

No docs

reschedule_dependent_tasks (self)

No docs

update_project (self)

No docs

update_time_and_costing (self)

No docs

update_total_expense_claim (self)

No docs

validate (self)

No docs

validate_dates (self)

No docs

validate_status (self)

No docs

Public API
`/api/method/erpnext.projects.doctype.task.task.get_events`

erpnext.projects.doctype.task.task.get_events (start, end, filters=None)

Returns events for Gantt / Calendar view rendering.

Parameters:

- `start` - Start date-time.
- `end` - End date-time.
- `filters` - Filters (JSON).

erpnext.projects.doctype.task.task.get_project (doctype, txt, searchfield, start, page_len, filters)

No docs

Public API
`/api/method/erpnext.projects.doctype.task.task.set_multiple_status`

erpnext.projects.doctype.task.task.set_multiple_status (names, status)

No docs

#### Linked In:

- Dependent Task
- Expense Claim
- Project Task
- Task Depends On
- Time Log