HDTN-272205 - Commodity is incorrect in the voucher search grid

Issue No: AP-10412
Created 4/18/2022 6:03:02 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 21.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-272205 - Commodity is incorrect in the voucher search grid|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-272205]   Steps   # Create Purchase Contract > Save #* Item: 1105076 (Commodity: Tea) # Click Process > Shipment > Post # Click Create Receipt button # Post the IR created # Purchasing > Activities > Vouchers # Click New button > Input voucher details > Add the payables from IR # Add weight adjustment > Click Save button #* Weight Adjustment (Commodity: Coffee) # Filter for voucher on Search Voucher screen   Note: Vendor belongs to tea commodity   Issue:   System shows as coffee instead of tea.   !pastedImage_d183825_0.png|height=526,width=1042!   Accepted:   It should be tea.   Note   Other charge item is configured as coffee and it is common for both coffee and tea.   System will pick first item to figure out the commodity instead of last item in the voucher line item list.