Voucher - Terms discount

Issue No: AP-2528
Created 6/29/2016 7:07:51 AM
Type Feature
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 17.3
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-177466 - 17.2 Importing RV/Petrolac to i21|http://helpdesk.irely.com/iRelyi21live/i21/#/HD/Ticket/?ticket=HDTN-177466] *Use Case:*   This would be an override for the amount calculated by the terms codes that would be the default.   * A terms discount would fill based upon the terms codes that were assigned * The user may wish to override the amount. * if the users overrides there should be a flag called manual override that would get marked - is this being displayed???? * if the terms codes are changed after manual override ** warning would be raised: "Terms codes were manually overridden - are you sure you wish to change" ** if the user responds yes *** then the new terms codes discount would be written and discount calculated ** if the user responds *** then the new terms codes discount would not be save dand the terms info would remain unchanged. * If no manual override is applied then use todays date vs the Invoice date on the voucher to caculate the terms to dispay on the voucher entry form. * if the voucher is reopened after the current date - invoice date > discount days then zero should show in the terms discount.   So lets say that the terms codes were 1% net 10 and the bill was for 100.45   that would give a discount of 1.00 but if the vendor charges 1.01 the i21 user may want to avoid the hastle and pay the extra .01.   So this would give them the ability to pay the extra .01.       *Details:*   Please add terms discount amount to the voucher   at the bottom of the voucher add the discount amount and allow the user to override.   Track with a flag if the amount was overridden.   Lets say that the terms discount is 1% which would be 10 cents on a 10 dollar voucher   lets say you are billed for 9 cents or 11 cents - you would want to be able to override the terms discount   so you should calcualte the terms discount - add it to the bottom of the voucher and allow override.     *Test case:*   * Enter a voucher for 100.01 with terms 1% net 10 ** discount should auto calc as 1.00 (use current date to compare to invoice date) ** manaul discount flag should not be set * Enter a discount override of 1.01 * manual flag should be set * Pay the voucher within terms date * 1.01 should be deducted from the voucher.     !pastedImage_d58402_0.png!