Skip to main content

Branch Card

In the Branch Card you define a branch of the company, edit it, and delete it. The page also answers the general questions about branches: how the branches system is turned on, what is tied to a branch, and how a user's work is limited to their branches. For the practical steps see Add a branch.

Opening the window​

  • From the ribbon: Systems > Branches > Branch Card. The Branches group shows in the ribbon if your licence includes the branches feature. The command shows for users who have the permission Branch Card on the Cards tab of Users Management. The permission has four levels: add, browse, modify and delete.
  • From the Chart Of Branches: double-click a branch, or select it and press Enter, or right-click it and choose View Branch Card....
  • From the chart with the command Add Branch too: the card opens new, and the selected branch in it is the Main Branch.
  • From the menu that opens from the branch in the status bar: see the main window.
  • From the Main Branch field in the card itself, and from the branch lookup fields in other windows, with the command to add a new record: the card opens new, and what you typed in the field is the Branch Name.

A user who has no browse level on the branch does not see its data: the program shows the text "You do not have permission" instead, and Add, Modify and Delete are disabled. A branch opens for a user whose permission is equal to or above its Security Level.

To move between saved branches see the record navigator.

Header fields​

FieldDescriptionRequiredValues and rules
Navigation buttonsMove you between the saved branches.—As in the other cards. See the record navigator.
Security LevelThe security level of the branch.NoA branch opens for a user whose permission is equal to or above the level. It is saved with the branch.

Card buttons​

ButtonWhat it does
AddSaves the typed branch as a new branch, then starts a new branch as New does. See On add.
NewStarts a new branch. It raises the Branch Code by one if the option Increment material code after save is on (it is on by default), and raises the Latin Name if the option Increment material latin name after save is on. It clears Prefix, Branch Name, the two phones, the address and the notes. Main Branch stays as it was, so you can add several branches under one branch.
ModifySaves the changes of the branch on screen. Disabled until a saved branch is shown. See On modify.
DeleteDeletes the branch on screen. Disabled until a saved branch is shown. See On delete.
Close (becomes Cancel after any change)Closes the card. If it has unsaved changes and the warning option On cancel is on, the program asks whether to discard them.

You can set the warning options in the program options. The code increment option is in the program options.

Fields​

FieldDescriptionRequiredValues and rules
PrefixA short abbreviation of the branch.YesFour characters at most, and the program accepts letters only. The rejection message says they must be Latin letters. Not repeated between branches. Example: DM. The prefix shows with the code and the name in the information window of a card, which lists the card's branches, and it is available in the print data of invoices.
Branch CodeThe code of the branch.YesNot repeated between branches. Example: 01.
Branch NameThe name of the branch.YesNot repeated between branches. Example: Damascus Branch.
Latin NameThe name of the branch in Latin letters.NoShows in the English interface. New raises it as explained above.
Main BranchThe branch that this branch belongs to.NoA lookup box by code and name. It lists the branches you can read and your main branches, and it does not list the branch itself. If you leave it empty the branch is at the top of the tree. See Main branch.
Phone 1 and Phone 2The two phone numbers of the branch.NoFree text.
AddressThe address of the branch.NoThe shape changes with whether the Egyptian tax system is on. See Address.
NotesFree text.No—

Main branch​

A branch that has branches under it is called a main branch. Main branches group branches in reports and in the tree, but documents are not recorded on them: the branch field in documents lists only the branches that have no branches under them. When the first branch is added under a branch, the number of the upper branch moves to the new branch and the number of the upper branch becomes 0.

Address​

  • In a file where the Egyptian tax system is not on, Address is a text field, and Notes is under it.
  • When the Egyptian tax system is on, the program replaces the text with a list of the company addresses recorded on the customer card set for the company in the Egyptian tax settings. The first item in the list is <Without>, and the last item New... opens the addresses list to add an address, and shows for a user who may modify the customer card. In a new card the program selects the default address of the customer if the option Insert the default customer address when selecting the customer is on.
  • The program does not accept an address that is used in another branch.
  • The Egyptian e-invoice system checks that the branch has an address when an invoice is sent, if branches are on. See Customer addresses.

Rules for saving, modifying and deleting​

On add​

In the order of execution:

  1. The program checks Branch Name, then Branch Code, then Prefix: each is required. A prefix longer than four characters, or one that contains anything but letters, is refused.
  2. It checks that Branch Name, Branch Code and Prefix are not repeated in another branch. The duplicate message is the same for the three.
  3. It checks that the Address is not used in another branch.
  4. If the file has 63 branches it does not accept another. This limit is fixed, because every branch has one place in a number that holds 63 places.
  5. It asks "Are you sure you want to complete saving?" if the warning option On save is on.
  6. It saves the branch in one transaction and records the operation in the file log. The program gives the branch the lowest unused number. Then it tells the open sections that the branches changed.

Adding a branch does not turn the branches system on. That is done by the program option described below.

On modify​

  • It needs the modify level on the permission Branch Card.
  • If the Main Branch you chose is the branch itself or one of the branches under it, the program shows "Main branch is unacceptable" and does not save.
  • The other checks are as in add, and the branch itself is not counted as a duplicate of itself. Then it asks "Are you sure you want to save changes?" if the warning option On modify is on.
  • The file does not accept that a used branch becomes a main branch for the first time: if the chosen main branch has cards or documents tied to it and had no branches before, the save is refused with "The selected branch is a default branch (first added branch), cannot use it as main branch". The first branch added carries all the data of the file, so it is not usually fit to be a main branch.

