LOY_MEM_BLKAD

This table stores the membership bulk administration history data.

Details

  • Schema: FUSION

  • Object owner: LOY

  • Object type: TABLE

  • Tablespace: FUSION_TS_TX_DATA

Primary Key

Name Columns

LOY_MEM_BLKAD_PK

BULK_ADMIN_ID

Columns

Name Datatype Length Precision Not-null Comments
BULK_ADMIN_ID NUMBER 18 Yes Who Column: Primary Key.
BATCH_NUM VARCHAR2 30 Indicate the batch number of the bulk admin membership, likewise the bulk admin id, type is varchar2 for fixing refresh batch issue
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).
PROGRAM_ID NUMBER 18 Yes PROGRAM_ID
SEQ_NUM NUMBER Yes SEQ_NUM : Part of user Key . It is a sequence number within a program
ACTION_TYPE_CODE VARCHAR2 30 Yes ACTION_TYPE_CODE:Stores the action performed over a file.
COMMENTS VARCHAR2 1000 COMMENTS:Stores the comments
ENROL_PROMO_ID NUMBER 18 ENROL_PROMO_ID: Promotion to be seleted when Action Type in Bulk Administration is 'Bulk Promotion Enrolment'
EXEC_DATE TIMESTAMP Yes EXEC_DATE:Date when the import of the file was performed.
IMPORT_TYPE_CODE VARCHAR2 30 IMPORT_TYPE_CODE: Stores the type of import ( XML , CSV, Analytics etc )
INCENTIVE_CHOICE_ID NUMBER 18 INCENTIVE_CHOICE_ID:Incentive Choice associated to the Promotion selected
LOG_FILE_NAME VARCHAR2 500 LOG_FILE_NAME:Stores the name of the log file .
MKTG_SEG_ID NUMBER 18 MKTG_SEG_ID:Stores the market segment ID.
NEW_STATUS_CODE VARCHAR2 30 NEW_STATUS_CODE:New Status Code
NEW_TIER_ID NUMBER 18 NEW_TIER_ID:The New Tier
OUTPUT_BATCH_SIZE NUMBER OUTPUT_BATCH_SIZE:Batch Size would indicate the number of simulation records created in a single output XML file
PARTNER_ID NUMBER 18 PARTNER_ID:For storing the partner for points adjustment
PAR_ROW_ID NUMBER 18 PAR_ROW_ID:For storing the partner for points adjustment
PNT_ADJ_TYPE_CODE VARCHAR2 30 PNT_ADJ_TYPE_CODE:Debit / Credit
POINT_QUANTITY NUMBER POINT_QUANTITY
POINT_TYPE_ID NUMBER 18 POINT_TYPE_ID
REASON_CODE VARCHAR2 30 Yes REASON_CODE:Stores the reason for a manual membership action
REJECT_REC_COUNT NUMBER REJECT_REC_COUNT:Specifies the number of records rejected.
REQUEST_ID NUMBER 18 Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row.
STATUS_CODE VARCHAR2 30 STATUS_CODE:Stores the Bulk action processing status.
TIER_CLASS_ID NUMBER 18 TIER_CLASS_ID:Tier Class of the New Tier
TIER_END_DATE TIMESTAMP TIER_END_DATE
TIER_START_DATE TIMESTAMP TIER_START_DATE
TOTAL_REC_COUNT NUMBER TOTAL_REC_COUNT:Specifies the total number of records received as input.
UPLOAD_FILE_NAME VARCHAR2 75 UPLOAD_FILE_NAME:Name of the uploaded file
ENROLL_PROMO_START_DATE TIMESTAMP The date and time when the batch of members start the promotion enrollment through group membership administration
ENROLL_PROMO_END_DATE TIMESTAMP The date and time when the batch of members end the promotion enrollment through group membership administration

Foreign Keys

Table Foreign Table Foreign Key Column
LOY_MEM_BLKAD loy_program PROGRAM_ID
LOY_MEM_BLKAD loy_promo ENROL_PROMO_ID
LOY_MEM_BLKAD loy_tier NEW_TIER_ID
LOY_MEM_BLKAD loy_mem_blkad PAR_ROW_ID
LOY_MEM_BLKAD loy_attrdefn_b POINT_TYPE_ID
LOY_MEM_BLKAD loy_tier_cls TIER_CLASS_ID
loy_mem_blkad_detail loy_mem_blkad BULK_ADMIN_ID
loy_txn_stg loy_mem_blkad BULK_REF_ID
loy_mem_tier loy_mem_blkad BULK_REF_ID
loy_txn loy_mem_blkad BULK_REF_ID
loy_promomem loy_mem_blkad BLKAD_REQ_ID
loy_mem_blkad loy_mem_blkad PAR_ROW_ID

Indexes

Index Uniqueness Tablespace Columns
LOY_MEM_BLKAD_F1 Non Unique FUSION_TS_TX_DATA ENROL_PROMO_ID
LOY_MEM_BLKAD_F2 Non Unique FUSION_TS_TX_DATA NEW_TIER_ID
LOY_MEM_BLKAD_F3 Non Unique FUSION_TS_TX_DATA PAR_ROW_ID
LOY_MEM_BLKAD_F4 Non Unique FUSION_TS_TX_DATA POINT_TYPE_ID
LOY_MEM_BLKAD_F5 Non Unique FUSION_TS_TX_DATA TIER_CLASS_ID
LOY_MEM_BLKAD_U1 Unique FUSION_TS_TX_DATA BULK_ADMIN_ID
LOY_MEM_BLKAD_U2 Unique Default PROGRAM_ID, SEQ_NUM, CONFLICT_ID