LOY_BUCKET_VOLUME_INT

It is Loyalty Bucket Interface Table for Bulk Import purpose. Mapped to LOY_BUCKET.

Details

  • Schema: FUSION

  • Object owner: LOY

  • Object type: TABLE

  • Tablespace: INTERFACE

Primary Key

Name Columns

LOY_BUCKET_VOLUME_INT_PK

BATCH_ID, INTERFACE_ROW_ID

Columns

Name Datatype Length Precision Not-null Comments
BATCH_ID NUMBER 18 Yes Unique Identifier for a Batch
IMPORT_STATUS_CODE VARCHAR2 30 Status for the data in the interface table
INTERFACE_ROW_ID NUMBER 18 Yes Unique identifier of the interface record. Internal use only.
ACTION_CODE VARCHAR2 30 Indicates delete action entered by user
FILE_RECORD_NUM NUMBER 18 Who column: The column is used to store the record number indicator in the csv file. Required by File Import Tool.
FILE_NAME_SYSTASK_ID NUMBER 18 Who column: The column is used to store SYSTASK_ID for the import activity execution. Required by File Import Tool
INTERNAL_ACTION_CODE VARCHAR2 30 This column is created for internal use and will be populated and used by bulk import logic.
INTERNAL_BUCKET_OVN NUMBER 18 Object Version Number copied from corresponding Loyalty Bucket record. This is used for UPDATE cases to see if record is updated by another user during processing of bulk import and throw error appropriately.
FIELD_NAME VARCHAR2 30 Temporary Column to be used in plsql
REQUEST_ID NUMBER 18 Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row.
ERROR_MESSAGE VARCHAR2 3000 ERROR_MESSAGE
CREATED_BY VARCHAR2 64 Who column: indicates the user who created the row.
LAST_UPDATED_BY VARCHAR2 64 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 Who column: indicates the date and time of the creation of the row.
LAST_UPDATE_DATE TIMESTAMP 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.
LOY_BUCKET_ID NUMBER 18 Reference Column to the LOY_BUCKET (Primary Key to LOY_BUCKET table)
BUCKET_UID VARCHAR2 30 Bucket unique identifier.
MEMBER_ID NUMBER 18 Member for whom this bucket is being maintained.
MEM_NUM VARCHAR2 30 Member Number as an alternate key attribute for MEMBER_ID.
ORDER_NUM VARCHAR2 30 Order Number required for Retail Activity Grouping
PROCESSED_DT TIMESTAMP Processed date.
PROCESSING_COMMENT VARCHAR2 1000 Processing Comment
PROCESSING_STAT_CODE VARCHAR2 30 Processing stat
PROMOTION_ID NUMBER 18 Promotion for which this bucket is created.
PROMO_NUM VARCHAR2 30 PROMO_NUM to resolve PROMOTION_ID.
STATUS_CODE VARCHAR2 30 LOV type indicating status of the Bucket.
DISPLAY_NAME VARCHAR2 30 DISPLAY_NAME
VALUE VARCHAR2 30 VALUE

Indexes

Index Uniqueness Tablespace Columns
LOY_BUCKET_VOLUME_INT_U1 Unique Default BATCH_ID, INTERFACE_ROW_ID