Table Name: | N_CategoryTrees |
Table Number: | 5414 |
Group: | Configuration |
Description: | A tree structure comprised of category nodes. Items can belong to one or more nodes in a tree. Each N_Product has a category tree that can be used to organize its options and option packages. An N_Option may have a category tree provided it has options |
Flags: | |
Baseline/Custom: | Baseline |
Field Name | Common Type | Database Type | Generic Field ID | Array Size | Default | Flags | Comment | Field Used in Views |
---|---|---|---|---|---|---|---|---|
dev | LONG | int | 151 | 1 | DIRECT, ALLOW_NULL | Row version number for mobile distribution purposes | ||
N_EffectiveDate | CLK_TIME | datetime | ALLOW_NULL | The first date on which the information should be used | ||||
N_ExpirationDate | CLK_TIME | datetime | ALLOW_NULL | Last date when the information should be used | ||||
N_ItemId | LONG | int | DIRECT, ALLOW_NULL | The ID of the item that is a member of the category | ||||
N_ItemTypeId | LONG | int | DIRECT, ALLOW_NULL | Item type from N_ItemType table. It is used in conjunction with the N_ItemId field to identify to the item to which the package member belongs | ||||
N_ModificationDate | CLK_TIME | datetime | ALLOW_NULL | Date and time when the information was last modified | ||||
N_TreeName | CHAR | varchar | 50 | ALLOW_NULL | The name of the tree | |||
objid | LONG | int | 3 | DIRECT | Internal record number | Search (4) |
Relation | Type | Target Object | Inverse Relation | Comment | Flags | MTM Table | Used in Views | Set Name | Type ID Stored in | Objid Stored In |
---|---|---|---|---|---|---|---|---|---|---|
Exclusive Set Relations | ||||||||||
n_opttrees2N_Categories | OTM | N_Categories | n_cats2N_CategoryTrees | N_Categories belonging to the category tree | ||||||
n_categorytrees2N_ItemTypesEx | MTO | N_ItemTypesEx | n_xitmtyp2N_CategoryTrees | For a tree of an N_ExtItemType the N_ExtItemType | member_of | N_ItemTypeId | N_ItemId | |||
n_catrees2N_Option | OTM | N_Option | n_optn2N_CategoryTrees | N_Option belonging to the category tree | ||||||
n_catrees2N_Product | OTM | N_Product | n_prod2N_CategoryTrees | N_Product belonging to the category tree |
Index Name | Fields | Flags |
---|---|---|
I5414 | N_TreeName | UNIQUE |
Index Name | Fields | Additional Information |
---|---|---|
I5414 | N_TreeName | nonclustered, unique located on PRIMARY |
objindex | objid | clustered, unique located on PRIMARY |
View ID | View Name | Tables |
---|---|---|
5402 | N_Products | mod_level, N_CategoryTrees, N_Product, N_Templates, part_num, price_inst, price_prog, price_qty |
5429 | N_Options | mod_level, N_CategoryTrees, N_Option, N_Templates, part_num, price_inst, price_prog, price_qty |
5436 | NWS_Options | mod_level, N_CategoryTrees, N_Option, N_Templates, part_num |
5437 | NWS_Products | mod_level, N_CategoryTrees, N_Product, N_Templates, part_num |
N_CategoryTrees | |||