[Voucher] - Error message when trying to delete the voucher that is partially priced

Issue No: AP-8059
Created 11/14/2019 9:55:51 PM
Type Bug-QC
Priority Blocker
Status Closed
Resolution Fixed
Fixed Version 19.2
Description *STEPS:*   1. Create multiple Purchase Basis Contract with the following details:   Contract 1: 1000 BU where Basis Price = 2.1   Contract 2: 1000 BU where Basis Price = 2.2   Contract 3: 1000 BU where Basis Price = 2.3   2. Create 3 Load In Scale Tickets where Distribution type is Open Storage.   3. Distribute Ticket   4. From Search Storages screen, select all the created Customer Storage and click Settle.   5. Settle the full units against 3 Basis Contract and Post.   6. From Contract Management > Priced Contracts, select the 3 Basis Contract to price.   7. Price each basis contracts:   Contract 1:   |Qty|Future Price|Cash Price:| |580|7.53|9.63| Contract 2:   |645|8.54|10.74| Contract 3:   |780|6.55|8.85|   The system will create Voucher.   !pastedImage_d126826_0.png|height=988,width=1894!   Unpost and delete the Voucher.   ISSUE:   !pastedImage_d126826_1.png|height=1030,width=1918!   ACCEPTANCE:   1. Should allow voucher to be unposted   2. Once unposted, should not be able to modify item details billed and cost but should be able to add charges on new line item   3. When clicking Delete button, show validation message that this can't be deleted and point Priced Contract to delete the voucher