CREATE TABLE gl_ledger_norm_seg_vals (
    LEDGER_ID                  NUMBER(18, 0)    NOT NULL,
    SEGMENT_TYPE_CODE          VARCHAR2(4)      NOT NULL,
    SEGMENT_VALUE              VARCHAR2(100)    NOT NULL,
    SEGMENT_VALUE_TYPE_CODE    VARCHAR2(4)      NOT NULL,
    RECORD_ID                  NUMBER(18, 0),
    LAST_UPDATE_DATE           TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY            VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN          VARCHAR2(128),
    CREATION_DATE              TIMESTAMP(6)     NOT NULL,
    CREATED_BY                 VARCHAR2(256)    NOT NULL,
    START_DATE                 DATE         ,
    END_DATE                   DATE         ,
    STATUS_CODE                VARCHAR2(4)  ,
    REQUEST_ID                 NUMBER(18, 0),
    LEGAL_ENTITY_ID            NUMBER(18, 0),
    SLA_SEQUENCING_FLAG        VARCHAR2(4)  ,
    ATTRIBUTE_CATEGORY         VARCHAR2(600),
    ATTRIBUTE1                 VARCHAR2(600),
    ATTRIBUTE2                 VARCHAR2(600),
    ATTRIBUTE3                 VARCHAR2(600),
    ATTRIBUTE4                 VARCHAR2(600),
    ATTRIBUTE5                 VARCHAR2(600),
    ATTRIBUTE6                 VARCHAR2(600),
    ATTRIBUTE7                 VARCHAR2(600),
    ATTRIBUTE8                 VARCHAR2(600),
    ATTRIBUTE9                 VARCHAR2(600),
    ATTRIBUTE10                VARCHAR2(600),
    ATTRIBUTE11                VARCHAR2(600),
    ATTRIBUTE12                VARCHAR2(600),
    ATTRIBUTE13                VARCHAR2(600),
    ATTRIBUTE14                VARCHAR2(600),
    ATTRIBUTE15                VARCHAR2(600),
    OBJECT_VERSION_NUMBER      NUMBER(9, 0)     NOT NULL,
    LEDGER_ID                  NUMBER(18, 0)    NOT NULL,
    SEGMENT_TYPE_CODE          VARCHAR2(4)      NOT NULL,
    SEGMENT_VALUE              VARCHAR2(100)    NOT NULL,
    SEGMENT_VALUE_TYPE_CODE    VARCHAR2(4)      NOT NULL,
    RECORD_ID                  NUMBER(18, 0),
    LAST_UPDATE_DATE           TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY            VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN          VARCHAR2(128),
    CREATION_DATE              TIMESTAMP(6)     NOT NULL,
    CREATED_BY                 VARCHAR2(256)    NOT NULL,
    START_DATE                 DATE         ,
    END_DATE                   DATE         ,
    STATUS_CODE                VARCHAR2(4)  ,
    REQUEST_ID                 NUMBER(18, 0),
    LEGAL_ENTITY_ID            NUMBER(18, 0),
    SLA_SEQUENCING_FLAG        VARCHAR2(4)  ,
    ATTRIBUTE_CATEGORY         VARCHAR2(600),
    ATTRIBUTE1                 VARCHAR2(600),
    ATTRIBUTE2                 VARCHAR2(600),
    ATTRIBUTE3                 VARCHAR2(600),
    ATTRIBUTE4                 VARCHAR2(600),
    ATTRIBUTE5                 VARCHAR2(600),
    ATTRIBUTE6                 VARCHAR2(600),
    ATTRIBUTE7                 VARCHAR2(600),
    ATTRIBUTE8                 VARCHAR2(600),
    ATTRIBUTE9                 VARCHAR2(600),
    ATTRIBUTE10                VARCHAR2(600),
    ATTRIBUTE11                VARCHAR2(600),
    ATTRIBUTE12                VARCHAR2(600),
    ATTRIBUTE13                VARCHAR2(600),
    ATTRIBUTE14                VARCHAR2(600),
    ATTRIBUTE15                VARCHAR2(600),
    OBJECT_VERSION_NUMBER      NUMBER(9, 0)     NOT NULL,
    CONSTRAINT pk_gl_ledger_norm_seg_vals PRIMARY KEY (RECORD_ID, RECORD_ID)
);
