LOY_PROG_NEG_POINT

The table is used to store negative point limit settings for the Loyalty Programs.

Details

  • Schema: FUSION

  • Object owner: LOY

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

LOY_PROG_NEG_POINT_PK

PROG_NEG_POINT_ID

Columns

Name Datatype Length Precision Not-null Comments
PROG_NEG_POINT_ID NUMBER 18 Yes Who Column: Primary Key.
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of 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.
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.
PROGRAM_ID NUMBER 18 Yes Program to which the negative point limit is applicable
POINT_TYPE_ID NUMBER 18 Yes Point Type of the negative point
TIER_CLASS_ID NUMBER 18 Tier Class to which the negative point limit is applicable. If Tier Class Id and Tier Id are null, it means negative point limit is applicable for all the tiers in the program.
TIER_ID NUMBER 18 Tier to which the negative point limit is applicable
BASIS_CD VARCHAR2 30 Yes Basis for negative points limit. Valid values are: Maximum/Minimum
PNT_BAL_PCT NUMBER Percentage of Point Balance
ABSOLUTE_VAL NUMBER Absolute value

Foreign Keys

Table Foreign Table Foreign Key Column
LOY_PROG_NEG_POINT loy_program PROGRAM_ID
LOY_PROG_NEG_POINT loy_attrdefn_b POINT_TYPE_ID
LOY_PROG_NEG_POINT loy_tier_cls TIER_CLASS_ID
LOY_PROG_NEG_POINT loy_tier TIER_ID

Indexes

Index Uniqueness Tablespace Columns
LOY_PROG_NEG_POINT_F1 Non Unique Default POINT_TYPE_ID
LOY_PROG_NEG_POINT_F2 Non Unique Default TIER_CLASS_ID
LOY_PROG_NEG_POINT_F3 Non Unique Default TIER_ID
LOY_PROG_NEG_POINT_U1 Unique Default PROG_NEG_POINT_ID
LOY_PROG_NEG_POINT_U2 Unique Default PROGRAM_ID, POINT_TYPE_ID, TIER_ID