CREATE TABLE ar_cash_exception_trends_all (
    CUSTOMER_ID              NUMBER(18, 0),
    EXCEPTION_CODE           VARCHAR2(120),
    LAST_OCCURRENCE          DATE         ,
    NUMBER_OF_OCCURRENCE     NUMBER       ,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    BU_ID                    NUMBER(18, 0)    NOT NULL,
    CUSTOMER_ID              NUMBER(18, 0),
    EXCEPTION_CODE           VARCHAR2(120),
    LAST_OCCURRENCE          DATE         ,
    NUMBER_OF_OCCURRENCE     NUMBER       ,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    BU_ID                    NUMBER(18, 0)    NOT NULL
);
