LOY_ACTRANGE
Stores the range of units and the corresponding points to support range based promotions.
Details
-
Schema: FUSION
-
Object owner: LOY
-
Object type: TABLE
-
Tablespace: FUSION_TS_TX_DATA
Primary Key
Name | Columns |
---|---|
LOY_ACTRANGE_PK |
LOY_ACTRANGE_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
LOY_ACTRANGE_ID | NUMBER | 18 | Yes | Who column. | |
CREATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who created the row. | |
LAST_UPDATED_BY | VARCHAR2 | 64 | Yes | Who column: indicates the user who last updated the row. | |
LAST_UPDATE_LOGIN | VARCHAR2 | 32 | Who column: indicates the session login associated to the user who last updated the row. | ||
CREATION_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the creation of the row. | ||
LAST_UPDATE_DATE | TIMESTAMP | Yes | Who column: indicates the date and time of the last update of the row. | ||
CONFLICT_ID | NUMBER | 18 | Yes | Disconnected Mobile: this value is used to guarantee the uniqueness of the row when duplicates are created in different databases (i.e. mobile databases or the server). | |
ACTION_ID | NUMBER | 18 | Yes | Action identifier | |
PER_UNIT_VAL | NUMBER | Yes | Points assigned per unit for the given range | ||
RANGE_END_UNITS | NUMBER | Number of units at which the range ends | |||
RANGE_START_UNITS | NUMBER | Yes | Number of units at which the range starts | ||
OBJECT_VERSION_NUMBER | NUMBER | 9 | Yes | Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
LOY_ACTRANGE_U1 | Unique | FUSION_TS_TX_DATA | LOY_ACTRANGE_ID |
LOY_ACTRANGE_U2 | Unique | Default | ACTION_ID, RANGE_START_UNITS, PER_UNIT_VAL, CONFLICT_ID |