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
items:adding_a_new_item [2023/05/09 15:22] – [Stores tab] Gary Willettsitems:adding_a_new_item [2024/11/08 13:27] (current) – [Normal items] Gary Willetts
Line 24: Line 24:
 These 3 fields are available to be filled in for every type of item. These 3 fields are available to be filled in for every type of item.
  
-You should decide on a clear scheme for item names and codes. This can be a tricky process but is worth persevering with. You can change your mind later but changing the codes of all the items and names in your datafile could be a time-consuming business.+**Universal code:** This read-only field shows the item's universal code as supplied by The mSupply Foundation's unversal code server at [[https://universalcodes.msupply.org.nz/]]. Use the button next to the field to search for this item's universal code. See the [[items:item_basics:tab_general#universal_code|4.01.01. Items - General tab]] page for more details. The universal code is useful for identifying the item across multiple systems. 
 + 
 +You should decide on a clear scheme for item names and codes. This can be a tricky process but is worth persevering with. You can change your mind later but changing the codes of all the items and names in your datafile could be a time-consuming business - but note you can speed this up hugely by exporting all the items then reimporting them with their new codes. See the [[import_and_export:importing_items|]] page for details.
  
 We would recommend that the item code is systematic and can be worked out from the item's details e.g. first 3 letters of the item's name, 3 figures for the strength, a letter for the formulation then a letter or number for disambiguation if necessary. We would recommend that the item code is systematic and can be worked out from the item's details e.g. first 3 letters of the item's name, 3 figures for the strength, a letter for the formulation then a letter or number for disambiguation if necessary.
Line 119: Line 121:
  
 **Note:** Item custom field 5 is also settable, as shown in the screenshot. It is a number field. This is the user_field_5 for the **cross reference item** (brand/familiar name), not the normal item. The //user_field_5// label shown in the screenshot will be replaced with the name assigned to the field in the preferences (see the [[preferences:general#misc_tab|16.01. General preferences]] page for details) if it has been set. Making this field settable here might seem strange but it is used in some customisations! **Note:** Item custom field 5 is also settable, as shown in the screenshot. It is a number field. This is the user_field_5 for the **cross reference item** (brand/familiar name), not the normal item. The //user_field_5// label shown in the screenshot will be replaced with the name assigned to the field in the preferences (see the [[preferences:general#misc_tab|16.01. General preferences]] page for details) if it has been set. Making this field settable here might seem strange but it is used in some customisations!
 +
 +The visibility of cross reference items in different stores matches the visibility of the normal item it is linked to. So there is no functionality for manually setting the visibility of cross reference items.
  
 ===== Service items ===== ===== Service items =====
  • Last modified: 2023/05/09 15:22
  • by Gary Willetts