Contract - new Planned Availability Date calculation has not been performed for the sliced sequences

Issue No: CT-7426
Created 6/21/2022 3:10:50 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-274243 - Leadtime I21 - after slicing|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-274243]   Customer has reported the below issue in their Live environment     Steps:   * Open the contract 1005346.472 * Slice the contract to 2 sequences * For sequence 1 in the Vessel tab add the Loading port, Destination port, Sub Location, Storage location * For sequence 2 in the Vessel tab add the Loading port, Destination port, Sub Location, Storage location * Save the contract     Issue:   For sequence 2 the Planned Availability date is showing wrongly as 16/12/2022 calculating based on the sequence start date and the number of days configured in the Contract Positions for each position.   While It should be calculated as   Planned Availability date = Seq. start date + Lead time between Loading Port and Destination Port   + Lead time at loading port + Lead time at destination port   = 1/11/2022 + 44 + 21 + 14   = 19/01/2023   The same issues has happened in other contracts also like 1005346.473, 1005415.2203, 1005415.2204     Acceptance:   It should calculate and display the Planned Availability date correctly in the contract