On this page
Account groups
Purpose
An account group is a name you give to a set of accounts so you can limit which of them users see. The screen explains it in a note: Account groups limit which accounts a user may see and post to (data scope). An account without its own group belongs to the group of its parent. (P7)
Where to find it
- Menu: Master data → Account groups.
- URL:
/md/account-groups
Permissions
| Action | Key | Label |
|---|---|---|
| View | md.account_group.view | Account groups - View |
| New account group | md.account_group.create | Account groups - Create |
| Edit | md.account_group.update | Account groups - Update |
| Delete | md.account_group.delete | Account groups - Delete |
Fields
The groups table shows Code, Name, Accounts (the number of accounts assigned) and Active. The Account group dialog has these fields:
| Field | Required | Rules |
|---|---|---|
| Code | Yes | Letters, digits and -_.; up to 30 characters; unique |
| Arabic name / English name | One of the two | Up to 100 characters (I4) |
| Active | — | On by default |
Steps
Create a group and assign accounts to it
- Select New account group, enter the code and name, then select Save.
- In the chart of accounts, open the parent account you want to include in the group and choose the group in the Account group field. Every account below it follows that group, unless you've given it a different one.
- In Roles or Users, add a scope rule: set Restrict by to Account groups, choose Only the selected, and add the IDs of the allowed groups.
Edit or delete a group
Select the group's row. Change the fields in the dialog and select Save, or select Delete and confirm in Delete account group.
Business rules
- An account belongs to its own group. If it has none, it belongs to the group of its nearest parent that has one (P7).
- A user restricted to certain groups doesn't see other accounts in the chart of accounts, journal entries or reports, and can't post to them.
- Parties aren't restricted by account groups.
Common error messages
| Message | Cause | What to do |
|---|---|---|
| The account group is still assigned to accounts. | You tried to delete a group that's in use | Remove it from the accounts first |
| The account group was not found. | The group was deleted | Refresh the screen |
| This code is already used. | Duplicate code | Change the code |