CLONE - Order is Not Getting Max Price Value

Issue No: IET-400
Created 3/6/2019 3:13:28 AM
Type Feature
Priority Major
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-218223 - Max Price - is not working in contracts sales invoice|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-218223] This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-218223 - Max Price - is not working in contracts sales invoice|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-218223]     {color:#0f0f0f}Todd Willson #80320039. He has a max price contract for propane for $1.799 but our current price is $1.599. It should pick up the $1.599 price but it's picking up $1.799.{color}   {color:#0f0f0f}Contract price should be the highest piority in pricing{color}   {color:#0f0f0f}Please validate the pricing herarchy in Energy Trac {color}     *Steps* :   1. From Contracts, create a contract where Additional Info > Max Price = On. Use the item and customer same with site. Save.   2. From TM > Consumption Site, create an order. Contract search screen will display. Select the contract with max price.   3. Order will be created. Check the Price. Label will be 'Cnt Price'.   4. Verify the max price value (contract price > item price = item price). It should display as:   If Item Price < = Contract Max Price. Show the Item Price.     *Improvement:*   _Note: This is for i21 integration_   * Implement Max Price when creating TM Order via Site and Generate Orders. * If Item Price < = Contract Max Price. Show the Item Price. * If Item Price has adjustment, add the price adjustment. Should not add adjustment to contract. * If Item Price = Contract Price, display as Contract Price. Price Adjustment should not be applied.