Table Name: | preference |
Table Number: | 5443 |
Group: | Sales Mgr |
Description: | Records preferneces for eBusiness use |
Flags: | |
Baseline/Custom: | Baseline |
Field Name | Common Type | Database Type | Generic Field ID | Array Size | Default | Flags | Comment | Field Used in Views |
---|---|---|---|---|---|---|---|---|
active | LONG | tinyint | 1 | DIRECT | Indicates whether the preference is active; i.e., 0=inactive, 1=active, default=1 | |||
dev | LONG | int | 151 | 1 | DIRECT, ALLOW_NULL | Row version number for mobile distribution purposes | ||
objid | LONG | int | 3 | DIRECT | Internal record number | |||
source_lowid | LONG | int | DIRECT, ALLOW_NULL | Internal record number of the owner object | ||||
source_type | LONG | smallint | DIRECT, ALLOW_NULL | Object type ID of owner object | ||||
subtype | LONG | int | 0 | DIRECT | Value within the related type; e.g., for type=address 0=shipping address, 1=billing address, 2=other, 3=shipping and billing, default=0 | |||
subtype_value | CHAR | varchar | 80 | Translation of the subtype. When a preference row is for a time zone or a locale, contains only the objid of the corresponding time_zone or locale object |
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 | ||||||||||
pref2address_extn | OTM | address_extn | address_extn2preference | Address extension for the preference | ||||||
pref2contact | MTO | contact | contact2preference | Contact who has the preference | owned_by | source_type | source_lowid | |||
pref_type2gbst_elm | MTO | gbst_elm | pref_type2preference | Type of the preference. Type correlates with relationship(s) that are set; e.g., type =address implies the preference will be related to an address_extn object | ||||||
pref2user | MTO | user | user2preference | User who has the preference | owned_by | source_type | source_lowid | |||
pref2web_user | MTO | web_user | web_user2preference | Web_user who has the preference |
Index Name | Fields | Flags |
---|---|---|
pref_ind | pref2web_user:pref_type2gbst_elm:subtype:source_type:source_lowid | UNIQUE |
Index Name | Fields | Additional Information |
---|---|---|
objindex | objid | clustered, unique located on PRIMARY |
pref_ind | pref2web_user, pref_type2gbst_elm, subtype, source_type, source_lowid | nonclustered, unique located on PRIMARY |
sl5443 | source_lowid, source_type | nonclustered located on PRIMARY |
View ID | View Name | Tables |
---|
preference | |||