MoveOrder Create

Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 5

CREATE TABLE "INV".

"MTL_TXN_REQUEST_HEADERS"
( "HEADER_ID" NUMBER NOT NULL ENABLE,
"REQUEST_NUMBER" VARCHAR2(30 BYTE) NOT NULL ENABLE,
"TRANSACTION_TYPE_ID" NUMBER,
"MOVE_ORDER_TYPE" NUMBER,
"ORGANIZATION_ID" NUMBER NOT NULL ENABLE,
"DESCRIPTION" VARCHAR2(240 BYTE),
"DATE_REQUIRED" DATE,
"FROM_SUBINVENTORY_CODE" VARCHAR2(10 BYTE),
"TO_SUBINVENTORY_CODE" VARCHAR2(10 BYTE),
"TO_ACCOUNT_ID" NUMBER,
"HEADER_STATUS" NUMBER,
"STATUS_DATE" DATE,
"LAST_UPDATED_BY" NUMBER NOT NULL ENABLE,
"LAST_UPDATE_LOGIN" NUMBER,
"LAST_UPDATE_DATE" DATE NOT NULL ENABLE,
"CREATED_BY" NUMBER,
"CREATION_DATE" DATE,
"REQUEST_ID" NUMBER,
"PROGRAM_APPLICATION_ID" NUMBER,
"PROGRAM_ID" NUMBER,
"PROGRAM_UPDATE_DATE" DATE,
"GROUPING_RULE_ID" NUMBER,
"ATTRIBUTE1" VARCHAR2(150 BYTE),
"ATTRIBUTE2" VARCHAR2(150 BYTE),
"ATTRIBUTE3" VARCHAR2(150 BYTE),
"ATTRIBUTE4" VARCHAR2(150 BYTE),
"ATTRIBUTE5" VARCHAR2(150 BYTE),
"ATTRIBUTE6" VARCHAR2(150 BYTE),
"ATTRIBUTE7" VARCHAR2(150 BYTE),
"ATTRIBUTE8" VARCHAR2(150 BYTE),
"ATTRIBUTE9" VARCHAR2(150 BYTE),
"ATTRIBUTE10" VARCHAR2(150 BYTE),
"ATTRIBUTE11" VARCHAR2(150 BYTE),
"ATTRIBUTE12" VARCHAR2(150 BYTE),
"ATTRIBUTE13" VARCHAR2(150 BYTE),
"ATTRIBUTE14" VARCHAR2(150 BYTE),
"ATTRIBUTE15" VARCHAR2(150 BYTE),
"ATTRIBUTE_CATEGORY" VARCHAR2(30 BYTE),
"SHIP_TO_LOCATION_ID" NUMBER,
"FREIGHT_CODE" VARCHAR2(25 BYTE),
"SHIPMENT_METHOD" VARCHAR2(30 BYTE),
"AUTO_RECEIPT_FLAG" VARCHAR2(1 BYTE),
"REFERENCE_ID" NUMBER,
"REFERENCE_DETAIL_ID" NUMBER,
"ASSIGNMENT_ID" VARCHAR2(240 BYTE)
)
TABLESPACE "INVD" ;

CREATE INDEX "INV"."EPM_MTL_TXN_REQ_HDR_KANVAS_NO" ON


"INV"."MTL_TXN_REQUEST_HEADERS" ("ATTRIBUTE1")
TABLESPACE "INVX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_HEADERS_N1" ON


"INV"."MTL_TXN_REQUEST_HEADERS" ("TRANSACTION_TYPE_ID")
TABLESPACE "INVX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_HEADERS_N2" ON


"INV"."MTL_TXN_REQUEST_HEADERS" ("FROM_SUBINVENTORY_CODE", "ORGANIZATION_ID")
TABLESPACE "INVX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_HEADERS_N3" ON


"INV"."MTL_TXN_REQUEST_HEADERS" ("TO_SUBINVENTORY_CODE", "ORGANIZATION_ID")
TABLESPACE "INVX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_HEADERS_N4" ON


"INV"."MTL_TXN_REQUEST_HEADERS" ("MOVE_ORDER_TYPE")
TABLESPACE "INVX" ;

CREATE UNIQUE INDEX "INV"."MTL_TXN_REQUEST_HEADERS_U1" ON


"INV"."MTL_TXN_REQUEST_HEADERS" ("HEADER_ID")
TABLESPACE "INVX" ;

CREATE UNIQUE INDEX "INV"."MTL_TXN_REQUEST_HEADERS_U2" ON


"INV"."MTL_TXN_REQUEST_HEADERS" ("REQUEST_NUMBER", "ORGANIZATION_ID")
TABLESPACE "INVX" ;

CREATE TABLE "INV"."MTL_TXN_REQUEST_LINES"


