While click on save the contract number is going off and then the the price field is taking profile price

Issue No: CF-2986
Created 5/10/2022 7:02:03 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-272960 - While click on save the contract number is going off and then the the price field is taking profile |https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-272960]   [Contract price Vs Profile price in transaction .mp4|https://iguidedashboard.sharepoint.com/:v:/s/TrainingVideos/EeMSd6-kbvhMhZS3F0d99QYBI2Ni5J3mG87dhMhZuuQRew?e=eLPQ9R]   Please see the last 1 minute of this vide for the issue.   +Steps:+   # Create a contract for the customer and item that will be used for the transaction # Create or duplicate a transaction with the same customer and item. Automatically the price method will be contract pricing. # Save the transaction. # Check the contract's Qty Scheduled and Available Balance. Qty Scheduled is equal to the transaction's qty. Available balance lessen its value by the Qty Scheduled. # Go back to the transaction and click recalculate. Click Save. # Check the transaction Price Method. It is now displaying different pricing and not the contract pricing. # Check the contract's Qty Scheduled and Available Balance. Qty Scheduled is still equal to the transaction's qty. Available balance lessen its value by the Qty Scheduled.   +Issue:+   * After creating the contract and transaction it is splitting correctly, but while click on save the contract number is going off and then the the price. then if clicked on save again then the contract number will come and the price will take correctly.   !pastedImage_d185008_0.png|height=409,width=730!     +Acceptance:+   * Recalculating the transaction that uses the contract pricing should not change the price method and pricing upon saving.