Characteristic
Updated
A characteristic is a typed property a CharacteristicTemplate asks for: Colour (Option), Volume (Number). Values of Option and Several options live on this card as CharacteristicOption. Characteristics describe an item; they do not split its stock. Two sizes are two Item rows. Required on a template line warns; it does not block the item save.
| Kind | Dictionary |
| Module | Common |
| Menu | Inventory → Dictionaries → Characteristics |
The object lives in Common. Inventory grafts the menu item.
Fields#
| Field | Caption | Points at |
|---|---|---|
ID |
ID | number sequence |
Name |
Name | string, 150, required, translatable |
ValueType |
Value type | CharacteristicValueType |
Unit |
Unit | string, 20, translatable |
DecimalPlaces |
Decimal places | integer |
ReferenceDictionary |
Reference dictionary | string, 128 |
Description |
Description | string, 500 |
Name is required. ID comes from CharacteristicSeq, which starts at 1000 and steps by 1. Value type is optional; the generated enum is non-nullable, so unset is String.
Value type (CharacteristicValueType):
| Value | Caption |
|---|---|
String |
String |
Text |
Long text |
Integer |
Whole number |
Decimal |
Number |
Boolean |
Yes / No |
Date |
Date |
Option |
Option |
MultiOption |
Several options |
Reference |
Dictionary record |
Range |
Range |
Unit is shown after a number. Decimal places rounds Number and Range. Reference dictionary is the dictionary name for Dictionary record, for example Brand.
Options#
The list is CharacteristicOption, caption Options. It is opened on this card. Inventory also lists it under Characteristic options.
| Field | Caption | Points at |
|---|---|---|
ID |
ID | number sequence |
Characteristic |
Characteristic | this card, required |
Name |
Name | string, 150, required, translatable |
ColorHex |
Colour | string, 9 |
SortOrder |
Order | integer |
Characteristic and Name are required. ID comes from CharacteristicOptionSeq, which starts at 1000 and steps by 1. Colour is a swatch such as #1E5AA8. Empty Order is lawful. Cascade delete is on: deleting the characteristic deletes its options.
This dictionary is not hierarchical. There are no commands. This dictionary writes no register.
Who references this#
CharacteristicOptionfieldCharacteristicCharacteristicTemplateLinefieldCharacteristic