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

Issue No: AR-4898
Created 6/26/2017 3:06:25 PM
Type Bug
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 17.1
Description 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_d78291_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)"