Cause
When the accounting is in locked status and parameters are being modified in the VAT codes table (ex: the percentage of a code), the program won't be able to update those values in the Transactions table.
Solution
In order to proceed with the modifications, unlock the accounting first with the unlock transactions command (Account 2 menu> lock transactions). Ascertain that all your modifications are correct before making any changes in the VAT Codes table.
For further information refer to the VAT Codes table page.