Load / Shipment Schedule - Planned Availability date changes if lead time of Destination port changes

Issue No: LG-3135
Created 11/18/2021 2:32:37 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-266891 - LS - Planned Availability date changes if lead time of Destination port changes|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-266891]   _Precondition: Company Configuration > Logistics > Feed ETA to Planned Availability Date must be enabled_   *Steps:*   1. Create Purchase Contract. Specify the Destination Port.   2. Create Inbound Shipment for the contract. Specify ETA POD (ex. today) _LS Planned Availability will be updated = ETA POD._   3. Save and Close LS screen.   4. Go to Common Info > Cities. Open the Destination Port used on LS.   5. Specify "Leadtime from Port to Final Destination" (ex. 5). Save and Close.   6. Go back to Load Shipment screen and reopen your created Inbound Shipment.   7. Close the screen.   *Issue:*   Do you want to Save message prompts even though the user did not change anything. Checking the Dates tab, Planned Availability date was automatically changed to ETA POD + Destination Port Lead time   *Acceptance:*   LS Planned Availability should not automatically change upon opening the screen. It should only be updated/recalculated when user changes the ETA POD.       _Original report:_   JDE customer has reported the below issue in TE2 environment while doing their 2nd UAT testing.     Steps:   # Open the city master and change the lead time of destination port # Open the LS screen   Issue:   In the LS screen the Planned Availability date is recalculated and displayed which is wrong. While the Planned Availability date in the contract sequence does not change.     Acceptance:   In the LS screen the Planned Availability date should recalculate as Act ETA + Lead time at destination port only if the ACT ETA date is modified