[Distribution] - Scheduled balance is not updating

Issue No: SC-2843
Created 6/7/2019 3:14:10 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-231735 - Balance Cannot be less than Zero|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-231735]           When Distributing a scale ticket with a Logistics Load, the Logistics Load is trying to apply to the contract balance (which is correct). The contract section of the manual distribution sees only the Available Quantity. When you try to Process the ticket you get a Balance Cannot be Less than zero.     In the example below the logistics load LS-3860 is apply the 12.325 to the balance of contract 10285 but in the contract section it looks like it is trying to apply an additional 9.875. This would apply to much to the contract and the message Balance Cannot be Less than Zero displays.   +Acceptance+: What should be displayed in the contract section is contract 10285 should not be listed since LS-3860 is applying up to the entire balance of the contract. Any additional quantity will go to contract 10333.   The manual distribution screen does do the above when contract 10285 is completely scheduled.