VAT category not copied from original invoice with discounts when VAT category is empty

Purchase To Pay: Supplier Ledger Version 8.69

Earlier, when you corrected an invoice with an empty VAT category and discounts in the Purchase invoices (AP301000) window, the correction documents did not copy the VAT category from the original invoice.
This has now been fixed.