HDTN-336470 - Add shipment

Issue No: AR-20907
Created 3/28/2024 9:44:08 AM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-336470 - Add shipment|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-336470]   Posting Dest Weights/Grades that applied to multiple contracts is creating zero dollar invoices even though the contracts are priced. On the invoices, the Shipped field is not populating but if you click Add Shipment on the invoice, you can manually add the quantity.   Example: Scale ticket 25071 - Post Dest Weights and Grades.   Created Invoices SI-235 and SI-235 (should have only created one). Both invoices are zero dollar.   !pastedImage_3_28_2024__9_48_13_166.png|height=350,width=553!   !pastedImage_3_28_2024__9_48_24_815.png|height=349,width=553!   When you click the Add Shipment button, you can see the quantities.   !pastedImage_3_28_2024__9_49_27_703.png|height=178,width=553!     Steps:   1. Create sales priced contract for Scott City Location. Weights/Grades = Destination. (500 bu)   2. Create another sales priced contract for Stockton Siding, CO Location. Weights/Grades = Destination. (500 bu)   3. Ticket module, In station 2, create new Load Out ticket.   4. Select the contract for Scott City. (Weight of the ticket should be more than 500 bu).   5. Manually distribute ticket. and Allocate excess units to 2nd contract.   6. Distribute ticket.   7. Post DWG     Acceptance:   1. Should only generate single invoice.   2 line items and shipped qty should be based on the allocated units upon posting DWG with indicated contract and Sequence