[Priced Contract] - Deleting priced contract does not delete the associated unposted Voucher

Issue No: CT-4072
Created 11/14/2019 10:56:55 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 unposted Voucher.   8. Delete the -Priced Contract- Price Fixation record   ISSUE:   The -Priced Contract- Price Fixation record is deleted but the associated Vouchers are not deleted.   ACCEPTANCE:   Deleting -Priced Contract- Price Fixation record with associated unposted Vouchers should also delete the Voucher