Return Delivery Note Error Loop

  • Customer has recevied an order made up of 5 lines of items.
  • Customer is on account so has not paid for order yet.
  • Customer has returned one line of items.
  • I create a return delivery note to reintroduce stock to shelf
  • Return Delivery Note requests serial numbers
  • Inputted serial numbers changes quantity from a negative value to a positive value
  • Return DN won’t submit with a postive value or without serial numbers.

Has anyone experienced this before? It is preventing me from processing a customer refund.

all serialized item should have proper serial numbers. and when you return an item the quantity should always be negative

Hello Maveez,
Thank you for the response.

All items are properly serialised, as they were checked out with the serial numbers.
The return asks me to identify which serial numbers are returning, I input the same serial numbers and that action turns the quantity to a positive number. Which creates the error.

Changing the quantity manually back to a negative number, removes the serial number.

It seems to be stuck in some kind of error loop

I am still struggling with this issue if anybody has a solution.
Seems to be a bug.

I haven’t found another thread discussing the issue.

This is an error in ERPNEXT
because the batch number of the material is not correctly filled in the detail line of the sales delivery order. If you need to use the batch number, you can manually specify it, so that the return will be returned according to the original batch number

Hmmm the item doesn’t have Batch No. enabled - with sales already associated with the item, I’ll be unable to enable this now. See below.

Currently the correct serial number is defined in the Serial and Batch Number (SABB)

Do you think I’ll be unable to rectify without Batch No. ?

I have encountered the same issue with the batch number and serial number during testing. If we plan to use them in an actual environment, I suggest developing a script to implement it or manually adding it to the sales and delivery details.