LOY_ACRL_ITM_INT
It is Accrual Item Interface Table for Bulk Import purpose. Mapped to LOY_ACRL_ITM.
Details
-
Schema: FUSION
-
Object owner: LOY
-
Object type: TABLE
-
Tablespace: INTERFACE
Primary Key
Name | Columns |
---|---|
LOY_ACRL_ITM_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_ACRL_ITM_OVN | NUMBER | 9 | Object Version Number copied from corresponding Accrual Rule 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. | ||
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_ACRL_ITM_ID | NUMBER | 18 | Reference Column to the LOY_ACRL_ITM (Primary Key to LOY_ACRL_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. | ||
ITEM_NUM | VARCHAR2 | 30 | Item Number. | ||
ACCRUALED_VALUE | NUMBER | Accrualed value. | |||
EXPIRED_VALUE | NUMBER | To store the expired value, if any, for this accrual item. This column will be stamped by the "Expiry" batch process. | |||
ATTRIB_DEFN_ID | NUMBER | 18 | Header of this Attribute Item. | ||
PROGRAM_NAME | VARCHAR2 | 50 | Program Name as an alternate key attribute for ATTRIB_DEFN_ID, PROMO_ID and PT_SUB_TYPE_ID. | ||
INTERNAL_NAME | VARCHAR2 | 75 | Internal Name of LOY_ATTRDEFN_B as an alternate key attribute for ATTRIB_DEFN_ID. | ||
PROMO_NAME | VARCHAR2 | 50 | Promotion Name as an alternate key attribute for ATTRIB_DEFN_ID and PROMO_ID. | ||
COMMENTS | VARCHAR2 | 250 | Comments. | ||
EXPIRATION_DT | TIMESTAMP | Expiraton Date for the point | |||
MEMBER_ID | NUMBER | 18 | Member Id. | ||
MEM_NUM | VARCHAR2 | 30 | Member Number as an alternate key attribute for MEMBER_ID. | ||
ORDER_NUM | VARCHAR2 | 30 | Order Number from POS system. This has the same reference stored in S_LOY_TXN. | ||
POINT_BLK_ID | NUMBER | 18 | Point Block from which this Point Item is being debited. | ||
POINT_BLOCK_NUMBER | VARCHAR2 | 30 | Point Block Number, the alternate key of POINT_BLK_ID | ||
PT_BLK_DEBIT_FLAG | VARCHAR2 | 1 | This Point Block Debit Flag column indicates if this Accrual Item is debited to Point Block of the Partner in case of Accrual items created by Loyalty Transactions. | ||
PROCESS_DT | TIMESTAMP | Date of transaction | |||
PROMO_BUCKET_ID | NUMBER | 18 | Promotion Bucket due to which this Point Item was rewarded. | ||
BUCKET_UID | VARCHAR2 | 30 | Bucket UID from LOY_BUCKET as an alternate key attribute for PROMO_BUCKET_ID. | ||
PROMO_ID | NUMBER | 18 | Promotion for which this item was created. | ||
PRTNR_PT_DEBT_QTY | NUMBER | Number of points debited from the partner for this member points accrual | |||
PT_SUB_TYPE_ID | NUMBER | 18 | Point Sub Type | ||
PTSUBTYPE_NAME | VARCHAR2 | 50 | Point Subtype Name of LOY_PTSUBTYPE as an alternate key attribute for PT_SUB_TYPE_ID. | ||
QUALIFYING_FLAG | VARCHAR2 | 1 | Whether Accrual is of Qualifying Type | ||
REPAID_FLAG | VARCHAR2 | 1 | Repaid or not. | ||
RET_EFF_DT | TIMESTAMP | Date from which the Accrual Item will be effective | |||
STATUS_CODE | VARCHAR2 | 30 | Expired in case of points | ||
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 | Accrual or Loan | ||
USED_VALUE | NUMBER | Used value. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
LOY_ACRL_ITM_INT_U1 | Unique | Default | BATCH_ID, INTERFACE_ROW_ID |