CREATE TABLE aca_item_document_mapping (
    MAPPING_ID               NUMBER(18, 0),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    DOCUMENT_VERSION_ID      NUMBER(18, 0)    NOT NULL,
    ITEM_INVENTORY_ID        NUMBER(18, 0)    NOT NULL,
    ITEM_ORGANIZATION_ID     NUMBER(18, 0)    NOT NULL,
    ITEM_REVISION_ID         NUMBER(18, 0)    NOT NULL,
    ITEM_VERSION_ID          NUMBER(18, 0),
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    MAPPING_ID               NUMBER(18, 0),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    DOCUMENT_VERSION_ID      NUMBER(18, 0)    NOT NULL,
    ITEM_INVENTORY_ID        NUMBER(18, 0)    NOT NULL,
    ITEM_ORGANIZATION_ID     NUMBER(18, 0)    NOT NULL,
    ITEM_REVISION_ID         NUMBER(18, 0)    NOT NULL,
    ITEM_VERSION_ID          NUMBER(18, 0),
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    CONSTRAINT pk_aca_item_document_mapping PRIMARY KEY (MAPPING_ID, MAPPING_ID)
);
