Effect of Deactivating a Treasury or Bank Account on Its Chart of Accounts Account
When you deactivate or reactivate a treasury or bank account, the same action is automatically applied to its account in the Chart of Accounts that was created with it, and vice versa. This way, inactive accounts don’t appear in the account selection when you create journal entries.
Table of contents
Which account does it apply to?
| How the treasury is linked to the account | Effect |
|---|---|
| The account the system created automatically with the treasury | Follows the treasury’s status |
| An account you selected manually through Accounts Routing | Stays active, and the message The linked account in the Chart of Accounts was assigned manually and will remain active. appears |
When you deactivate the treasury
- If the account has no posted journal entries in any Financial Year: the account is hidden.
- If it has journal entries: the account is put on hold (it stays in Reports but can’t be selected in new journal entries).
- The message Deactivated successfully. appears, along with the message The linked account %s in the Chart of Accounts was also deactivated. with a link to the account and its path.
- The Main label disappears from the treasury as long as it is inactive.
When you reactivate
- The account is no longer hidden or on hold, and the message The linked account %s in the Chart of Accounts was also reactivated. appears.
- If the automatic account was deleted, it is recreated.
- Reactivation is subject to the treasury limit in your plan.
From the Chart of Accounts to the treasury
- Hiding or putting the automatic account on hold from the Chart of Accounts deactivates the treasury, and the message The linked Treasury / Bank Account %s was also deactivated. appears.
- Showing it or reactivating it activates the treasury: The linked Treasury / Bank Account %s was also reactivated.
- If the account is linked manually: This account is manually linked to a treasury / bank account. The treasury / bank account will remain active.
Logs
- A change to the hidden or on-hold status is recorded in the account’s Activity Log, and a change to the treasury’s status is recorded in the treasury’s log.
Steps to deactivate a treasury
- Open Treasuries & Bank Accounts, then the treasury.
- Click Deactivate.
- Review the confirmation message and the link to the account in the Chart of Accounts.
- To reactivate, click Mark as Active.
Possible account statuses
| Status | Appears in Reports | Can be selected in new journal entries |
|---|---|---|
| Active | Yes | Yes |
| On Hold | Yes | No |
| Hidden | Displayed only when hidden accounts are shown | No |
Why isn’t it working as I expect?
| Problem | Reason | Solution |
|---|---|---|
| The account stayed active | It is linked manually | Put it on hold manually if you want |
| I can’t reactivate | You exceeded the treasury limit in your plan | Upgrade your plan or deactivate another treasury |
| Incorrect link when deactivating | You don’t have permission to change the treasury’s status | Request the permission |
| The treasury was suddenly deactivated | Someone put its account on hold in the Chart of Accounts | Reactivate the account or the treasury |
Example
For a treasury named “Branch Cash,” the system created an account named “Branch Cash” under Treasuries, and it has transactions. When you deactivate the treasury, the account is put on hold and a message appears with a link to the account and its path in the chart. A new treasury that hasn’t been used yet has its account hidden when you deactivate it.
🛈
Note: The name of the permission that the treasury status change button checks for in the code is CHANGE_DEFAULT_TREASURY; check its display name on the Roles screen.
Frequently asked questions
Why did the account stay active after I deactivated the treasury?
Because it is linked manually to the treasury.
Why was the account put on hold instead of hidden?
Because it has posted journal entries.
Are the account’s journal entries deleted?
No, they stay as they are and appear in Reports.
Can you deactivate the main treasury?
The Main tag is hidden while the Treasury is disabled; assign another main Treasury for transactions.
Does the Action work in reverse?
Yes, suspending or hiding the automatic Account disables the Treasury.