CREATE TABLE inv_cons_advice_lots (
    CONSUMPTION_LINE_ID       NUMBER(18, 0) ,
    LOT_NUMBER                VARCHAR2(320) ,
    TRANSACTION_QUANTITY      NUMBER        ,
    CREATION_DATE             TIMESTAMP(6)      NOT NULL,
    CREATED_BY                VARCHAR2(256)     NOT NULL,
    LAST_UPDATED_BY           VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE          TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_LOGIN         VARCHAR2(128) ,
    REQUEST_ID                NUMBER(18, 0) ,
    JOB_DEFINITION_NAME       VARCHAR2(400) ,
    JOB_DEFINITION_PACKAGE    VARCHAR2(3600),
    OBJECT_VERSION_NUMBER     NUMBER(9, 0)      NOT NULL,
    CONSUMPTION_LINE_ID       NUMBER(18, 0) ,
    LOT_NUMBER                VARCHAR2(320) ,
    TRANSACTION_QUANTITY      NUMBER        ,
    CREATION_DATE             TIMESTAMP(6)      NOT NULL,
    CREATED_BY                VARCHAR2(256)     NOT NULL,
    LAST_UPDATED_BY           VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE          TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_LOGIN         VARCHAR2(128) ,
    REQUEST_ID                NUMBER(18, 0) ,
    JOB_DEFINITION_NAME       VARCHAR2(400) ,
    JOB_DEFINITION_PACKAGE    VARCHAR2(3600),
    OBJECT_VERSION_NUMBER     NUMBER(9, 0)      NOT NULL,
    CONSTRAINT pk_inv_cons_advice_lots PRIMARY KEY (CONSUMPTION_LINE_ID, LOT_NUMBER, CONSUMPTION_LINE_ID, LOT_NUMBER)
);
