CREATE TABLE ar_upd_refacct_errors (
    REFACCT_ERROR_ID              NUMBER(18, 0),
    BATCH_ID                      NUMBER(18, 0)    NOT NULL,
    CUST_ORIG_SYSTEM              VARCHAR2(120)    NOT NULL,
    CUST_ORIG_SYSTEM_REFERENCE    VARCHAR2(960)    NOT NULL,
    CUST_SITE_ORIG_SYS_REF        VARCHAR2(960)    NOT NULL,
    CUST_SITEUSE_ORIG_SYS_REF     VARCHAR2(960)    NOT NULL,
    ACCOUNT_TYPE                  VARCHAR2(120)    NOT NULL,
    ERROR_MESSAGE_NAME            VARCHAR2(120),
    ORG_ID                        NUMBER(18, 0),
    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),
    REFACCT_ERROR_ID              NUMBER(18, 0),
    BATCH_ID                      NUMBER(18, 0)    NOT NULL,
    CUST_ORIG_SYSTEM              VARCHAR2(120)    NOT NULL,
    CUST_ORIG_SYSTEM_REFERENCE    VARCHAR2(960)    NOT NULL,
    CUST_SITE_ORIG_SYS_REF        VARCHAR2(960)    NOT NULL,
    CUST_SITEUSE_ORIG_SYS_REF     VARCHAR2(960)    NOT NULL,
    ACCOUNT_TYPE                  VARCHAR2(120)    NOT NULL,
    ERROR_MESSAGE_NAME            VARCHAR2(120),
    ORG_ID                        NUMBER(18, 0),
    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_refacct_errors PRIMARY KEY (REFACCT_ERROR_ID, REFACCT_ERROR_ID)
);
