Version 6.x.x Source

Table Name: tabBOM

Fields

Sr Fieldname Type Label Options
1 item Link Item

Item to be manufactured or repacked

Item
2 item_name Data Item Name
3 rm_cost_as_per Select Rate Of Materials Based On
Valuation Rate
Last Purchase Rate
Price List
4 buying_price_list Link Price List Price List
5 cb0 Column Break
6 is_active Check Is Active
7 is_default Check Is Default
8 with_operations Check With Operations

Manage cost of operations

9 operations_section Section Break Operations

Specify the operations, operating cost and give a unique Operation no to your operations.

10 operations Table Operations BOM Operation
11 materials_section Section Break Materials
12 items Table Items BOM Item
13 quantity Float Quantity

Quantity of item obtained after manufacturing / repacking from given quantities of raw materials

14 costing Section Break Costing
15 operating_cost Currency Operating Cost
Company:company:default_currency
16 raw_material_cost Currency Raw Material Cost
Company:company:default_currency
17 cb1 Column Break
18 total_cost Currency Total Cost
Company:company:default_currency
19 more_info_section Section Break
20 project_name Link Project Name Project
21 company Link Company Company
22 amended_from Link Amended From BOM
23 col_break23 Column Break
24 uom Link Item UOM UOM
25 section_break_25 Section Break
26 description Small Text Item Desription
27 column_break_27 Column Break
28 image Attach Image
29 image_view Image Image View
image
30 section_break0 Section Break Materials Required (Exploded)
31 exploded_items Table Exploded_items BOM Explosion Item

Controller

erpnext.manufacturing.doctype.bom.bom

Class BOM

Inherits from frappe.model.document.Document

add_exploded_items (self)

Add items to Flat BOM table


add_to_cur_exploded_items (self, args)

No docs


autoname (self)

No docs


calculate_cost (self)

Calculate bom totals


calculate_op_cost (self)

Update workstation rate and calculates totals


calculate_rm_cost (self)

Fetch RM rate as per today's valuation rate and calculate totals


check_recursion (self)

Check whether recursion occurs in any bom


clear_operations (self)

No docs


get_bom_material_detail (self, args=None)

Get raw material details like uom, desc and rate


get_bom_unitcost (self, bom_no)

No docs


get_child_exploded_items (self, bom_no, qty)

Add all items from Flat BOM of child BOM


get_exploded_items (self)

Get all raw materials including items from child bom


get_item_det (self, item_code)

No docs


get_rm_rate (self, arg)

Get raw material rate as per selected method, if bom exists takes bom cost

get_valuation_rate (self, args)

Get weighted average of valuation rate from all warehouses


manage_default_bom (self)

Uncheck others if current one is selected as default, update default bom in item master


on_cancel (self)

No docs


on_submit (self)

No docs


on_update (self)

No docs


on_update_after_submit (self)

No docs


set_bom_material_details (self)

No docs


traverse_tree (self, bom_list=[])

No docs


update_cost (self)

No docs


update_cost_and_exploded_items (self, bom_list=[])

No docs


update_exploded_items (self)

Update Flat BOM, following will be correct data


validate (self)

No docs


validate_bom_links (self)

No docs


validate_main_item (self)

Validate main FG item


validate_materials (self)

Validate raw material entries


validate_operations (self)

No docs


validate_rm_item (self, item)

No docs



Public API
/api/method/erpnext.manufacturing.doctype.bom.bom.get_bom_items

erpnext.manufacturing.doctype.bom.bom.get_bom_items (bom, company, qty=1, fetch_exploded=1)

No docs


erpnext.manufacturing.doctype.bom.bom.get_bom_items_as_dict (bom, company, qty=1, fetch_exploded=1)

No docs


erpnext.manufacturing.doctype.bom.bom.validate_bom_no (item, bom_no)

Validate BOM No of sub-contracted items


Linked In: