Contract - Samples are not adjusted with PO slicing

Issue No: CT-10290
Created 3/1/2024 1:03:20 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 23.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-332207 - 23.1 TC2 - I21 Annual Upgrade 2023 - Samples are not adjusted with PO slicing|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-332207]   *Steps:*   1. Create a Purchase Basis Contract   * Quantity: 1440 per 60 kg bags * Quality Approval: Subject approval of pre-shipment sample   2. Change contract status to Open and save 3. Click Quality button and enter these details:   * Sample Type: Approval Sample * Representing Qty: 1440 per 60 kg bags * Sample Status: Received   4. Save and close 5. Reopen Quality Sample and change Status to Approved and save 6. Open the contract and slice the sequence to 3 and save 7. Verify the Sample Approved Quantities   *Issue:* Customer has reported the below issue in TE2 environment while doing their UAT testing. When slicing a PO with samples approved to that PO, those samples should be properly updated in I21.   In below example I sliced 5900075033 originally 1440 bags but with slicing the approved qty is not updated.   Now it shows as twice the amount of approved quantity. Also in the live system another sample is created with the QS Sample NO, that did not happen in the Test system.   !pastedImage_d260338_0.jpg!   *Acceptance:*   Sample Approved Quantities should show correct amount of approved quantity.