Make UoM 100% compliant with Un/ECE Rec. 20 annex 2
To be fully complaint with UN/ECE Rec 20. The following changes must be made to the type and content.
Type: Enumerated String - 3 alphabetic uppercase characters exactly; white space, numbers or specical characters are not allowed
In Rec 20 the actual Type is AN(2..3). This means the field length can be either 2 Characters or 3 Characters. The first character must be Alphabetic All Alphabetic characters must be UPPER CASE The second (AN2) or second and third character (AN2/AN3) can be numeric, either 0...9 or 00..99. White space characters and special characters are not allowed.
Both LPT Loyalty point and LPS Loyalty stamp must be removed These are not UN/ECE Rec 20 units of measure.
DD, EA, JK, QT, PT all are valid codes when the correct AN(2..3) type is used.
0 meaning "no unit of measurement" must be removed. An application knows when a quantity UoM qualifier is needed.