Batch number not filtered based on item code in Stock Reconciliation Item

Hi All,

Within Stock Reconciliation Item, users are able to choose Batch No, but that field seems to be not filtered by the item code that has been inputted. Normally, in item-related tables that involves Batch No, it would be filtered accordingly (e.g. Purchase Order, Sales Order, etc) and so the same should be applied in stock reconciliation. Is this a bug or is there any particular reason why it’s happening?


This issue does exist and results in inconsistent Stock data.
Created a Github Issue Batch No Validation and Filter on Stock Reconciliation Item Table · Issue #25491 · frappe/erpnext · GitHub