HDTN-267998 - Rolling contract changed basis on previously priced loads

Issue No: CT-6627
Created 12/20/2021 5:36:36 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-267998 - Rolling contract changed basis on previously priced loads|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-267998]   Mike priced part of a contract, rolled the contract (changed the basis), tickets were applied to the contract, then the rest of the contract was priced. When Mike rolled the contract and changed the basis, it changed the basis on the already priced portion so that price on my invoices is wrong. Contract # 4776-1 - Original basis was +25.5 for the 6 loads in pricing #1.   *Steps:*   # Create Sales Basis Contract - Load Based (Load = 25, Basis = 25.5) # Generate load (Load = 25) # Partially price contract (Seq 1: Load = 6) _Basis is correct, 25.50_ # Roll Contract (Basis = 29.5) # Check Pricing _Basis is still correct. New Basis and new Futures Month is applied to 2nd pricing layer_ # Change Basis from Contract Sequence screen (Basis = 33.00) # Check Pricing {color:#c0392b}_Basis is also changed for the already priced portion of the contract._{color} # Distribute ticket to the contract (10 Ticket) # Fully price contract (Seq 2: Load = 19) # Check invoices from pricing layer 1 {color:#c0392b}_Incorrect as the Cash/Final price from Price Contract is incorrect due to changed Basis_{color}   *Issue:* Incorrect price in invoice due to changed Basis from step 7 !pastedImage_d176074_0.jpg!   *Accepted:* Basis should not change for the already priced portion of the contract