CREATE TABLE ar_upd_contacts_errors (
    CONTACT_ERROR_ID               NUMBER(18, 0),
    BATCH_ID                       NUMBER(18, 0)    NOT NULL,
    ORIG_SOURCE_SYSTEM             VARCHAR2(120)    NOT NULL,
    CUST_ORIG_SYSTEM_REFERENCE     VARCHAR2(960),
    CUST_SITE_ORIG_SYS_REF         VARCHAR2(960),
    CUST_CONTACT_ORIG_SYS_REF      VARCHAR2(960),
    REL_ORIG_SYSTEM_REFERENCE      VARCHAR2(960),
    PARTY_ORIG_SYSTEM_REFERENCE    VARCHAR2(960),
    SITE_ORIG_SYSTEM_REFERENCE     VARCHAR2(960),
    CP_ORIG_SYSTEM_REFERENCE       VARCHAR2(960),
    CONTACT_ROLE_ORIG_SYS_REF      VARCHAR2(960),
    SUB_ORIG_SYSTEM_REFERENCE      VARCHAR2(960),
    OBJ_ORIG_SYSTEM_REFERENCE      VARCHAR2(960),
    ROLE_RESP_ORIG_SYS_REF         VARCHAR2(960),
    CONTACT_POINT_TYPE             VARCHAR2(120),
    PHONE_LINE_TYPE                VARCHAR2(120),
    INTERFACE_TABLE_NAME           VARCHAR2(120),
    ERROR_MESSAGE_NAME             VARCHAR2(120),
    ORIGINAL_ERROR_MESSAGE         VARCHAR2(120),
    TOKEN1_NAME                    VARCHAR2(320),
    TOKEN1_VALUE                   VARCHAR2(320),
    TOKEN2_NAME                    VARCHAR2(320),
    TOKEN2_VALUE                   VARCHAR2(320),
    TOKEN3_NAME                    VARCHAR2(320),
    TOKEN3_VALUE                   VARCHAR2(320),
    TOKEN4_NAME                    VARCHAR2(320),
    TOKEN4_VALUE                   VARCHAR2(320),
    TOKEN5_NAME                    VARCHAR2(320),
    TOKEN5_VALUE                   VARCHAR2(320),
    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),
    REQUEST_ID                     NUMBER(18, 0),
    CONTACT_ERROR_ID               NUMBER(18, 0),
    BATCH_ID                       NUMBER(18, 0)    NOT NULL,
    ORIG_SOURCE_SYSTEM             VARCHAR2(120)    NOT NULL,
    CUST_ORIG_SYSTEM_REFERENCE     VARCHAR2(960),
    CUST_SITE_ORIG_SYS_REF         VARCHAR2(960),
    CUST_CONTACT_ORIG_SYS_REF      VARCHAR2(960),
    REL_ORIG_SYSTEM_REFERENCE      VARCHAR2(960),
    PARTY_ORIG_SYSTEM_REFERENCE    VARCHAR2(960),
    SITE_ORIG_SYSTEM_REFERENCE     VARCHAR2(960),
    CP_ORIG_SYSTEM_REFERENCE       VARCHAR2(960),
    CONTACT_ROLE_ORIG_SYS_REF      VARCHAR2(960),
    SUB_ORIG_SYSTEM_REFERENCE      VARCHAR2(960),
    OBJ_ORIG_SYSTEM_REFERENCE      VARCHAR2(960),
    ROLE_RESP_ORIG_SYS_REF         VARCHAR2(960),
    CONTACT_POINT_TYPE             VARCHAR2(120),
    PHONE_LINE_TYPE                VARCHAR2(120),
    INTERFACE_TABLE_NAME           VARCHAR2(120),
    ERROR_MESSAGE_NAME             VARCHAR2(120),
    ORIGINAL_ERROR_MESSAGE         VARCHAR2(120),
    TOKEN1_NAME                    VARCHAR2(320),
    TOKEN1_VALUE                   VARCHAR2(320),
    TOKEN2_NAME                    VARCHAR2(320),
    TOKEN2_VALUE                   VARCHAR2(320),
    TOKEN3_NAME                    VARCHAR2(320),
    TOKEN3_VALUE                   VARCHAR2(320),
    TOKEN4_NAME                    VARCHAR2(320),
    TOKEN4_VALUE                   VARCHAR2(320),
    TOKEN5_NAME                    VARCHAR2(320),
    TOKEN5_VALUE                   VARCHAR2(320),
    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),
    REQUEST_ID                     NUMBER(18, 0),
    CONSTRAINT pk_ar_upd_contacts_errors PRIMARY KEY (CONTACT_ERROR_ID, CONTACT_ERROR_ID)
);
