[CodeFix]- Scale tickets should not add discounts to IR

Issue No: SC-3972
Created 12/17/2020 10:27:00 PM
Type Bug-QC
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 19.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-234198 - Open Clearing Detail report gives inaccurate results|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-234198]     Grain discounts from the original IRs are still showing in the report.   !pastedImage_d150157_0.png|height=152,width=850!   !pastedImage_d150157_1.png|height=152,width=850!     # Need a data fix for scale tickets to remove them from IR's. Also query for any other IR"s that have discounts on the IR from the scale ticket. # Reverse the AP CLearing GL entries for these discounts, if any # Use the other charge account of the item as the offset account. # Use 11/30 as the date for the reversal entries. The date should be editable in the script in case it needs to be changed.     Steps:   Create delivery sheet.   Create 2 tickets and link it to DS.   In DS, enter grades.   Post DS.     Issue:   Discounts reflected in IR.     Acceptance:   Transaction with DS should not have discounts in IR