CREATE TABLE jg_zz_vat_box_errors (
    VAT_TRANSACTION_ID       NUMBER(18, 0),
    ALLOCATION_ERROR_CODE    VARCHAR2(120),
    PERIOD_TYPE              VARCHAR2(60) ,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    VAT_TRANSACTION_ID       NUMBER(18, 0),
    ALLOCATION_ERROR_CODE    VARCHAR2(120),
    PERIOD_TYPE              VARCHAR2(60) ,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CONSTRAINT pk_jg_zz_vat_box_errors PRIMARY KEY (VAT_TRANSACTION_ID, ALLOCATION_ERROR_CODE, PERIOD_TYPE, VAT_TRANSACTION_ID, ALLOCATION_ERROR_CODE, PERIOD_TYPE)
);