( "LINE_ID" NUMBER NOT NULL ENABLE,
"HEADER_ID" NUMBER NOT NULL ENABLE,
"LINE_NUMBER" NUMBER NOT NULL ENABLE,
"ORGANIZATION_ID" NUMBER NOT NULL ENABLE,
"INVENTORY_ITEM_ID" NUMBER NOT NULL ENABLE,
"REVISION" VARCHAR2(3 BYTE),
"FROM_SUBINVENTORY_CODE" VARCHAR2(10 BYTE),
"FROM_LOCATOR_ID" NUMBER,
"TO_SUBINVENTORY_CODE" VARCHAR2(10 BYTE),
"TO_LOCATOR_ID" NUMBER,
"TO_ACCOUNT_ID" NUMBER,
"LOT_NUMBER" VARCHAR2(80 BYTE),
"SERIAL_NUMBER_START" VARCHAR2(30 BYTE),
"SERIAL_NUMBER_END" VARCHAR2(30 BYTE),
"UOM_CODE" VARCHAR2(3 BYTE) NOT NULL ENABLE,
"QUANTITY" NUMBER NOT NULL ENABLE,
"QUANTITY_DELIVERED" NUMBER,
"QUANTITY_DETAILED" NUMBER,
"DATE_REQUIRED" DATE NOT NULL ENABLE,
"REASON_ID" NUMBER,
"REFERENCE" VARCHAR2(240 BYTE),
"REFERENCE_TYPE_CODE" NUMBER,
"REFERENCE_ID" NUMBER,
"PROJECT_ID" NUMBER,
"TASK_ID" NUMBER,
"TRANSACTION_HEADER_ID" NUMBER,
"LINE_STATUS" NUMBER NOT NULL ENABLE,
"STATUS_DATE" DATE NOT NULL ENABLE,
"LAST_UPDATED_BY" NUMBER NOT NULL ENABLE,
"LAST_UPDATE_LOGIN" NUMBER,
"LAST_UPDATE_DATE" DATE NOT NULL ENABLE,
"CREATED_BY" NUMBER,
"CREATION_DATE" DATE NOT NULL ENABLE,
"REQUEST_ID" NUMBER,
"PROGRAM_APPLICATION_ID" NUMBER,
"PROGRAM_ID" NUMBER,
"PROGRAM_UPDATE_DATE" DATE,
"ATTRIBUTE1" VARCHAR2(150 BYTE),
"ATTRIBUTE2" VARCHAR2(150 BYTE),
"ATTRIBUTE3" VARCHAR2(150 BYTE),
"ATTRIBUTE4" VARCHAR2(150 BYTE),
"ATTRIBUTE5" VARCHAR2(150 BYTE),
"ATTRIBUTE6" VARCHAR2(150 BYTE),
"ATTRIBUTE7" VARCHAR2(150 BYTE),
"ATTRIBUTE8" VARCHAR2(150 BYTE),
"ATTRIBUTE9" VARCHAR2(150 BYTE),
"ATTRIBUTE10" VARCHAR2(150 BYTE),
"ATTRIBUTE11" VARCHAR2(150 BYTE),
"ATTRIBUTE12" VARCHAR2(150 BYTE),
"ATTRIBUTE13" VARCHAR2(150 BYTE),
"ATTRIBUTE14" VARCHAR2(150 BYTE),
"ATTRIBUTE15" VARCHAR2(150 BYTE),
"ATTRIBUTE_CATEGORY" VARCHAR2(30 BYTE),
"TXN_SOURCE_ID" NUMBER,
"TXN_SOURCE_LINE_ID" NUMBER,
"TXN_SOURCE_LINE_DETAIL_ID" NUMBER,
"TRANSACTION_TYPE_ID" NUMBER NOT NULL ENABLE,
"TRANSACTION_SOURCE_TYPE_ID" NUMBER,
"PRIMARY_QUANTITY" NUMBER,
"TO_ORGANIZATION_ID" NUMBER,
"PUT_AWAY_STRATEGY_ID" NUMBER,
"PICK_STRATEGY_ID" NUMBER,
"SHIP_TO_LOCATION_ID" NUMBER,
"UNIT_NUMBER" VARCHAR2(30 BYTE),
"REFERENCE_DETAIL_ID" NUMBER,
"ASSIGNMENT_ID" NUMBER,
"FROM_COST_GROUP_ID" NUMBER,
"TO_COST_GROUP_ID" NUMBER,
"LPN_ID" NUMBER,
"TO_LPN_ID" NUMBER,
"PICK_SLIP_NUMBER" NUMBER,
"PICK_SLIP_DATE" DATE,
"FROM_SUBINVENTORY_ID" NUMBER,
"TO_SUBINVENTORY_ID" NUMBER,
"INSPECTION_STATUS" NUMBER,
"PICK_METHODOLOGY_ID" NUMBER,
"CONTAINER_ITEM_ID" NUMBER,
"CARTON_GROUPING_ID" NUMBER,
"BACKORDER_DELIVERY_DETAIL_ID" NUMBER,
"WMS_PROCESS_FLAG" NUMBER,
"SHIP_SET_ID" NUMBER,
"SHIP_MODEL_ID" NUMBER,
"MODEL_QUANTITY" NUMBER,
"CROSSDOCK_TYPE" NUMBER,
"REQUIRED_QUANTITY" NUMBER,
"GRADE_CODE" VARCHAR2(150 BYTE),
"SECONDARY_QUANTITY" NUMBER,
"SECONDARY_QUANTITY_DELIVERED" NUMBER,
"SECONDARY_QUANTITY_DETAILED" NUMBER,
"SECONDARY_REQUIRED_QUANTITY" NUMBER,
"SECONDARY_UOM_CODE" VARCHAR2(3 BYTE),
"WIP_ENTITY_ID" NUMBER,
"REPETITIVE_SCHEDULE_ID" NUMBER,
"OPERATION_SEQ_NUM" NUMBER,
"WIP_SUPPLY_TYPE" NUMBER
)
TABLESPACE "INVD" ;

