HDTN-268984 - System saves with wrong storage location in the contract screen

Issue No: CT-6718
Created 1/17/2022 4:10:54 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-268984 - System saves with wrong storage location in the contract screen|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-268984]   Steps   1. Create a new contract for the company location "Canada" and storage location as "35-LocalWhse".   2. Save the contract and close the contract screen   3. Open the same contract   4. Change company location as "US"   5. Save the contract   Issue   System saves company location as "US" and storage location as "35-LocalWhse" but "35-LocalWhse" belong to company location "Canada"   Expectation   While saving, system should validate whether the selected storage location belongs to the selected company location or not.