Alternative Item Codes
- Last UpdatedAug 20, 2025
- 1 minute read
By default, ISODRAFT takes the item code from the SPCOM name. If the user requires different item codes for different clients, the user can set them in the Catalogue database as User-defined Attributes (UDAs) of the SPCOM. UDAs are described in the Lexicon Command Reference Manual. It is also possible to derive the item code for Supports from a Standard Text Attribute, Text UDA or Property of the ATTA itself rather than from its SPCOM. Refer to ISODRAFT command ITEMCODE for further information of how to display the item codes.
The following example shows part of a specification. The SPCOMs have UDAs :clienta and :clientb. Note that SPECON cannot output UDAs in tabular format, and so this example is just for illustration.
|
TYPE |
NAME |
... |
BLTREF |
:clienta |
:clientb |
|---|---|---|---|---|---|
|
FLAN |
*/FL100 |
... |
/BL100 |
F100L |
FLAN100 |
|
BOLT |
*/BL100 |
... |
/BL100 |
unset |
unset |
Note:
ITEMCODE LENGTH LONG/SHORT has no effect on alternative item codes. Also note that
any text after a delimiter character in a UDA will be stripped off (for example, ABC:123
would become ABC).
Alternative item codes for bolts are set in a different way, as described in Alternative Item Codes for Bolts.