inv_item_attr
- Last UpdatedNov 12, 2024
- 1 minute read
The inv_item_attr table displays as columns all the item attributes to be visible in an inventory grid, for each item. This table initially has a single column, the item_id, with an additional pair of columns being added whenever visible_in_inv is set to Yes for an item attribute or whenever an item attribute is created with this set to Yes. A pair of columns is removed whenever visible_in_inv is set to No for an item attribute or whenever an item attribute with this set to Yes is deleted. A row is added any time a new item record is added.
|
Field |
Datatype |
PK |
Nulls? |
Description |
|---|---|---|---|---|
|
inv_item_item_id_h |
string40 |
Y |
N |
Identify item whose attributes are to be displayed in inventory |
|
attr<attr_id> |
string1700 |
N |
Y |
Value of the item attribute whose ID is the numeric part of the field name following "attr" |
|
attr<attr_id>d_h |
string80 |
N |
N |
Description of the attribute whose ID is the numeric part of the field name following "attr" and preceding "d_h". This will be the same for every row. |
|
... |
string80 |
N |
Y |
(additional pairs of rows per above, one for every item attribute where "visible_in_queue" is Yes) |
|
... |
string80 |
N |
N |
FK from inv_item_item_id_h to item. (Cascade delete)