Skip to main content

Branches Permissions

The Branches Permissions window sets, for one branch, the cards it shows in: accounts, materials, warehouses, types and others. It shows a tree of all the cards, with a check box before each card that says whether the card belongs to the chosen branch. With this window you change the branches of many cards at once, instead of opening each card and clicking Branches.... For the steps see Set branch permissions.

This window does not decide which users work in which branch: that is decided by the Branches tab in Users Management. See What the user sees.

Opening the window​

From the ribbon: Systems > Branches > Tools and Reports > Branch Permissions. The command shows if your licence includes the branches feature, and for a user who has the permission Branch Permissions on the Operations tab of Users Management, which is one check box.

Opening the window does not need the option Activate branches system. The tree shows only the kinds of cards that exist in the file.

Fields​

FieldDescriptionRequiredValues and rules
BranchThe branch whose cards you set.YesA list of the branches that have no branches under them, ordered by name, each with its code and name. The list shows only the branches selected now in the status bar. The window opens with no branch chosen, so choose a branch for the tree to show with its check boxes. Choose the branch before you change Filter. If you change the filter first, every box shows ticked and nothing you change is saved.
FilterWhich cards show in the tree.NoAll (the default), or To Branch to show only the cards that belong to the chosen branch, or Not Belong to to show only those that do not. The section nodes, such as Accounts, always show.
TreeThe cards of the file in sections, with a check box before each node.—See The tree.
Search boxText that searches the tree.NoNo label, under the tree. See Search.

When you change Branch or Filter the program rebuilds the tree, and shows the message "Preparing Branch Authorities." meanwhile. While the build runs, the two lists are disabled in every open permissions window.

Window buttons​

ButtonWhat it does
SaveSaves the check boxes you changed. If you changed nothing the program shows "No changes were made. Nothing is saved." If you did, it asks "Save Changes" with the buttons Yes and No. See Saving.
CloseCloses the window. If it has unsaved changes it asks the same question before closing.

The tree​

Each kind of card has a section node named after the kind, with the cards of that kind under it in their usual tree: accounts (with an icon for the account type), cost centers, materials and groups, warehouses, manufacturing forms, bill types, entry types, note types, currencies, distribution, discount types and discount cards with their statuses and discount type cards, POS offers, shipping types, and the types of malfunctions, accessories, cancellation reasons and maintenance workshops. Only the sections that have tables in the file show. Sections appear in a fixed order. Inside a section, cards are ordered by code, except bill types, which follow their kind and then the order set in the type, and currencies, which follow their number.

Kinds that have branch lists but are changed only from the card itself, such as the main letter of credit and the special offers, do not show in the tree. See Cards with branches.

The check box before a card says whether the chosen branch is in the card's list of branches.

What you doEffect
Click a box that is not tickedTicks it and ticks every node above it up to the section, so no card of the branch has an unticked node above it. It does not change the nodes under it.
Click a ticked boxUnticks it and unticks every node under it.
Click a box with Ctrl pressedChanges the node and every node under it together to the new state.

The keyboard does not work in the tree: Space and the arrow keys do not tick the boxes. The tree has no right-click menu. The box of a section summarizes what is under it: it shows ticked if one of the nodes directly under it is ticked, and it is not saved.

When the tree is built, the box shows ticked for every card whose list of branches has the chosen branch.

Type the first letters of the code or the name of any node in the search box. The selection moves to the first matching node, starting from the selected node. Press Enter for the next match and Shift + Enter for the previous one. If no match is left the program beeps and goes back to the start of the tree. The arrow keys, Page Up, Page Down, Home and End are passed to the tree. Searching does not change the check boxes.

Saving​

The question "Save Changes" appears in these cases if the window has unsaved changes: after Save, when you change Branch, when you change Filter, and when you click Close. Yes saves. No discards the changes and continues what you were doing. The question has no button to cancel what you were about to do.

When saving, the program goes through the whole tree and writes, for each card whose box you changed, the branch into the card's list of branches or removes it from there. The message "Saving changes. This operation might take a long time. Please wait" shows meanwhile. The program does not check, in this window, your permission level on each card before writing.

The program writes the place of the chosen branch alone in the list of each card, so the places of the other branches do not change.

Branch level menus​

The Branches tab in Users Management decides which branches a user reads. The tab shows the four-level menu it shares with the Charts and Read tabs: Prevent, Inherit, None and Low. Choosing Low makes the branch readable for the user. They are explained in the level menu.

When it works out the branches of a user, the program reads the level saved for each branch: Prevent removes the branch from the user's branches, every level after None counts as a right to read, and the highest level adds the right to write. This applies only when the option Activate branches system is on. When it is off, or for an administrator, the user reads and writes every branch, and the branch lists you set in this window limit nothing.

Messages​

MessageWhy it appearsWhat to do
Preparing Branch Authorities.You chose a branch or a filter.Wait for the tree to show.
No changes were made. Nothing is saved.You clicked Save without changing a box.Nothing.
Save ChangesThe window has unsaved changes, and you clicked Save, changed the branch or the filter, or closed.Yes to save or No to discard.
Saving changes. This operation might take a long time. Please waitSaving started.Wait until it ends.
A message in English that starts with Couldn't Update and ends with the word TableThe branch list of a card could not be changed in the table named.Try again, and tell the system administrator if it repeats.
A message in English that starts with Error In prcBranch_TreeThe tree could not be built.Open the window again, and tell the system administrator if it repeats.

This page applies to alameen ERP 10, version 10.1.79.764.