Voiding prebooked invoice when tax period is closed

Purchase To Pay: Supplier Ledger Version 10.78

Earlier when reopening a voided prebooked invoice, and the VAT r eport was closed, user got an error and could not proceed. This has now been fixed.