Warehouses in production order

Is it possible to fetch the warehouses automatically in production order?


Currently not available this featuer ,but you can do through the customization.

Geetanjali Shitole
New Indictrans Technologies Pvt. Ltd

Could you please tell me the logic, What to do in customize form?

@santosh_baburao hey this feature was added a couple of months back. Go to Manufacturing > setup > Manufacturing Settings and set default Warehouses for your production order.

Thanks Neil.
Our manufacturing item includes series of operations, at every stage we have to create production order which will have different warehouses for ‘work in progress’ and ‘finished goods’.
Is it possible to fetch the warehouses depending on item selected?

frappe.ui.form.on(“Production Order”, “production_item”, function(frm, doctype, name) {
cur_frm.set_value(“wip_warehuse”, “YOUR_WIP_WAREHOUSE”);
cur_frm.set_value(“fg_warehuse”, “YOUR_FG_WAREHOUSE”);

The best way is to do on the basis of Item Group.
Use a Custom Field (Link) Item_Group on the form and check the value of item_group instead of production_item

1 Like

@santosh_baburao item wise warehouse is not available at the moment. Please use the script as suggested by @ruchin78

Thanks Ruchin78/Neilasrado.
Could you please tell me where to update the script?

1 Like

Thank you.