How are you adding the second row in the Delivery Note? Are you adding the 2nd row manually, after pulling first row from sales order.
I think one/both row does not the reference of sales order.
Yes, I added the second row manually. Else, how do you suggest to do different batches?
Of course, we are able to do separate delivery notes for different batches at the moment but in terms of user needs, it has to be able to transact under 1 delivery note.
After pulling first row from Sales Order, change the qty as per batch 1. Then again pull the item from Sales Order using “Get Items From” button, it should pull pending qty in a separate row, assign it batch 2.
This way it will update delivered qty in Sales Order for both rows.