Invoice: Invoice wont post because item didn't roll onto next contract

Issue No: AR-11068
Created 10/15/2019 2:53:16 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 18.3
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-237448 - invoice/contract issue wont post|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-237448] This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-234877 - Invoice won't post due to contract error|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-234877] This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-237018 - contract rolling issue|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-237018]           + *Steps to reproduce:* +     1. Create two contracts that may be similar to one another from contract management > contracts > new.   2. Create a sales order for the first contract from sales > sales order > new that is lesser than contracted.   i.e.   Contracted = 500   SO = 300   3. Create a load out sales order ticket from ticket management > tickets > new that is equal to the ordered qty of the SO.   4. Distribute ticket.   Contract scheduled qty should increase and available should decrease.   5. Create another sale order for the remaining balance of the same contract.   6. Create another load out sales order ticket equal to the first ticket.   7. Distribute ticket.   8. Lookup and post generated the invoice.   + *Actual result:* +   Invoice won't post because the item didn't roll onto the next contract.   + *Accepted:* +   It should add another contract. It should have the contract number for 200 and another line with the contract for 100.   When you apply 300 units but the selected contract only has a balance of 200, the other 100 units should go to the next available contract.