Delivery Fill Report using incorrect pricing

Issue No: TM-2712
Created 1/23/2018 10:25:38 AM
Type Bug
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-207736 - Price deviation is not working|http://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-207736]     Possibly related to TM-2700 and TM-2706. The Delivery Fill report is incorrectly pricing when a discount is set up for the associated item.     When a discount is present, any deviation on the site is ignored and only the discount is applied to the printed price.   When there is no terms discount, the deviation is applied as expected and the price is otherwise correct.   The price shown should be the standard price +/- any deviation. Discounts should not be included in displayed prices when the discount type is Terms Discount, since those only apply if paid within the term period.   Orders appear to be pricing correctly.   *+Steps+:*   1. Open a site with a special price. Enter price adjustment for the site. Save.   2. Do not create an order for the site.   3. Print a Delivery Fill Report for that customer. Check the price. It should display the special price + adjustment even if there is no existing order.   *+Issue+:*   Printing Delivery Fill Report with no existing order prints special price without price adjustment.   *+Acceptance+:*   Delivery Fill Report should display the price + adjustment with or without existing call order.