CREATE TABLE gl_automatic_posting_options (
    AUTOPOST_OPTION_ID       NUMBER(18, 0),
    POSTING_PRIORITY         NUMBER(2, 0)     NOT NULL,
    SET_OF_BOOKS_ID          NUMBER(18, 0),
    ACTUAL_FLAG              VARCHAR2(4)      NOT NULL,
    PERIOD_NAME              VARCHAR2(60)     NOT NULL,
    JE_SOURCE_NAME           VARCHAR2(100)    NOT NULL,
    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),
    ATTRIBUTE1               VARCHAR2(600),
    ATTRIBUTE2               VARCHAR2(600),
    ATTRIBUTE3               VARCHAR2(600),
    ATTRIBUTE4               VARCHAR2(600),
    ATTRIBUTE5               VARCHAR2(600),
    ATTRIBUTE_CATEGORY       VARCHAR2(600),
    AUTOPOST_SET_ID          NUMBER(18, 0)    NOT NULL,
    JE_CATEGORY_NAME         VARCHAR2(100)    NOT NULL,
    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),
    LEDGER_ID                NUMBER(18, 0)    NOT NULL,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    AUTOPOST_OPTION_ID       NUMBER(18, 0),
    POSTING_PRIORITY         NUMBER(2, 0)     NOT NULL,
    SET_OF_BOOKS_ID          NUMBER(18, 0),
    ACTUAL_FLAG              VARCHAR2(4)      NOT NULL,
    PERIOD_NAME              VARCHAR2(60)     NOT NULL,
    JE_SOURCE_NAME           VARCHAR2(100)    NOT NULL,
    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),
    ATTRIBUTE1               VARCHAR2(600),
    ATTRIBUTE2               VARCHAR2(600),
    ATTRIBUTE3               VARCHAR2(600),
    ATTRIBUTE4               VARCHAR2(600),
    ATTRIBUTE5               VARCHAR2(600),
    ATTRIBUTE_CATEGORY       VARCHAR2(600),
    AUTOPOST_SET_ID          NUMBER(18, 0)    NOT NULL,
    JE_CATEGORY_NAME         VARCHAR2(100)    NOT NULL,
    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),
    LEDGER_ID                NUMBER(18, 0)    NOT NULL,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CONSTRAINT pk_gl_automatic_posting_options PRIMARY KEY (AUTOPOST_OPTION_ID, AUTOPOST_OPTION_ID)
);
