Mobile invoice is incorrect when customer runs out of gallons on prebuy

Issue No: AR-14563
Created 4/18/2022 8:30:13 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 20.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-270719 - Schedule Update-Fixes for Jira AR-14352 & AR-14327|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-270719]   *This issue relates to i21 Help Desk ticket:* [ HDTN-270231 - Mobile invoice is incorrect when customer runs out of gallons on prebuy|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-270231]   *Steps:*   1. Contract Management > Contract > Create Sale contract   2. Mobile Billing > Invoice > Create New > Post   *Issue:*   When the customer runs of gallons, the Mobile Billing creates an invoice for all gallons at that contract price.   _ *Expectation* _: The customer should see two line items. The qty remaining at the contract price, the remaining of the delivery at the retail price.     The AR/Sales invoice should match the mobile billing invoice     !pastedImage_d183828_0.png|height=463,width=448!   !pastedImage_d183828_1.png|height=275,width=600!