This error is caused by an invalid or missing analysis code on the transaction.
Click Edit on the transaction, then click Save without making changes.
📌 Note: If an error appears on saving, it indicates the specific cause.
If the error persists, check whether the analysis code exists in the relevant ledger:
Click Debtors, then click Settings, then click Analysis. For the purchase ledger, follow the equivalent path in Creditors.
If the code does not exist, create it.