On delete​

  • It needs the delete level on the permission Branch Card. Then the program asks "Are you sure you want to delete?".
  • The program does not delete a branch that is used in a document or a card, nor a branch that has branches under it, nor a branch used in the messages system. A message from Messages appears.
  • If the last branch under a main branch is deleted, the main branch takes the number of the deleted branch.
  • You can also delete a branch from the Chart Of Branches with the command Delete Branch, with the same checks.

What the branch separates​

Turning the branches system on​

No branch restriction applies until the following three things are all true:

  1. Licence: the branches feature is in the licence. Without it the Branches group does not show in the ribbon, nor the option in the third step.
  2. At least two branches: the number of saved branches is more than one.
  3. The option: Activate branches system in the program options. The option is dimmed while the file has one branch, and it is dimmed again after you turn it on, so it cannot be turned off. When it is saved the program applies the activation to the whole file: it rebuilds the views that windows and reports read from, and marks the users so that the program rereads their permissions.

When the three are true, the Branch field shows in the documents that carry a branch, the Branches... button shows in the cards, and the branch shows in the status bar. While the file has one branch, or the option is off, none of these shows and every user sees all the data.

Cards with branches​

Every card of these kinds has a list of branches (a number that holds one place for each branch). The card shows to a user if one of its branches is among the branches they work with now. You change the list from the Branches... button in the card, or from the Branches Permissions window for many cards at once. Every new card takes the default branch.

The kinds: accounts, cost centers, materials and groups, warehouses, manufacturing forms, bill types, entry types and note types, currencies, distribution groups, salesmen, distribution offers and distributors, discount types, discount cards and their statuses, discount type cards, POS offers and special offers, main letters of credit, shipping types, and the types of malfunctions, accessories, cancellation reasons and maintenance workshops.

The Branches... button is in the Account Card and the cards of materials, groups, warehouses, cost centers and others, and in each of them it opens the dialog Select Branches. It is explained in Small dialogs and menus.

Documents with one branch​

Each document of these kinds has one branch only, saved with it. The standard branch field in a document lists only the branches that have no branches under them. Documents show to a user in the screens and the reports if their branch is among the branches they work with. If you do not choose a branch the document takes the default branch. The Branch field in a document is required when it shows.

The kinds: bills, entries, commercial papers, payments, manufacturing operations and plans, depreciation memos and asset cards (addition, maintenance and deduction), asset dismissal, materials cost cards, sub-asset cards, asset employees and asset guardianship, distribution targets and payments, packing lists, letters of credit, POS orders and their receive and pay tables, main payment orders, delivery company commissions, and maintenance orders.

Each document shows its Branch field and its rules in its own page, such as the Bill.

What the user sees​

Two things decide what shows to a user:

  • The allowed branches: in Users Management, the Branches tab: each branch you set to Low the user may read. It is explained in the Branches tab. At sign-in the user starts with all their allowed branches. If the branches system is off, or the user is an administrator, they are all the branches.
  • The branches selected now: the user can narrow their work to some of their allowed branches from the branch in the status bar (main window). The program does not save this choice, and it returns to all the allowed branches when a file is opened.

Cards, documents and reports read what falls in the intersection of the two. A user who works on one branch does not see materials, accounts or bills that are not of their branch, and the search fields show them only what belongs to it. The branch reports need a branch or more: see Branches Movement and Materials Movement by branches.

Messages​

MessageWhy it appearsWhat to do
Branch Name MissingYou saved without a name.Type the Branch Name.
Branch Code MissingYou saved without a code.Type the Branch Code.
Please enter prefixYou saved without a prefix.Type the Prefix.
Branch prefix can't be more than 4 charactersYou typed more than four characters.Shorten the prefix.
Branch prefix can contain Latin characters onlyThe prefix has a digit, a symbol or a space.Type letters only.
Duplicated branch code or nameThe Branch Name, Branch Code or Prefix is used in another branch.Change the repeated field.
The address is used in another branch, cannot continue.You chose an address that is chosen in another branch.Choose another address or <Without>.
Cannot add more than 63 branchesThe file has 63 branches.Delete a branch that is not used.
Main branch is unacceptableThe Main Branch is the branch itself or one of its branches (on modify).Choose another main branch.
Parent not foundThe chosen Main Branch is no longer in the file.Choose another main branch.
The selected branch is a default branch (first added branch), cannot use it as main branchThe branch chosen as main is used in cards or documents and has no branches under it yet.Choose a main branch that has no data.
Card is used as a main for another card, can't delete!The deleted branch has branches under it.Delete the branches under it or move them first.
Card is used, Can't deleteThe branch is used in a document or a card.It cannot be deleted while it is used.
Cannot delete the card! it is used in messages systemThe branch is used in the settings of the messages system.Change the messages settings first.
You do not have permissionYou have no browse level on the branch.Ask for the permission.
Are you sure you want to complete saving?You clicked Add and the option On save is on.Click Save to continue.
Are you sure you want to save changes?You clicked Modify and the option On modify is on.Click Save to continue.
Are you sure you want to delete?You clicked Delete.Click Delete to continue.

This page applies to alameen ERP 10, version 10.1.79.764.