CLONE - Unable to Post Invoice. "Total scheduled quantity cannot be less than zero"

Issue No: AR-5248
Created 8/25/2017 3:34:22 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 17.1
Description This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-209619 - scheduled quantity can not be less than zero|https://helpdesk.irely.com/iRelyi21live//#/HD/Ticket/?ticket=HDTN-209619] This issue relates to i21 Help Desk ticket. Click the link below to go to Help Desk ticket.   [HDTN-202373 - Can not Post I21 Sales Invoices|http://helpdesk.irely.com/iRelyi21live/i21/#/HD/Ticket/?ticket=HDTN-202373] When entering an invoice with an item that has a contract, there are two issues that may or may not be related to the core issue (Unable to post).   # The available contract is auto selected, but the available contract balance is 0.00. If you manually re-select the sequence the correct balance will be shown. # Despite all selections appearing to be correct the user is unable to post the invoice due to the error "Total scheduled quantity cannot be less than zero"   !pastedImage_d81247_0.png!   Tested on 17.1.0625.72     Steps to reproduce:   1. Go to Contract Management > Contracts   2. Create and save a contract and sequence   3. Go to Sales > Invoices   4. Click New toolbar button   5. Enter required header fields   6. In the grid area, enter the above contracted item   Expected result: Contract No and Sequence should be autopopulated   Actual result: As expected   7. Click Post toolbar button   Expected result: Invoice should be posted without any error   Actual result: Invoice not posted; error message is displayed: "Total scheduled quantity cannot be less than zero. (OK)"