1.7 5765 Query on UOM setup
Submitted by Guest on Sun, 02/03/2014 - 16:00
I needed to add a new UOM to the system 'Pack of 10'. As a result of the exercise, I am certain that the CSH text http://www.openvpms.org/documentation/csh/1.7/admin/lookup/uom is misleading.
Can someone confirm the following:
- The Name field is what gets printed when say "openvpms:lookup(openvpms:get(.,'product.entity'), 'dispensingUnits')" is used.
- The Unit Code is a pull down list of terms that provides a more generic description of the unit of measure. The list contents are defined within the archetype lookup.uom and can only be added to by modifying the archetype and reloading it.
- The Unit Code is not used by the system and can safely be set to None.
After the above is clarified, I will adjust the CSH text.
Regards, Tim G
Re: 1.7 5765 Query on UOM setup
1. Correct
2. The Unit Code is used by ESCI to map UN/CEFACT Unit Codes* to the practice equivalents. These should not be changed. Note that OpenVPMS only provides a subset of the available codes, so if a required code is missing, it can be added but must be present in the list provided by http://docs.oasis-open.org/ubl/cs-UBL-2.0/cl/gc/cefact/UnitOfMeasureCode...
3. Only if the practice isn't using ESCI.
-Tim A
* UN/CEFACT Recommendation N°. 20 - Codes for Units of Measure Used in International Trade - http://www.unece.org/fileadmin/DAM/cefact/recommendations/rec20/rec20.zip
Re: 1.7 5765 Query on UOM setup
Thanks Tim - have revised the CSH text. Regards, Tim G