CREATE TABLE aca_cs_action_log (
    ACTION_LOG_ID            NUMBER(18, 0),
    INSTANCE_ID              NUMBER(18, 0)    NOT NULL,
    OBJECT_PK1               NUMBER(18, 0),
    OBJECT_PK2               NUMBER(18, 0),
    OBJECT_PK3               NUMBER(18, 0),
    OBJECT_PK4               NUMBER(18, 0),
    OBJECT_PK5               NUMBER(18, 0),
    OBJECT_TYPE              VARCHAR2(120),
    OBJECT_VERSION           VARCHAR2(40) ,
    ACTION_TAKEN             VARCHAR2(120),
    FROM_STATUS              VARCHAR2(120),
    TO_STATUS                VARCHAR2(120),
    USER_TYPE                VARCHAR2(120),
    ACTION_LOGGER_ID         VARCHAR2(400),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    ACTION_LOG_ID            NUMBER(18, 0),
    INSTANCE_ID              NUMBER(18, 0)    NOT NULL,
    OBJECT_PK1               NUMBER(18, 0),
    OBJECT_PK2               NUMBER(18, 0),
    OBJECT_PK3               NUMBER(18, 0),
    OBJECT_PK4               NUMBER(18, 0),
    OBJECT_PK5               NUMBER(18, 0),
    OBJECT_TYPE              VARCHAR2(120),
    OBJECT_VERSION           VARCHAR2(40) ,
    ACTION_TAKEN             VARCHAR2(120),
    FROM_STATUS              VARCHAR2(120),
    TO_STATUS                VARCHAR2(120),
    USER_TYPE                VARCHAR2(120),
    ACTION_LOGGER_ID         VARCHAR2(400),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    CONSTRAINT pk_aca_cs_action_log PRIMARY KEY (ACTION_LOG_ID, ACTION_LOG_ID)
);
