import_and_export:importing_locations

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
import_and_export:importing_locations [2016/07/06 14:51] Gary Willettsimport_and_export:importing_locations [2023/08/14 23:26] (current) – [17.07. Importing locations] Mark Glover
Line 1: Line 1:
-====== Importing locations ====== +{{indexmenu_n>70}} 
-{{entry>40.Import & Export/10.Importing locations|*}} +====== 17.07. Importing locations ======
 Locations are the labelled places in your warehouse where you store stock. Locations can be created individually (see [[items:item_locations|here]]) or can be created automatically when you import stock (see [[import_and_export:import_items_and_stock|here]]). The functionality to import locations described here will save you a lot of time if you need to put a lot of locations into mSupply separately from importing stock. Locations are the labelled places in your warehouse where you store stock. Locations can be created individually (see [[items:item_locations|here]]) or can be created automatically when you import stock (see [[import_and_export:import_items_and_stock|here]]). The functionality to import locations described here will save you a lot of time if you need to put a lot of locations into mSupply separately from importing stock.
  
-As with the other import features of mSupply, this import uses a tab delimited text file (easily produced by exporting a spreadsheet from Excel or other spreadsheet programme). The columns that must be present in the file and their contents are as follows:+This import uses a <wrap em>tab delimited text file</wrap> (easily produced by exporting a spreadsheet from Excel or other spreadsheet programme). The columns that must be present in the file and their contents are as follows: 
 + 
 +<WRAP  center round important 60%>All columns must be present in the import file but only the first 2 (Location code and Store code or name) are mandatory. If either of these fields do not have values entered then the location will be ignored.</WRAP> 
 + 
 +<WRAP center round alert 60%> 
 +The import must take place when the user is logged in to the store on the site where the store is Active 
 +</WRAP>
  
-<WRAP important>All columns must be present in the import file but only the first 2 (Location code and Store code or name) are mandatory. If either of these fields do not have values entered then the location will be ignored.</WRAP> 
  
 ^ Column number  ^ Column letter  ^ Field  ^ Description ^ ^ Column number  ^ Column letter  ^ Field  ^ Description ^
-| 1 | A | Location code        | The code of the location. This is used to identify and select the location throughout mSupply and is the label you apply to the location in your warehouse e.g. "A01" or "A01.03.C". This field is mandatory; if it's not present the location will be ignored. | +| 1 | A | Location code        | The code of the location. This is used to identify and select the location throughout mSupply and is the label you apply to the location in your warehouse e.g. "A01" or "A01.03.C". | 
-| 2 | B | Store code or name   | The code or name of the store the location is to be created in. You can see the list of store names and their codes currently in your copy of mSupply by going to //Special > Show stores...//  This field is mandatory; if it's not present the location will be ignored. +| 2 | B | Store code or name   | The code or name of the store the location is to be created in. You can see the list of store names and their codes currently in your copy of mSupply by going to //Special > Show stores...// | 
-| 3 | C | Location description | For your reference only, a longer description of the location e.g. "Aisle A, shelf 1, position C". This field is optional. | +| 3 | C | Location description | For your reference only, a longer description of the location e.g. "Aisle A, shelf 1, position C". | 
-| 4 | D | Volume               | The start date for the period to which the budget belongs in the format dd/mm/yyyy or mm/dd/yyyy (whichever your copy of mSupply is using). | +| 4 | D | Volume               | The total storage volume of the location in m<sup>3</sup> (cubic metres). | 
-| 5 | E | Priority             The end date for the period to which the budget belongs in the format dd/mm/yyyy or mm/dd/yyyy (whichever your copy of mSupply is using)The budget period start and end dates must match an existing budget period period in mSupply (set up using [[other_stuff:budgets|Budgets]]), otherwise an error will be generated. | +| 5 | E | Priority             A whole number from 0 upwards. This is used when printing a picking slip. Setting a priority for a location will override the default //alphabetical// ordering of shelf locations in a picking listA location with a lower priority number will be printed before a location with a higher priority number. All locations with 0 priority are counted as having no priority and will be printed, in alphabetical order, //after// all locations with a priority. | 
-| 6 | F | Is summary location  | Whether the location is a summary location that cannot hold stock. "y""yes""tor "trueis interpreted as true, anything else (including nothing) is interpreted as false. | +| 6 | F | Is summary location  | Whether the location is a summary location that cannot hold stock. ''y''''yes''''t'' or ''true'' is interpreted as true, anything else (including nothing) is interpreted as false. | 
-| 7 | G | Location type        | . | +| 7 | G | Location type        | The name of the location type for this location (must be an exact match and the location type must already exist in mSupply, otherwise the location will be created with no location type). | 
-| 8 | H | Parent location code or description | . |+| 8 | H | Parent location code or description | The code or description of the location which is a parent to this one. If the parent does not already exist in mSupply the location will be imported without the parent. Please make sure that the parent location are imported first. |
  
 An empty Excel spreadsheet containing these columns for you to use as a template is here: {{:import_and_export:location_import_template.xlsx|}} An empty Excel spreadsheet containing these columns for you to use as a template is here: {{:import_and_export:location_import_template.xlsx|}}
  
