Table Name: | inv_role |
Table Number: | 42 |
Group: | Logistics |
Description: | Role played by an inventory location for a site or by a site for an inventory location |
Flags: | |
Baseline/Custom: | Baseline |
Field Name | Common Type | Database Type | Generic Field ID | Array Size | Default | Flags | Comment | Field Used in Views |
---|---|---|---|---|---|---|---|---|
active | LONG | smallint | DIRECT | Indicates whether the role is currently being used; i.e., 0=inactive, 1=active | ||||
dev | LONG | int | 151 | 1 | DIRECT, ALLOW_NULL | Row version number for mobile distribution purposes | ||
focus_type | LONG | smallint | DIRECT | Object type ID of the role-player; i.e., 52=a site's role, 228=an inventory location's role | ||||
objid | LONG | int | 3 | DIRECT | Internal record number | Search (2) | ||
rank | LONG | int | 0 | DIRECT | For servicing inventory locations, ranks the order in which locations should be displayed for a given site in the Pick form; e.g., 0=not applicable, 1=first displayed, 2=second displayed, etc., default=0 | Search (3) | ||
role_name | CHAR | varchar | 80 | Name of role played by the focus type; e.g., sites default-bad parts inventory location, inventory locations located-at site | Search (6) |
Relation | Type | Target Object | Inverse Relation | Comment | Flags | MTM Table | Used in Views |
---|---|---|---|---|---|---|---|
inv_role2inv_locatn | MTO | inv_locatn | locatn2inv_role | Related inventory location | Search (6) | ||
inv_role2site | MTO | site | site2inv_role | Related site | Search (5) |
Index Name | Fields | Flags |
---|---|---|
role_index | role_name:focus_type:inv_role2inv_locatn:inv_role2site | UNIQUE |
Index Name | Fields | Additional Information |
---|---|---|
ind_inv_role2inv_locatn | inv_role2inv_locatn, inv_role2site, role_name | nonclustered located on PRIMARY |
ind_inv_role2site | inv_role2site, inv_role2inv_locatn, role_name | nonclustered located on PRIMARY |
objindex | objid | clustered, unique located on PRIMARY |
role_index | role_name, focus_type, inv_role2inv_locatn, inv_role2site | nonclustered, unique located on PRIMARY |
View ID | View Name | Tables |
---|---|---|
397 | sit_prt_view | inv_bin, inv_locatn, inv_role, mod_level, part_inst, part_num, site |
407 | locatn_view | address, inv_locatn, inv_role, site |
408 | locbin_view | inv_bin, inv_locatn, inv_role |
5177 | countlocbin | count_setup, inv_bin, inv_locatn, inv_role, site |
5279 | container_v | inv_bin, inv_locatn, inv_role, site |
5331 | v_inv_locatn | inv_locatn, inv_role, site |
inv_role | |||