Is it possible to fetch the warehouses automatically in production order?
Thanks
santosh
Is it possible to fetch the warehouses automatically in production order?
Thanks
santosh
Currently not available this featuer ,but you can do through the customization.
Geetanjali Shitole
New Indictrans Technologies Pvt. Ltd
Thanks.
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) {
if(production_item==âXYZâ)
{
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
@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?
Thank you.