You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Newly introduced Batch Wise Item pricing [https://github.com//pull/24470] is not working for multiple batches
Context information (for bug reports)
Created two Batches for an Item and received 10 Nos and 6 Nos in two batches at 1500 and 1600 respectively.
Then added Item price for each batch as 2000 and 2200 respectively
When creating a Delivery Note or Sales Invoice with Batch 2, it is not fetching the Rate defined on Item Price for that Batch
Description of the issue
Newly introduced Batch Wise Item pricing [https://github.com//pull/24470] is not working for multiple batches
Context information (for bug reports)
Created two Batches for an Item and received 10 Nos and 6 Nos in two batches at 1500 and 1600 respectively.
Then added Item price for each batch as 2000 and 2200 respectively
When creating a Delivery Note or Sales Invoice with Batch 2, it is not fetching the Rate defined on Item Price for that Batch
Output of
bench version
Steps to reproduce the issue
Purchase Receipt
with 10 Qty at 1500 each, Batch 1Purchase Receipt
with 5 Qty at 1600 each, Batch 2Item Price
for Item 1, Batch 1, Selling at 2000Item Price
for Item 1, Batch 2, Selling at 2200Delivery Note
for Item 1 from Batch 2 and Save the Delivery NoteObserved result
Rate is not fetched for Batch 2 as defined in Step 5 above
Expected result
Rate should be fetched from Batch 2 Item Price as defined in Step 5 of Steps to reproduce the issue
Stacktrace / full error message
Additional information
OS version / distribution,
ERPNext
install method, etc.OS: Ubuntu 20
Easy Install Script with some variation to make it work
The text was updated successfully, but these errors were encountered: