Discount imported from origin is not marked as Override Discount Yes

Issue No: AP-6400
Created 10/29/2018 9:06:03 AM
Type Bug
Priority Major
Status Closed
Resolution Fixed
Fixed Version 18.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-220152 - Pay Vouchers not displaying discount amount|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-220152]       Steps:     1. Use customer database   2. Select an invoice based on this query. Background: In origin, the customer types in the discount amount of the invoice. It may be different from terms discount by a few dollars.   SELECT ysnDiscountOverride,dblDiscount,* FROM tblAPBill where dblDiscount <>0 and ysnOrigin = 1 and dblAmountDue <>0   3. By setting the ysnDiscountOverride, this should always be the discount amount assuming the invoice is paid on time. This discount should not recalculate to a different discount amount at any time if date paid is within discount date.     This is how the voucher should look from origin.   !pastedImage_d107313_0.png!