Mark Contract Complete When DWG is Posted

Issue No: CT-4940
Created 7/1/2020 8:56:35 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.2
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-245310 - Sales Basis Deliveries: Destination Weights and Grades |https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-245310]     + *STEPS* +   # Create a sale basis contract with dest. weights and grades setup # Create a ticket where Distribution = Contract ## Use the created contract ## Do not post yet the DWG # Go back to the contract, then verify the sequence status # Post all the DWG that will fully utilized contract qty # Check the sequence status   + *ACCEPTANCE* +   Per meeting with Dan, Jayson, Phil and Jeoff it was decided that a sales contract should be marked as complete when the balance hits zero + *and* + the DWG has been posted. Currently, the contract will remain open until the invoice is created (and possibly posted). We decided it should occur as soon as scale posts the DWG to guard against potential AR issues that leave the contract hanging open.