No account assign for voucher item created from contract wash out.

Issue No: CT-2438
Created 8/14/2018 4:33:51 AM
Type Bug-QC
Priority Major
Status Closed
Resolution Fixed
Fixed Version 18.3
Description Steps:   # Created purchase (price) contract# 714, Entity : Bart Sand, Commodity: Wheat # Created sequence for 10,000 Metric ton at $35 (CAD) Futures, $2.50 (CAD) / Differential # Saved the contract # Created sale (price) contract# 100055, for same entity, commodity and quantity at $27.50 (CAD) Futures, $3.50 (CAD) Basis / Differential # Saved the contract # On the purchase contract# 714, clicked on WASHOUT (in the sequence area) # Selected the Existing sales contract# 100055 # At this point made sure, no other existing contract can be selected with a different entity, commodity or price type. # Clicked *Continue* after selecting the contract. # System prompted for AR Credit Memo or AP Voucher creation because the source contract value is less than the washout contract. # Selected AP Voucher # Ensured that the voucher was created referencing the washout contract. # Ensured that the voucher line description references the washout contract and on both contracts, reference *WASHOUT* in the sequence # Post the Voucher (Auto-generated the AP Voucher for $15,000.)   Issue: Missing account   Acceptance: When creating voucher from wash out, developer should pass appropriate account to use.   See AP-6092 for more details.