HDTN-259551 - Post Destination Weights/Grades does not create correct units for freight vendor

Issue No: SC-4117
Created 4/27/2021 2:55:55 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-259551 - Freight Cost on sales contract|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-259551]   When a Sale Contract has a freight charge and has Destination Weights and Grades, Posting of the Destination Weights and Grades does not create the proper freight Add Payable. If the contract has Origin Weights and Grades the Add Payable is created correctly. The Add Payable that is created with destination weights only has one unit instead of the number of units on the scale ticket.   Steps:   # Create Sale Contract, set Destination Weights and Grades # Add freight cost on the contract. .26 per unit # Create Load Out scale ticket # Distribute to contract. # Post Destination Weights and Grades # Create New Voucher with freight vendor used on the contract. # Check Add Payables popup to see if the correct payable is created.   !pastedImage_d159327_0.png|height=225,width=528!   Issue:   Does not create the proper freight on Add Payable   Acceptance:   Should create the proper freight on Add Payable