The setting Public code digit rule in General ledger preferences does not work anymore for Norwegian and Danish companies due to the change that Public code is mandatory to use.
For other countries this option works both on Account no and Public code, so if it you set it lower than the Account no or Public code it will be cut.