HDTN-273124 - Contract Status not updated correctly for Purchase contract

Issue No: CT-7281
Created 5/18/2022 2:46:53 AM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-273124 - Contract Status not getting updated correctly after Quantity fully Invoiced|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-273124]   *Steps:*   1. Create Purchase and Sale Contract 2. Allocate Purchase and Sale Contract 3. Create Load Shipment and Save 4. Open Purchase Contract 5. *Minimize Purchase Contract* 6. *Post Load Shipment* 7 *. Create and Post Invoice* 8. *Open Purchase Contract without refreshing the screen* 9. *Open sequence and change the Provisional P & L = TRUE* 10. *Save Purchase Contract*     *ISSUE:*   Contract Status and Shipment Status Pairing as shown in the below screenshot is incorrect:   A contract can never be in OPEN status when Shipment status = INVOICED.   Per user the {color:#1f497d}Contract has been invoiced over total contract quantity on both sides, but the contract still appears as open as shown below{color}   !pastedImage_d185737_0.png|height=367,width=1081!     *Accepted:*   Should show the correct Contract Status.