LOY_TIER_CLS

This has the Loyalty Tier Class information.

Details

  • Schema: FUSION

  • Object owner: LOY

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

LOY_TIER_CLS_PK

LOY_TIER_CLS_ID

Columns

Name Datatype Length Precision Not-null Comments
LOY_TIER_CLS_ID NUMBER 18 Yes Who Column: Primary Key.
END_TIER_PD_DAY_CODE VARCHAR2 30 End TIer Period Day.
END_TIER_MTH_DY_CODE VARCHAR2 30 End Tier Period Month.
END_TIERLEN_UOM_CODE VARCHAR2 30 Minimum tier validity period UOM.
MIN_TIER_LEN NUMBER 9 Minimum validity period of the tier.
NAME VARCHAR2 30 Yes Name of Loyalty Tier Class.
PROGRAM_ID NUMBER 18 Reference Program Id
PR_TIER_ID NUMBER 18 Reference Parent Tier Id
QUAL_PD_UOM_CODE VARCHAR2 30 Qualifying Period Unit of Measure.
QUAL_PERIOD_LEN NUMBER 9 Qualifying period length at tier class level. This overrides any values specified at tier level.
REQUAL_PD_UOM_CODE VARCHAR2 30 Requalifying period unit of measure.
REQUAL_PERIOD_LEN NUMBER 9 Length of requalifying period.
RESTART_QUAL_PD_CODE VARCHAR2 30 Determines when the qualifying period should change when the tier changes.
SEQ_NO NUMBER 9 Yes Sequence number determines the precedence.
START_QUAL_PD_CODE VARCHAR2 30 Start Qualifying Period Code.
ST_QUAL_PD_DAY_CODE VARCHAR2 30 Start Qualifying period day.
ST_QUAL_PD_MTH_CODE VARCHAR2 30 Start Qualifying period month.
ST_TIER_PD_DAY_CODE VARCHAR2 30 Start tier period day code.
ST_TIER_PD_MTH_CODE VARCHAR2 30 Start Tier Period Month.
TYPE_CODE VARCHAR2 30 Tier Class Type Code
ACTIVE_FLAG VARCHAR2 1 Yes Tier Class Active Flag.
APPLY_FLAG VARCHAR2 1 Yes Tier class is applied to existing member.
APPROVER_ID NUMBER 18 Approver who will approve the downgrade. Used in batch mode.
ASSESS_DATE_CODE VARCHAR2 30 Assessment day.
ASSESS_MONTH VARCHAR2 30 Assessment month.
ASSESS_RECUR_CODE VARCHAR2 30 Accessment recurrence period. e.g. moths, years, period etc.
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).
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.
QUAL_POINT_TYPE_ID NUMBER 18 Qualifying Point Type used in Tier Assessment calculation/comparison.
SNAPTO_CODE VARCHAR2 30 SnapTo code which will be used to calculate tier end date. Eg: On this specific date of Month
TIER_PERIOD_LEN NUMBER 9 Tier Period length Eg: 24, 36
ST_TIER_PD_DAY NUMBER 2 Day of Tier Period.
ST_QUAL_PD_DAY NUMBER 2 Day of Qualifying Tier Period.

Foreign Keys

Table Foreign Table Foreign Key Column
LOY_TIER_CLS loy_attrdefn_b QUAL_POINT_TYPE_ID
LOY_TIER_CLS loy_tier PR_TIER_ID
LOY_TIER_CLS loy_program PROGRAM_ID
loy_tier loy_tier_cls TIER_CLASS_ID
loy_attrdefn_b loy_tier_cls TIER_CLASS_ID
loy_prog_neg_point loy_tier_cls TIER_CLASS_ID
loy_mem_tier loy_tier_cls TIER_CLASS_ID
loy_mem_blkad loy_tier_cls TIER_CLASS_ID

Indexes

Index Uniqueness Tablespace Columns
LOY_TIER_CLS_F1 Non Unique Default QUAL_POINT_TYPE_ID
LOY_TIER_CLS_F2 Non Unique Default PR_TIER_ID
LOY_TIER_CLS_U1 Unique FUSION_TS_TX_DATA LOY_TIER_CLS_ID
LOY_TIER_CLS_U2 Unique FUSION_TS_TX_DATA PROGRAM_ID, NAME, CONFLICT_ID