CLONE - Receipt number is updated incorrectly

Issue No: MFG-3508
Created 5/8/2018 8:14:23 AM
Type Bug
Priority Major
Status Closed
Resolution Fixed
Fixed Version 18.3
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-212668 - Receipt number is not updated in lot (IR-2187)|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-212668] Receipt number is updated incorrectly   Steps:   1. Go to Inventory Receipt and create a new receipt   2. Add two line item and then add lots to it   3. Post the Receipt   4. Unpost the receipt   5. Remove one line item from receipt   6. Post it again   7. Create one more receipt   8. Add the line item deleted from previous receipt   9. Add the Lot id which were deleted from previous receipt   10. Post this receipt   Issue: The Lots which are reused from previous receipt to are still shwoing the old receipt number.   Expected: Application should show the latest receipt number where the lot is received. It should not show the receipt number of unposted receipt.