Table Name: tabBOM
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 |
Inherits from frappe.model.document.Document
Add items to Flat BOM table
add_to_cur_exploded_items (self, args)
No docs
No docs
Calculate bom totals
Update workstation rate and calculates totals
Fetch RM rate as per today's valuation rate and calculate totals
Check whether recursion occurs in any bom
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 all raw materials including items from child bom
get_item_det (self, item_code)
No docs
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
Uncheck others if current one is selected as default, update default bom in item master
No docs
No docs
No docs
No docs
set_bom_material_details (self)
No docs
traverse_tree (self, bom_list=[])
No docs
No docs
update_cost_and_exploded_items (self, bom_list=[])
No docs
Update Flat BOM, following will be correct data
No docs
No docs
Validate main FG item
Validate raw material entries
No docs
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