LOY_PROMOMEM

Loyalty Promotion Member Intersection table.

Details

  • Schema: FUSION

  • Object owner: LOY

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

LOY_PROMOMEM_PK

LOY_PROMOMEM_ID

Columns

Name Datatype Length Precision Not-null Comments
LOY_PROMOMEM_ID NUMBER 18 Yes Who Column: Primary Key.
PROMOMEM_NUMBER VARCHAR2 30 Yes The public unique identifier (PUID) for the promotion enrolled record.
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.
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.
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).
PROMO_ID NUMBER 18 Yes Promotion Id.
MEMBER_ID NUMBER 18 Yes Loyalty Member Id.
THEME_EXPIRY_TS TIMESTAMP Date and time when the theme based promotion expires (Theme = For the first month of the membership, One year after membership etc.).
ELIG_FLG VARCHAR2 1 Yes Indicates if Member is eligible or enrolled.
OFFER_NUM VARCHAR2 30 Offer Number.
BLKAD_REQ_ID NUMBER 18 Bulk Administration Request through which this member was added to the promotion.
OPTIN_DT TIMESTAMP Opt-in date.
INCENTIVE_CHOICE_ID NUMBER 18 Refers to incentive choice.

Foreign Keys

Table Foreign Table Foreign Key Column
LOY_PROMOMEM loy_member MEMBER_ID
LOY_PROMOMEM loy_mem_blkad BLKAD_REQ_ID
LOY_PROMOMEM loy_promo PROMO_ID
LOY_PROMOMEM loy_incentive_choice INCENTIVE_CHOICE_ID

Indexes

Index Uniqueness Tablespace Columns
LOY_PROMOMEM_F1 Non Unique Default MEMBER_ID
LOY_PROMOMEM_F2 Non Unique Default BLKAD_REQ_ID
LOY_PROMOMEM_F3 Non Unique Default INCENTIVE_CHOICE_ID
LOY_PROMOMEM_U1 Unique Default LOY_PROMOMEM_ID
LOY_PROMOMEM_U2 Unique Default PROMO_ID, MEMBER_ID, THEME_EXPIRY_TS, CONFLICT_ID
LOY_PROMOMEM_U3 Unique Default LAST_UPDATE_DATE, LOY_PROMOMEM_ID
LOY_PROMOMEM_U4 Unique Default PROMOMEM_NUMBER