Skip to content

Set up your company's sites

A site is one of your own places of business: the head office, a depot town, a plant. Warehouses can be put in a site, and in a company that runs Inventory goods that go from a warehouse in one site to a warehouse in another are always sent and received, never moved at once. A company without Inventory has no transfer document to send them on, so it still moves stock between its warehouses at once. Who: administrator · Where in the cycle: Set up.

Sites are part of the company’s setup, not an app: every company has them, even one with Sales alone, and they work while your ERP keeps the stock.

A site is not a customer’s branch. A branch is a shop a customer has, where orders are delivered and a rep calls. A site is a place of the company itself. The two never mix: the product does not call a site a branch.

You need Run the company (full access) (TENANT_ADMIN). The warehouses you want to place already exist (Add a warehouse), or you place them as you make them.

  1. Open Setup › Sites (section Company) and press New site.
  2. Type a Code (short, like CAIRO; imports name the site by it, and it cannot be changed afterwards), a Name and, optionally, a Name in Arabic.
  3. Press Create site. The notice reads “code is ready: put warehouses in it”.
  4. Put warehouses in the site in any of three ways:
    • on the same screen, under Warehouses, choose the site in the warehouse’s Site drop-down: it is saved as you choose (“code has moved”); No site takes it out again (“code is in no site now”);
    • when you make a warehouse, in Catalogue › Stock › New warehouse, choose its Site (the drop-down is there once the company has an active site);
    • in the Warehouses file of Setup › Import, with the site column.
  5. To rename a site, press Edit on its row (Change site: names only, the code is read-only) and Save.
  6. To retire a site, press Switch off on its row; Switch on brings it back.

The table shows each site’s Code, Name, Warehouses (how many live warehouses are in it) and Status (Active or Switched off). A site is never deleted. A site that is switched off is not offered to other warehouses, and Switch off is refused while a live warehouse is still in it.

A person can be given the sites they work at (Setup › Users, row menu Sites; Invite people and manage accounts). A person given none works at the Whole company, which is what everybody has until an administrator says otherwise.

A person given sites sees and does stock work only at those sites. This covers the Inventory screens and the stock lists:

  • Holdings, Movements, Stock value, the places on Stock, Counts and Write-offs show only the warehouses of their sites (with the held-back and on-the-way places that belong to them). A van is in no site and is not narrowed by one. A banner above these screens says “You see the sites: Cairo, Giza.” so a missing warehouse is explained.
  • Transfers show every transfer that touches one of their sites at either end. They send only from a warehouse of theirs and receive only into one; to cancel a draft or decide a difference they need one end, and to recall they need the sending warehouse (the goods go back into it). They can still send to any warehouse, so the To list on New transfer shows every warehouse while From shows theirs. Move now needs both places to be theirs.
  • Counting, receiving goods in, moving or writing off at a warehouse outside their sites is refused, and so is reading it by its number: the server says OUTSIDE_YOUR_SITES and names the place.
  • A warehouse that is in no site belongs to the whole company only.
  • Purchasing and Sales are not narrowed: a person given one site still sees every purchase order and every customer.
  • When a transfer’s sender is the only person who could receive it — nobody else who handles transfers works at the destination’s site — the sender may receive it, and that is recorded. Colleagues who work at other sites do not count. The same goes for who can decide a transfer’s difference.

Only an administrator who works at every site makes, renames, switches off or switches on a site, puts a warehouse in a site, or gives sites to people: someone limited to one site could otherwise widen their own reach (SITES_NEED_FULL_REACH).

Nile Fresh has a head office in Cairo and a depot in Alexandria. Ahmed makes two sites: CAIRO, “Cairo”, and ALEXANDRIA, “Alexandria”. He puts the warehouse MAIN in CAIRO and NORTH in ALEXANDRIA.

  • A truck of milk goes from MAIN to NORTH. The sites differ, so on New transfer the How choice is gone and the sheet says “These warehouses are in different sites, so the goods are sent and received rather than moved at once.” Only Save draft and Send remain: the milk leaves MAIN, waits on the way and the storekeeper at NORTH receives it.
  • A second shelf, CAIRO-B, is also in CAIRO. Goods between MAIN and CAIRO-B stay inside one site, so Move now works.
  • Transfers between warehouses of different sites are sent and received (with Inventory). A warehouse with a site and one with none count as different sites.
  • Stock value shows each place’s Site and can be narrowed to one site.
  • Recorded in the audit trail (“Added a site”, “Renamed a site”, “Switched a site off”, “Switched a site on”, “Put a warehouse in a site”).
  • Giving a person sites is recorded as “Changed the sites someone works at” with the site codes before and after.
  • No phone changes, and no new permission.
What you seeWhat to do
Only an administrator who works at every site can change sites or give them to people.SITES_NEED_FULL_REACHYou work at one site only. An administrator who works at every site makes, renames and switches sites, puts warehouses in them and gives them to people.
That place is outside the sites you work at. Choose a place in your sites, or ask an administrator.OUTSIDE_YOUR_SITESThe warehouse named is not in a site you work at. Ask an administrator to give you its site, or ask someone who works there.
Give the site a code. Short is best, like CAIRO.SITE_CODE_REQUIREDType a code for the site.
Give the site a name.SITE_NAME_REQUIREDType a name for the site.
Another site already has this code. Choose another code.SITE_CODE_TAKENAnother site has this code. Choose another.
This site still has warehouses. Move them to another site, then switch it off.SITE_HAS_WAREHOUSESThis site still has warehouses. Move them to another site, then switch it off.
That site is switched off. Switch it on, or choose another site.SITE_INACTIVEThat site is switched off. Switch it on, or choose another site.
That site isn't one of the company's sites. Choose one from the list.SITE_NOT_FOUNDThat isn't one of the company's sites. Choose one from the list; in an import, write the site's code.
These warehouses are in different sites, so the goods are sent and received, not moved at once. Choose Send.TRANSFER_BETWEEN_SITES_IS_SENTThe warehouses are in different sites. Choose Send, not Move now; nothing moved.