[Voucher] Adjust the settlement transaction in entering voucher screen

Issue No: GRN-911
Created 3/16/2018 7:22:44 AM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 17.1
Description Do not allow negative qty or cost from settlement/grain   http://jira.irelyserver.com/browse/AP-1978   Steps to replicate:   1. Go to Ticket Management.   2. Create a ticket with discount schedule and distribute against storage.   3. Go to storage -> Settle   4. Settle the storage ticket and verify the voucher in Account Payable side   Issue: Application was creating voucher with with negative cost value for the discounts   Acceptance: Application should create voucher with negative quantity instead of negative cost