CREATE TABLE cmf_i_fiscal_doc_exceptions (
    EFD_EXCEPTION_ID             NUMBER(18, 0) ,
    EFD_INTERFACE_HEADER_ID      NUMBER(18, 0) ,
    EFD_INTERFACE_ENTITY_ID      NUMBER(18, 0) ,
    EFD_INTERFACE_ENTITY_TYPE    VARCHAR2(120) ,
    EFD_ERROR_CODE               VARCHAR2(320)     NOT NULL,
    EFD_ERROR_DESCR              VARCHAR2(3600),
    TOKEN1_NAME                  VARCHAR2(120) ,
    TOKEN1_VALUE                 VARCHAR2(960) ,
    TOKEN2_NAME                  VARCHAR2(120) ,
    TOKEN2_VALUE                 VARCHAR2(960) ,
    TOKEN3_NAME                  VARCHAR2(120) ,
    TOKEN3_VALUE                 VARCHAR2(960) ,
    TOKEN4_NAME                  VARCHAR2(120) ,
    TOKEN4_VALUE                 VARCHAR2(960) ,
    TOKEN5_NAME                  VARCHAR2(120) ,
    TOKEN5_VALUE                 VARCHAR2(960) ,
    TOKEN6_NAME                  VARCHAR2(120) ,
    TOKEN6_VALUE                 VARCHAR2(960) ,
    EXTERNAL_SYSTEM_REFERENCE    VARCHAR2(960) ,
    EXTERNAL_SYSTEM_REF_ID       VARCHAR2(120) ,
    REQUEST_ID                   NUMBER(18, 0) ,
    JOB_DEFINITION_NAME          VARCHAR2(400) ,
    JOB_DEFINITION_PACKAGE       VARCHAR2(3600),
    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) ,
    EFD_EXCEPTION_ID             NUMBER(18, 0) ,
    EFD_INTERFACE_HEADER_ID      NUMBER(18, 0) ,
    EFD_INTERFACE_ENTITY_ID      NUMBER(18, 0) ,
    EFD_INTERFACE_ENTITY_TYPE    VARCHAR2(120) ,
    EFD_ERROR_CODE               VARCHAR2(320)     NOT NULL,
    EFD_ERROR_DESCR              VARCHAR2(3600),
    TOKEN1_NAME                  VARCHAR2(120) ,
    TOKEN1_VALUE                 VARCHAR2(960) ,
    TOKEN2_NAME                  VARCHAR2(120) ,
    TOKEN2_VALUE                 VARCHAR2(960) ,
    TOKEN3_NAME                  VARCHAR2(120) ,
    TOKEN3_VALUE                 VARCHAR2(960) ,
    TOKEN4_NAME                  VARCHAR2(120) ,
    TOKEN4_VALUE                 VARCHAR2(960) ,
    TOKEN5_NAME                  VARCHAR2(120) ,
    TOKEN5_VALUE                 VARCHAR2(960) ,
    TOKEN6_NAME                  VARCHAR2(120) ,
    TOKEN6_VALUE                 VARCHAR2(960) ,
    EXTERNAL_SYSTEM_REFERENCE    VARCHAR2(960) ,
    EXTERNAL_SYSTEM_REF_ID       VARCHAR2(120) ,
    REQUEST_ID                   NUMBER(18, 0) ,
    JOB_DEFINITION_NAME          VARCHAR2(400) ,
    JOB_DEFINITION_PACKAGE       VARCHAR2(3600),
    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_cmf_i_fiscal_doc_exceptions PRIMARY KEY (EFD_EXCEPTION_ID, EFD_EXCEPTION_ID)
);
