Note: Locations have now been renamed organizations: see wiki here.
...
Assuming in your project there are 3 mobile workers and each of them manages the inventory of 2 facilities. The first thing to do is to bulk upload 6 clinics. To do this, you first go to Setup and to Users and select LocationsOrganization Structure. Go click 'Bulk Import LocationsUpload', and then download the location configuration fileorganization structure.
In this example we updated the default location hierarchy from five to two levels. Accordingly in the excel file there would be five tabs.
Bulk import location tool would have same number of tabs with different location types.
to what is pictured below. Each level in the hierarchy is represented by a tab in the download.
In the download, Site code is the unique identifier in each tab that differentiate it differentiates locations from one another. It must be assigned to each level of location from top level to the bottom . levellevel. For each tab in the Locations.xlsx (except the first tab), parent_site_code is the site_code in the previous tab.
...