Version 6.7.7 Source

Table Name: `tabMaterial Request`

### Fields

Sr | Fieldname | Type | Label | Options
--- | --- | --- | --- | ---
1 | `type_section` | Section Break |  |
    icon-pushpin
2 | `title` | Data | Title |
3 | `material_request_type` | Select | Type |
    Purchase
    Material Transfer
    Material Issue
4 | `column_break_2` | Column Break |  |
5 | `naming_series` | Select | Series |
    MREQ-
6 | `amended_from` | Link | Amended From | Material Request
7 | `company` | Link | Company | Company
8 | `items_section` | Section Break |  |
    icon-shopping-cart
9 | `items` | Table | Items | Material Request Item
10 | `more_info` | Section Break | More Information |
    icon-file-text
11 | `requested_by` | Data | Requested For |
12 | `transaction_date` | Date | Transaction Date |
13 | `column_break2` | Column Break |  |
14 | `status` | Select | Status |
    Draft
    Submitted
    Stopped
    Cancelled
15 | `per_ordered` | Percent | % Ordered |
16 | `printing_details` | Section Break | Printing Details |
17 | `letter_head` | Link | Letter Head | Letter Head
18 | `select_print_heading` | Link | Print Heading | Print Heading
19 | `terms_section_break` | Section Break | Terms and Conditions |
    icon-legal
20 | `tc_name` | Link | Terms | Terms and Conditions
21 | `terms` | Text Editor | Terms and Conditions Content |

### Controller

#### erpnext.stock.doctype.material_request.material_request

### Class MaterialRequest

Inherits from erpnext.controllers.buying_controller.BuyingController

check_if_already_pulled (self)

No docs

check_modified_date (self)

No docs

get_feed (self)

No docs

on_cancel (self)

No docs

on_submit (self)

No docs

update_completed_qty (self, mr_items=None)

No docs

update_requested_qty (self, mr_item_rows=None)

update requested qty (before ordered_qty is updated)

update_status (self, status)

No docs

validate (self)

No docs

validate_qty_against_so (self)

No docs

validate_schedule_date (self)

No docs

erpnext.stock.doctype.material_request.material_request.get_material_requests_based_on_supplier (supplier)

No docs

Public API
`/api/method/erpnext.stock.doctype.material_request.material_request.make_purchase_order`

erpnext.stock.doctype.material_request.material_request.make_purchase_order (source_name, target_doc=None)

No docs

Public API
`/api/method/erpnext.stock.doctype.material_request.material_request.make_purchase_order_based_on_supplier`

erpnext.stock.doctype.material_request.material_request.make_purchase_order_based_on_supplier (source_name, target_doc=None)

No docs

Public API
`/api/method/erpnext.stock.doctype.material_request.material_request.make_stock_entry`

erpnext.stock.doctype.material_request.material_request.make_stock_entry (source_name, target_doc=None)

No docs

Public API
`/api/method/erpnext.stock.doctype.material_request.material_request.make_supplier_quotation`

erpnext.stock.doctype.material_request.material_request.make_supplier_quotation (source_name, target_doc=None)

No docs

erpnext.stock.doctype.material_request.material_request.set_missing_values (source, target_doc)

No docs

erpnext.stock.doctype.material_request.material_request.update_completed_and_requested_qty (stock_entry, method)

No docs

erpnext.stock.doctype.material_request.material_request.update_item (obj, target, source_parent)

No docs

#### Linked In:

- Material Request
- Stock Entry Detail
- Supplier Quotation Item