HDTN-288519 - FFS - Prepay on Invoice for Item Contract Using Same Line# for Multiple Items

Issue No: CT-8453
Created 2/17/2023 2:05:52 PM
Type Bug
Priority Critical
Status Closed
Resolution Fixed
Fixed Version 22.2
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-288519 - FFS - Prepay on Invoice for Item Contract Using Same Line# for Multiple Items|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-288519]   When there are multiple sequences on an item contract and you go to create the invoice and apply the prepay, it is not recognizing the 3 line numbers. It puts Line No 1 3x instead of allowing the prepay to be applied to the separate line items.   Process:   * Create Item Contract * Create Prepaid (blue link) * Pay Prepay * Create Invoice * Apply Prepay     Contract:   !https://helpdesk.irely.com/iRelyi21Live/Export/CRM/726cf544-291d-4952-be5f-5d053faaade4.png!   !http://jira.irelyserver.com/browse/Export/CRM/726cf544-291d-4952-be5f-5d053faaade4.png|width=1509!   Created Prepay and Paid Prepay   !https://helpdesk.irely.com/iRelyi21Live/Export/CRM/6bac0408-3b8d-40e1-ba69-f5dfc736fef4.png!   !http://jira.irelyserver.com/browse/Export/CRM/6bac0408-3b8d-40e1-ba69-f5dfc736fef4.png|width=1505!   Invoice shows ITM-27 and Line NO's 1,2,3   !https://helpdesk.irely.com/iRelyi21Live/Export/CRM/780fe7ed-fb2d-48ff-9d48-517b6f204010.png!   !http://jira.irelyserver.com/browse/Export/CRM/780fe7ed-fb2d-48ff-9d48-517b6f204010.png|width=1200!     Prepaids and Credit Memos tab is showing ITM-27, but all 3 lines are for Item 8364 - Line No 1. Should be showing 3 lines with 1 for each item.   !https://helpdesk.irely.com/iRelyi21Live/Export/CRM/7ad89df5-41f8-4236-9dce-90c22e141ad9.png!     !http://jira.irelyserver.com/browse/Export/CRM/7ad89df5-41f8-4236-9dce-90c22e141ad9.png|width=1228!     The odd part is if you apply the prepay to the invoice, it shows on the contract that the full amount has been applied to each line item.   !https://helpdesk.irely.com/iRelyi21Live/Export/CRM/256002f6-a666-4a50-b0de-15078f0acaad.png!   !http://jira.irelyserver.com/browse/Export/CRM/256002f6-a666-4a50-b0de-15078f0acaad.png|width=1275!   And when you go to the post preview on the invoice, it shows that each item's total amount applied correctly to the GL accounts. So maybe the above screens are just a display issue. The problem is that it will cause confusion with the customer.   !https://helpdesk.irely.com/iRelyi21Live/Export/CRM/16131036-c211-4e22-9f7b-5dfb1ae9f509.png!   !http://jira.irelyserver.com/browse/Export/CRM/16131036-c211-4e22-9f7b-5dfb1ae9f509.png|width=1296!