As the GeneralLedger is keyed on the AccountCode and not the AccountNumber, when recoding it's necessary for the key to also be updated.
GeneralLedger
AccountCode
AccountNumber