LOY_ACRL_RULE_INT

It is Accrual Rule and Rule Item Interface Table for Bulk Import purpose. Mapped to LOY_ACRL_RULE and LOY_ACRL_RULE_ITM.

Details

  • Schema: FUSION

  • Object owner: LOY

  • Object type: TABLE

  • Tablespace: INTERFACE

Primary Key

Name Columns

LOY_ACRL_RULE_INT_PK

BATCH_ID, INTERFACE_ROW_ID

Columns

Name Datatype Length Precision Not-null Comments
LOY_ACRL_RULE_INT_ID NUMBER 18 Unique identifier of the Accrual Rule line in the interface table. System generated.
PROGRAM_NAME VARCHAR2 50 Program Name refers to the Loyalty Program Table as an Alternate Key.
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.
INTERNAL_ACRL_RULE_OVN NUMBER 9 Object Version Number copied from corresponding Accrual Rule 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.
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_RULE_ID NUMBER 18 Reference Column to the LOY_ACRL_RULE (Primary Key to LOY_ACRL_RULE table)
DESC_TXT VARCHAR2 250 Description of the loyalty accrual rule
PROGRAM_ID NUMBER 18 Program Id
NAME VARCHAR2 75 Name of the loyalty accrual rule
ACRL_RULE_ID NUMBER 18 Accrual Rule Identifier
ATTR_NAME_CODE VARCHAR2 30 Attribute Name
DUPLICATE_FLAG VARCHAR2 1 Indicates whether duplicate check should be performed on the attribute value
MANDATORY_FLAG VARCHAR2 1 Indicates whether the attribute is mandatory

Indexes

Index Uniqueness Tablespace Columns
LOY_ACRL_RULE_INT_U1 Unique Default BATCH_ID, INTERFACE_ROW_ID