Blending recompute errors for minor items

Issue No: MFG-4558
Created 6/1/2022 9:18:23 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-273608 - Recompute errors|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-273608]   For the blend, the flavours are the minor and every time when user hit recompute it just increases the bergamot by a lb ( it should be 13.6 lbs according the majors picked ) and it doesn’t change the lemon at all ( it should be 5.2) . It’s also rounding to the nearest lb instead of 0.1 of a lb.   !pastedImage_d186537_0.png|height=419,width=745!   Steps to recreate it.   1. Create a blend demand for the item "C21850" in the blend requirement screen   2. Choose the created blend demand and click on auto blend in the blend requirement screen   3. Add more bags one of the major item.   4. Choose a minor item now   5. Click on 'Recompute' button   6. System is recalculating wrongly