Unable to price the contract that was used in settle storage

Issue No: GRN-2218
Created 6/19/2020 8:03:54 AM
Type Bug-QC
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-248406 - CNT# 1749|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-248406] [HDTN-246973 - CNT# 595 - Pricings not linked right|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-246973]   *Steps* :   # Create Purchase Basis Contract for 1000 Bushels. # Create multiple tickets for the contract ## Ticket-1 (150 Bushels) = Distribute to Customer Hold ## Ticket-2 (100 Bushels) = Distribute to Customer Hold ## Ticket-3 (200 Bushels) = Distribute to Customer Hold ## Ticket-4 (250 Bushels) = Distribute to Contract (use the Contract created in step #1) # Settle Ticket-1 and Ticket-2 at the same time to the Contract created in step #1 > Post # Settle Ticket-3 to the Contract created in step #1 > Post # Partially price the contract (multiple pricing layer) ## Price layer 1 = 100 Bushels ## Price layer 2 = 200 Bushels ## Price layer 3 = 130 Bushels ## Price layer 4 = 270 Bushels   *Issue* :   Encounter error when saving price.   !pastedImage_d139048_0.png|height=402,width=553!       | *Actual Units* | *Gross Unit* | *Tare Unit* | |150|9001|1| |100|6001|1| |200|12001|1| |250|15001|1|