Entering an Order from Consumption Site screen doubles the deviation.

Issue No: TM-2706
Created 1/17/2018 12:00:15 PM
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]     When entering an Order from a single consumption site the deviation amount is applied twice to the price. Using Generate Orders has the correct pricing.   For example, if standard pricing is $1.69 and there is a deviation of 0.05, the price will end up as $1.79, when it should be $1.74.   The issue appears to be a result of TM-2700. If the discount is set up, then the deviation amount is added correctly. It is only when there is no discount that the deviation is added twice.   The deviation should apply to an Order only once whether or not there is a discount available.   *+Steps+:*   1. Open a site with standard/regular price. Enter price adjustment for the site. Save.   2. Click Order>Add Order. Check Price, it should display as Reg Price + Adjustment. Should not double the price adjustment.   *+Issue+:*   Adding a call order adds the price adjustment twice on regular price.   *+Acceptance+:*   Should apply the specific price adjustment in call order's regualr price. Should +not+ be applied as price adjustment x2.   Price adjustment is applied correctly when generating order from Generate Order screen.