Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cur_frm.cscript.item_group = function(doc) {
- if(doc.item_group="Finished Goods") {
- cur_frm.set_value("default_warehouse", "Finished Goods Warehouse");
- cur_frm.set_value("is_purchase_item", "No");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement