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
en:mobile:setup:server_side:create_store [2020/03/02 00:04] – [Create store by cloning another sync store using sync_clone_sync_site] lou_lomasen:mobile:setup:server_side:create_store [2021/07/15 23:01] (current) – [3. Create the Store] Mark Glover
Line 1: Line 1:
 ====== 3. Create the Store ====== ====== 3. Create the Store ======
 +
 +<WRAP center round important 60%>
 +This step is best carried out using the [[https://docs.msupply.org.nz/synchronisation:site_wizard|Sync site wizard]].  These instructions are retained here for reference only.
 +</WRAP>
  
 After the sync sites have been set up, there are three approaches to creating and configuring the store that will be operated on that site. After the sync sites have been set up, there are three approaches to creating and configuring the store that will be operated on that site.
  
-  * This can be done 'manually' as described in the first method below.  This method is suitable if you are creating only a handful of stores. +  * **[[en:mobile:setup:server_side:create_store#manually_create_store|Manually create a store]]** - this method is suitable if you are creating only a handful of stores 
-  * If you are creating a larger number of stores, then it is more appropriate to use one or both of the two footrunner code methods.  As of 2019-10-24 there are two pieces of footrunner code that can expedite this process - see: +  * **[[en:mobile:setup:server_side:create_store#create_store_for_existing_customer|Create a store for an existing customer]]** 
-   *[[https://sussol.net/wiki/doku.php/msupply:specifications:admin:sync#creating_data_files_for_multiple_new_remote_sites|Creating data files for multiple new remote sites]].  They can **//not//** be used together for the same store, but it may be appropriate to use  +  * **[[en:mobile:setup:server_side:create_store#create_stores_by_cloning_another_sync_store_using_sync_clone_sync_site|Create stores by cloning another sync store]]** - if you're creating a larger number of stores, then it is more appropriate for the mSupply Support Team to use footrunner code
-    * [[https://sussol.net/wiki/doku.php/msupply:specifications:admin:sync#store_create_from_name|store_create_from_name]] for creation of one storeand then use  +
-    *[[https://sussol.net/wiki/doku.php/msupply:specifications:admin:sync#sync_clone_sync_site|sync_clone_sync_site]] to create subsequent stores. +
- +
 ==== Manually create store ==== ==== Manually create store ====
   - On mSupply desktop go to **Special > Stores > New Store**{{ :mobile:mob2_001.jpg?600 |}}{{ :mobile:newstore.jpg |}}   - On mSupply desktop go to **Special > Stores > New Store**{{ :mobile:mob2_001.jpg?600 |}}{{ :mobile:newstore.jpg |}}
Line 16: Line 16:
   * The Store Name needs to be something that users will recognise.\\  ''Mobile Store 1'' is not likely to be a good name to use. ;-)   * The Store Name needs to be something that users will recognise.\\  ''Mobile Store 1'' is not likely to be a good name to use. ;-)
 </WRAP> </WRAP>
-  - [[en:mobile:setup:server_side#making_items_visible_to_the_new_store_according_to_a_master_list|Configure items visibility for the store]] +  - [[en:mobile:setup:server_side:config#making_items_visible_in_the_new_store_using_master_list_s|Configure items visibility]] 
-  - [[en:mobile:setup:server_side#setting_up_correct_synchronisation_settings|Configure synchronisation settings]] +  - [[en:mobile:setup:server_side:config#setting_up_the_correct_synchronisation_settings|Configure synchronisation settings]] 
-  - [[en:mobile:setup:server_side#configure_visibility_to_other_stores|Configure store visibility to other stores]]+  - [[en:mobile:setup:server_side:config#make_the_store_visible_to_other_stores|Configure store visibility to other stores]]
  
-==== Create store for existing customer name using store_create_from_name ====+==== Create store for an existing customer ====
  
 This method is only useful if you already have a customer that you want to convert to a store.\\ This method is only useful if you already have a customer that you want to convert to a store.\\
Line 30: Line 30:
     - Store mode for new store (one of ''store'', ''dispensary'' or ''report'').  Almost always, this should be ''store''     - Store mode for new store (one of ''store'', ''dispensary'' or ''report'').  Almost always, this should be ''store''
     - ''Sync ID'' for site on which the new store will be Active (optional; if left blank, will default to the current site ID)     - ''Sync ID'' for site on which the new store will be Active (optional; if left blank, will default to the current site ID)
-  - [[en:mobile:setup:server_side#making_items_visible_to_the_new_store_according_to_a_master_list|Configure items visibility for the store]] +  - [[en:mobile:setup:server_side:config#making_items_visible_in_the_new_store_using_master_list_s|Configure items visibility]] 
-  - [[en:mobile:setup:server_side#setting_up_correct_synchronisation_settings|Configure synchronisation settings]] +  - [[en:mobile:setup:server_side:config#setting_up_the_correct_synchronisation_settings|Configure synchronisation settings]] 
-  - [[en:mobile:setup:server_side#configure_visibility_to_other_stores|Configure store visibility to other stores]] +  - [[en:mobile:setup:server_side:config#make_the_store_visible_to_other_stores|Configure store visibility to other stores]] 
- +=== Merging the new store with the existing customer === 
-=== Merging the new store the existing customer === +Using the mSupply Desktop User Guide [[https://docs.msupply.org.nz/names:merging_names|merge the new store name with the existing customer name]].  There is some footrunner code that can facilitate this for multiple sites.
-Using the mSupply Desktop User Guide [[https://docs.msupply.org.nz/names:merging_names|Merge the new store name with the existing customer name]].  There is some footrunner code that can facilitate this for multiple sites.+
  
-__NOTE:__ Before merging any unfinalised Customer Invoices from supplying stores to these existing customers need to be finalised first.  On a system with supplying stores on multiple sync sites, this can take a long time.  Start early, and if possible, ask the supplying stores to refrain from creating new Customer Invoices until the merging is done...+**Before merging** all unfinalised Customer Invoices from supplying stores to the existing customer must be finalised.  On a system with supplying stores on multiple sync sites, this can take a long time.  Start early, and if possible, ask the supplying stores to refrain from creating any new Customer Invoices until the merging is done...
  
-If you try to do the merge before finalising unfinalised customer invoices, you will get an error message, and as that message indicates, the merge will not proceed+If you try to do the merge before finalising all customer invoices, you will get an error message, and the merge will not proceed
 {{ :en:mobile:pasted:20200116-222550.png  ?500 }} {{ :en:mobile:pasted:20200116-222550.png  ?500 }}
 ==== Create store by cloning another sync store using sync_clone_sync_site ==== ==== Create store by cloning another sync store using sync_clone_sync_site ====
Line 46: Line 45:
  
 Make //**sure**// the relevant [[en:mobile:setup:server_side:create_sync_site|sync sites have been created]] and then, for **EACH** store: Make //**sure**// the relevant [[en:mobile:setup:server_side:create_sync_site|sync sites have been created]] and then, for **EACH** store:
-  - The mSupply Support Team will use the footrunner code [[https://sussol.net/wiki/doku.php/msupply:specifications:admin:sync#sync_clone_sync_site|sync_clone_sync_site]]|''sync_clone_sync_site'']] to clone the original store.  We will need: +  - The mSupply Support Team will use the footrunner code ''[[https://sussol.net/wiki/doku.php/msupply:specifications:admin:sync#sync_clone_sync_site|sync_clone_sync_site]]'' to clone the original store.  We will need: 
-    - ''Sync ID'' for source sync site +    - ''Sync ID'' for source sync site\\ \\ 
-    - ''Sync ID'' for clone sync site +    - ''Sync ID'' for clone sync site\\ \\ 
-    - ''Sync version'' (v1 for desktop, v3 for mobile) +    - ''Sync version'' (v1 for desktop, v3 for mobile)\\ \\ 
-    - Decision on whether the cloned store will have 'group' store visibility (visible to all other stores with the same supplying store) or not +    - Decision on whether the cloned store will have 'group' store visibility (visible to all other stores with the same supplying store) or not\\ \\ 
-    - Decision on whether to also clone locations, transactions, stock, requisitions.  (almost always **NO**!) +    - Decision on whether to also clone locations, transactions, stock, requisitions.  (almost always **NO**!)\\ \\ 
-    - new **store** code //and// name for each cloned store +    - new **store** code //and// name for each cloned store\\ \\ 
-    - new **user** name //and// password for the each cloned store's default user +    - new **user** name //and// password for the each cloned store's default user\\ \\ 
-  - If there are actually existing customers for each of these stores, you will then need to [[https://docs.msupply.org.nz/names:merging_names|merge the existing customer name with the new store]] +  - If there are actually existing customers for each of these stores, you will then need to [[https://docs.msupply.org.nz/names:merging_names|merge the existing customer name with the new store]]\\ \\ 
-  - The store will have the same item visibility configuration as the store that has been cloned.  Review, and if necessary, [[en:mobile:setup:server_side#making_items_visible_to_the_new_store_according_to_a_master_list|Configure items visibility for the store]] +  - The new store will have the same item visibility configuration as the original store.  Review, and if necessary, [[en:mobile:setup:server_side:config#making_items_visible_in_the_new_store_using_master_list_s|configure items visibility]]\\ \\ 
-  - The store will have the correct 'basic' sync settings.  Review, and if necessary, [[en:mobile:setup:server_side#setting_up_correct_synchronisation_settings|configure synchronisation settings]] +  - The new store will have the correct 'basic' sync settings.  Review, and if necessary, [[en:mobile:setup:server_side:config#setting_up_the_correct_synchronisation_settings|configure synchronisation settings]]\\ \\ 
-  - The store will have the correct 'basic' store visiblity settings, including, if you have selected it, 'group' store visibility.  Review, and if necessary, [[en:mobile:setup:server_side#configure_visibility_to_other_stores|configure store visibility to other stores]]+  - The new store will have the correct 'basic' store visibility settings, including, if you have selected it, 'group' store visibility.  Review, and if necessary, [[en:mobile:setup:server_side:config#make_the_store_visible_to_other_stores|configure store visibility to other stores]]
  
 \\ \\
 \\ \\
 |  //  Previous:  **[[en:mobile:setup:server_side:create_sync_site]]** | | Next: **[[en:mobile:setup:server_side:config]]** //  | |  //  Previous:  **[[en:mobile:setup:server_side:create_sync_site]]** | | Next: **[[en:mobile:setup:server_side:config]]** //  |
  • en/mobile/setup/server_side/create_store.1583107482.txt.gz
  • Last modified: 2020/03/02 00:04
  • by lou_lomas