CREATE COLUMN TABLE "SBODEMOUS"."AMR2" ("DocEntry" INTEGER CS_INT NOT NULL , "BaseLine" INTEGER CS_INT NOT NULL , "LineNum" INTEGER CS_INT NOT NULL , "Quantity" DECIMAL(21,6) CS_FIXED, "Price" DECIMAL(21,6) CS_FIXED, "LineTotal" DECIMAL(21,6) CS_FIXED, "RToStock" DECIMAL(21,6) CS_FIXED, "RActPrice" DECIMAL(21,6) CS_FIXED, "INMTransNm" INTEGER CS_INT, "INMInst" INTEGER CS_INT, "INMTransTy" INTEGER CS_INT DEFAULT -1, "INMCreatBy" INTEGER CS_INT, "INMBaseRef" NVARCHAR(11), "INMDocDate" LONGDATE CS_LONGDATE, "INMOpenQty" DECIMAL(21,6) CS_FIXED, "ObjType" NVARCHAR(20) DEFAULT '162', "LogInstanc" INTEGER CS_INT DEFAULT 0, "IVLTransSe" INTEGER CS_INT DEFAULT -1, "IVLLayerID" INTEGER CS_INT DEFAULT -1, "INMLineNum" INTEGER CS_INT, "INMSubLine" INTEGER CS_INT, PRIMARY KEY INVERTED VALUE ("DocEntry", "BaseLine", "LineNum")) UNLOAD PRIORITY 5  AUTO MERGE 