-When you have created the import text file go to **File** > **Import** > **Import customer budgets** and select your text file. You will be show the following window:+When you have created the import text file go to **File** > **Import** > **Import locations** and select your text file. You will be show the following window:
  
-{{ :issuing_goods:customer_budgets_import.png?600 |}}+{{ :import_and_export:import_locations.png?350 |}}
  
 Now choose the import settings to match your file: Now choose the import settings to match your file:
Line 29: Line 33:
  
 And select how duplicates are to be handled (a duplicate is a row which matches another line in the file or a budget already in mSupply): And select how duplicates are to be handled (a duplicate is a row which matches another line in the file or a budget already in mSupply):
 +  * **Import and continue:** The duplicate record is created and import continues normally
 +  * **Ask each time:** You will be asked what you want to do with a duplicate each time one is detected; ignore it, create it or stop the import
   * **Skip the duplicate without asking:** The duplicate record is ignored completely   * **Skip the duplicate without asking:** The duplicate record is ignored completely
-  * **Stop the import:** mSupply will stop importing form the file if it detects a duplicate. Any budgets already imported will be kept but no further lines in the file will be processed+  * **Stop the import:** mSupply will stop importing from the file if it detects a duplicate. Any locations already imported will be kept but no further lines in the file will be processed.
-  * **Update customer budget:** The budget already in mSupply will be updated with the new details found in the file and the import will continue. +
- +
-You can also click the //Next// and //Previous// buttons to see a preview of what mSupply will import on each row from your file. This can be useful for showing differences in the contents of your file and what mSupply is expecting.+
  
-When you're ready to carry out the import, click on the //OK// button. mSupply will carry out the import and tell you how many lines were imported, how many budgets already in mSupply were modified and if there were any errors. You can see more details by viewing the log (see [[admin:tables_fields:foreign_keys|The log]]).+When you're ready to carry out the import, click on the //OK// button. mSupply will carry out the import and tell you how many locations were imported, how many already in mSupply were modified and if there were any errors. You can see more details by viewing the log (see [[admin:the_log|The log]]).
  
 +<WRAP info center round 60%>
 +If there are non-printable characters before or after the location description or code they will be removed. Any non-printable characters in the description or code will be replaced with an underscore (<wrap em>_</wrap>).
 +</WRAP>
  
-// Previous: [[import_and_export:importing_a_supplier_invoice|Importing a supplier invoice]]     Next: [[import_and_export:export_invoice|Exporting invoices]]//+\\ 
 +\\ 
 +|  //  Previous:  **[[import_and_export:importing_customer_budgets]]** | | Next: **[[import_and_export:importing_a_supplier_invoice]]** //  |
 ---- struct data ---- ---- struct data ----
 +pagestatus.status    : 
 ---- ----
  
  • Last modified: 2016/07/06 14:51
  • by Gary Willetts