Program Fix - Allow updating contract on invoice from scale

Issue No: AR-12499
Created 10/26/2020 2:27:31 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.1
Description *This issue relates to i21 Help Desk ticket:* [ HDTN-250170 - CAN'T POST INVOICE|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-250170]   *This issue relates to i21 Help Desk ticket:* [ HDTN-251570 - INVOICE WON'T POST WITH ERROR AGAIN|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-251570]   *This issue relates to i21 Help Desk ticket:* [ HDTN-246357 - Posting Error - Invoice SI-116110|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-246357]   *This issue relates to i21 Help Desk ticket:* [ HDTN-251570 - INVOICE WON'T POST WITH ERROR AGAIN|https://helpdesk.irely.com/iRelyi21live/#/HD/Ticket/?ticket=HDTN-251570]     *Background:*   There are multiple business reasons why a contract is not added to a SO or SI generated from the Ticket Management module. The sales module must accommodate when a contract is added to the invoice.   *Issue:*   When adding a contract to an invoice that was created in the Ticket Management module, an out of balance error is thrown.   !pastedImage_d146602_0.png|height=695,width=843!   !pastedImage_d146602_1.png|height=622,width=960!   *Expected Results:*   # When a contract is added to the SO/SI, the invoice should update with correct pricing from the contract. # When a contract is added to the SO/SI, update the contract scheduled qty. ## If unable to update, post offsetting transaction and new transaction # When a contract is added to the SO/SI, the GL entries should be balanced. ## If unable to update, post offsetting transaction for original values and new set of transactions for new values.