CREATE INDEX "INV"."EPM_MTL_TXN_REQ_SRC_LINE_IDX" ON


"INV"."MTL_TXN_REQUEST_LINES" ("TXN_SOURCE_LINE_ID")
TABLESPACE "INVX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_LINES_N1" ON "INV"."MTL_TXN_REQUEST_LINES"


("ORGANIZATION_ID", "INVENTORY_ITEM_ID", "TXN_SOURCE_ID")
TABLESPACE "INVX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_LINES_N10" ON "INV"."MTL_TXN_REQUEST_LINES"


("INVENTORY_ITEM_ID", "ORGANIZATION_ID", "LINE_STATUS")
TABLESPACE "APPS_TS_TX_IDX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_LINES_N2" ON "INV"."MTL_TXN_REQUEST_LINES"


("ORGANIZATION_ID", "LINE_STATUS", "FROM_SUBINVENTORY_CODE",
"TO_SUBINVENTORY_CODE")
TABLESPACE "APPS_TS_TX_IDX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_LINES_N3" ON "INV"."MTL_TXN_REQUEST_LINES"


("TO_ORGANIZATION_ID", "TO_SUBINVENTORY_CODE")
TABLESPACE "INVX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_LINES_N4" ON "INV"."MTL_TXN_REQUEST_LINES"


("TRANSACTION_TYPE_ID", "TRANSACTION_SOURCE_TYPE_ID", "TXN_SOURCE_ID")
TABLESPACE "APPS_TS_TX_IDX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_LINES_N5" ON "INV"."MTL_TXN_REQUEST_LINES"


("PICK_SLIP_NUMBER")
TABLESPACE "INVX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_LINES_N6" ON "INV"."MTL_TXN_REQUEST_LINES"


("BACKORDER_DELIVERY_DETAIL_ID")
TABLESPACE "INVX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_LINES_N7" ON "INV"."MTL_TXN_REQUEST_LINES"


("LPN_ID")
TABLESPACE "INVX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_LINES_N8" ON "INV"."MTL_TXN_REQUEST_LINES"


("ORGANIZATION_ID", "REFERENCE_ID")
TABLESPACE "APPS_TS_TX_IDX" ;

CREATE INDEX "INV"."MTL_TXN_REQUEST_LINES_N9" ON "INV"."MTL_TXN_REQUEST_LINES"


("WIP_ENTITY_ID", "REPETITIVE_SCHEDULE_ID")
TABLESPACE "APPS_TS_TX_IDX" ;

CREATE UNIQUE INDEX "INV"."MTL_TXN_REQUEST_LINES_U1" ON


"INV"."MTL_TXN_REQUEST_LINES" ("LINE_ID")
TABLESPACE "INVX" ;

CREATE UNIQUE INDEX "INV"."MTL_TXN_REQUEST_LINES_U2" ON


"INV"."MTL_TXN_REQUEST_LINES" ("HEADER_ID", "LINE_NUMBER")
TABLESPACE "INVX" ;

CREATE INDEX "INV"."MTL_TXN_REQ_RESERVATIONS_IDX" ON


"INV"."MTL_TXN_REQUEST_LINES" ("TXN_SOURCE_LINE_ID", "LINE_ID")
TABLESPACE "INVX" ;
CREATE TABLE "INV"."MTL_PURGE_HEADER"
( "PURGE_ID" NUMBER NOT NULL ENABLE,
"LAST_UPDATE_DATE" DATE NOT NULL ENABLE,
"LAST_UPDATED_BY" NUMBER NOT NULL ENABLE,
"LAST_UPDATE_LOGIN" NUMBER,
"CREATION_DATE" DATE,
"CREATED_BY" NUMBER,
"PURGE_DATE" DATE NOT NULL ENABLE,
"ARCHIVE_FLAG" VARCHAR2(1 BYTE),
"PURGE_NAME" VARCHAR2(30 BYTE) NOT NULL ENABLE,
"ORGANIZATION_ID" NUMBER,
"MOVE_ORDER_TYPE" NUMBER,
"CREATION_DATE_FROM" DATE,
"CREATION_DATE_TO" DATE,
"LINES_PURGED" NUMBER
)
TABLESPACE "INVD" ;

You might also like