LOY_RDM_ITM_VOLUME_INT
This is an Interface table that contains Loyalty Redemption Item information for Bulk Import purpose. Mapped to LOY_RDM_ITM.
Details
-
Schema: FUSION
-
Object owner: LOY
-
Object type: TABLE
-
Tablespace: INTERFACE
Primary Key
Name | Columns |
---|---|
LOY_RDM_ITM_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 | ||
INTERNAL_ACTION_CODE | VARCHAR2 | 30 | This column is created for internal use and will be populated and used by bulk import logic. | ||
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. | ||
INTERNAL_RDM_ITM_OVN | NUMBER | 9 | Object Version Number copied from corresponding Redemption Item 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. | ||
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 | ||
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_RDM_ITM_ID | NUMBER | 18 | Reference Column to the LOY_RDM_ITM (Primary Key to LOY_RDM_ITM table) | ||
ACTION_NOTE | VARCHAR2 | 1000 | It is a marker. Action Notes captured from Action Definition are stamped here. E.g. Member promoted from Gold to Platinum through xyz promotion. | ||
ACCRUAL_ITEM_ID | NUMBER | 18 | Accrual Item. | ||
ACCRUAL_ITEM_NUM | VARCHAR2 | 30 | Accrual Item Number of LOY_ACRL_ITM as an alternate key attribute for ACCRUAL_ITEM_ID. | ||
ATTRB_DEFN_ID | NUMBER | 18 | Attribute definition id | ||
PROGRAM_NAME | VARCHAR2 | 50 | Program Name of LOY_PROGRAM as an alternate key attribute for ATTRB_DEFN_ID and PROMO_ID. | ||
INTERNAL_NAME | VARCHAR2 | 75 | Internal Name of LOY_ATTRDEFN_B as an alternate key attribute for ATTRB_DEFN_ID. | ||
PROMO_NUM | VARCHAR2 | 30 | Public Unique Identifier for promotion | ||
COMMENTS | VARCHAR2 | 250 | Comments. | ||
ITEM_NUM | VARCHAR2 | 30 | Item Number. | ||
MEMBER_ID | NUMBER | 18 | Accrual Item. | ||
MEM_NUM | VARCHAR2 | 30 | Member Number of LOY_MEMBER as an alternate key attribute for MEMBER_ID. | ||
POINT_BLK_ID | NUMBER | 18 | Point Block this is being returned to. | ||
POINT_BLOCK_NUMBER | VARCHAR2 | 30 | Point Block Number, the alternate key of POINT_BLK_ID | ||
PROCESS_DT | TIMESTAMP | Date of transaction | |||
PR_DEBT_PT | NUMBER | Number of points debited to the partner for an accrual item | |||
TXN_ID | NUMBER | 18 | Transaction for which this item was given | ||
TXN_NUM | VARCHAR2 | 30 | Transaction Number of LOY_TXN as an alternate key attribute for TXN_ID. | ||
TYPE_CODE | VARCHAR2 | 30 | Redemption or Expiration | ||
VALUE | NUMBER | Item value. | |||
PROMO_ID | NUMBER | 18 | Promotion Name will be fetched using join once we have the Promo_ID. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
LOY_RDM_ITM_VOLUME_INT_U1 | Unique | Default | BATCH_ID, INTERFACE_ROW_ID |