frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
20.13k stars 7.05k forks source link

Putaway Rule with Inventory Dimension not working #41674

Open sorinpopescu opened 3 months ago

sorinpopescu commented 3 months ago

Information about bug

I expect if I create a Putaway rule with Warehouse and a Inventory Dimension field, when the Putaway rule is applied, to populate Warehouse and Inventory Dimension, but only Warehouse is populated.

The steps i did for one item:

I have created a new docType: WarehouseLocation I have created a new Inventory Dimension: Item Location I set the Item location to 2 entries 001 and 001 (for testing) I have created a new Putaway rule for an item and set – Warehouse: MainWarehouse – Inventory Dimension: 002 I have created an stock entry to test, I have added the item and checked the “Apply putway rules” and it was applied, but wrong: warehouse was applied OK, but NO Inventory Dimension.

I have tried several times and no working. I guess dynamic option of inventory Dimension is not automated completed.

Forum link: https://discuss.frappe.io/t/items-auto-select-last-warehouse-and-or-inventory-dimension/124136/4

Module

stock

Version

ERPNext: v15.24.1 Frappe Framework: v15.27.0

Installation method

docker

Relevant log output / Stack trace / Full Error Message.

No response

nabinhait commented 3 months ago

This is not a bug, it's a feature request.

sorinpopescu commented 3 months ago

On the Putaway rule, there are fields like:

If the field Inventory Dimensions exists and I fill the Inventory Dimension sand those are not populated/applied then it's a Bug.

if it's a Feature Request - then remove the Inventory Dimensions fields from Putaway Rule - so it's not confusing users where their expectations would be - If I fill a field - I expect to be populated.