Version 6.x.x Source

Table Name: `tabProject`

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `project_name` | Data | Project Name |
2 | `status` | Select | Status |
    Open
    Completed
    Cancelled
3 | `project_type` | Select | Project Type |
    Internal
    External
    Other
4 | `column_break_5` | Column Break |  |
5 | `is_active` | Select | Is Active |
    Yes
    No
6 | `priority` | Select | Priority |
    Medium
    Low
    High
7 | `section_break_12` | Section Break |  |
8 | `expected_start_date` | Date | Expected Start Date |
9 | `column_break_11` | Column Break |  |
10 | `expected_end_date` | Date | Expected End Date |
11 | `customer_details` | Section Break |  |
    icon-user
12 | `customer` | Link | Customer | Customer
13 | `column_break_14` | Column Break |  |
14 | `sales_order` | Link | Sales Order | Sales Order
15 | `sb_milestones` | Section Break | Tasks |
    icon-flag
16 | `tasks` | Table | Tasks | Project Task
17 | `percent_complete` | Percent | % Tasks Completed |
18 | `section_break0` | Section Break |  |
    icon-list
19 | `notes` | Text Editor | Notes |
20 | `section_break_18` | Section Break |  |
21 | `actual_start_date` | Data | Actual Start Date |
22 | `actual_time` | Float | Actual Time (in Hours) |
23 | `column_break_20` | Column Break |  |
24 | `actual_end_date` | Date | Actual End Date |
25 | `section_break_26` | Section Break |  |
26 | `estimated_costing` | Currency | Estimated Costing |
    Company:company:default_currency
27 | `column_break_22` | Column Break |  |
28 | `company` | Link | Company | Company
29 | `cost_center` | Link | Default Cost Center | Cost Center
30 | `project_details` | Section Break |  |
    icon-money
31 | `total_costing_amount` | Currency | Total Costing Amount (via Time Logs) |
32 | `total_expense_claim` | Currency | Total Expense Claim (via Expense Claims) |
33 | `column_break_28` | Column Break |  |
34 | `total_billing_amount` | Currency | Total Billing Amount (via Time Logs) |
35 | `total_purchase_cost` | Currency | Total Purchase Cost (via Purchase Invoice) |
36 | `margin` | Section Break |  |
37 | `gross_margin` | Currency | Gross Margin |
    Company:company:default_currency
38 | `column_break_37` | Column Break |  |
39 | `per_gross_margin` | Percent | Gross Margin % |

### Controller

#### erpnext.projects.doctype.project.project

### Class Project

Inherits from frappe.model.document.Document

__setup__ (self)

No docs

get_feed (self)

No docs

get_tasks (self)

No docs

onload (self)

Load project tasks for quick view

sync_tasks (self)

sync tasks and remove table

update_costing (self)

No docs

update_percent_complete (self)

No docs

update_project (self)

No docs

update_purchase_costing (self)

No docs

validate (self)

No docs

validate_dates (self)

No docs

Public API
`/api/method/erpnext.projects.doctype.project.project.get_cost_center_name`

erpnext.projects.doctype.project.project.get_cost_center_name (project_name)

No docs

#### Linked In:

- BOM
- Delivery Note
- Expense Claim
- Production Order
- Purchase Invoice Item
- Purchase Order Item
- Purchase Receipt Item
- Sales Invoice
- Sales Order
- Stock Entry
- Stock Ledger Entry
- Supplier Quotation Item
- Task
- Time Log