HDTN-256500 - Approved Qty in contract sequence is increased for all types of samples approvals

Issue No: CT-5559
Created 1/27/2021 8:53:31 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-256500 - Approved Qty in contract sequence is increased for all types of samples approvals|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-256500]   Steps:   - Create a purchase contract with quantity 640 bags of 60 kgs   - Create a pre-shipment sample for quantity 320 bags of 60 kgs and approve it.   - Approved quantity will increase from 0 to 320   - Create an "Arrival" sample for the same sequence with 320 bags of 60 kgs and approve it.   - Approved quantity will increase from 320 to 640   - According to Strauss, approved quantity will have to increase only on approval of pre-shipment samples.   !pastedImage_d152947_0.png|height=585,width=1106!   Expected:   - We cannot hard-code Pre-shipment samples in the program. We need to have a field in the CT company preference to configure multiple sample types separate by comma and use those types for increasing the approved quantity.