HDTN-271648 - Port to factory lead-time should be added only for Ocean Vessel

Issue No: LG-3291
Created 3/30/2022 9:44:22 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-271648 - Port to factory lead-time should be added only for Ocean Vessel|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-271648]   When the transportation mode is truck, vessel tab is hidden. When ETA POD is changing, though destination port is not visible for the user, system is using lead-time from port to factory and updating the updated availability in the contract sequence.   Steps: 1. Create Purchase Contract 2. Position: Delivery 3. In sequence enter detail/s: 4. up-dated (estim at factory) availability: Date Today 5. Save Contract 6. Process to Shipment 7. LS Screen will open 8. Verify Header Data: Transport mode = Truck 9. Go to Dates tab 10. Enter detail/s: ETA POD = Todays Date 11. Save LS 12. Go to Contracts>Details tab 13. Filter created Contract 14. Updated availability date: Today's date 15. Go back to Created LS 16. Go to Dates tab 17. Change ETA POD = Today's date + 4days 18. Save LS 19. Go back to Contract Details 20. Filter created Contract Issue: Updated availability date: Changed with the same of the ETA POD's Data   Expected:   It should add port to factory lead-time only for 'Ocean Vessel' LS. For truck, ETA POD will have to be updated as it is in the updated availability date in contract sequence.