CREATE COLUMN TABLE "SBODEMOPT"."ORCM" ("DocEntry" INTEGER CS_INT NOT NULL , "ObjAbs" INTEGER CS_INT, "ObjType" INTEGER CS_INT, "ItemCode" NVARCHAR(50), "DueDate" LONGDATE CS_LONGDATE, "OrderType" NVARCHAR(1) DEFAULT 'P', "Quantity" DECIMAL(21,6) CS_FIXED, "UOM" NVARCHAR(100), "CardCode" NVARCHAR(15), "Warehouse" NVARCHAR(8), "Price" DECIMAL(21,6) CS_FIXED, "Currency" NVARCHAR(3), "Origin" NVARCHAR(1) DEFAULT 'M', "Status" NVARCHAR(1) DEFAULT 'O', "UserSign" SMALLINT CS_INT, "DocDate" LONGDATE CS_LONGDATE, "DocTime" SMALLINT CS_INT, "BPLid" INTEGER CS_INT DEFAULT -1, "PriceBefDi" DECIMAL(21,6) CS_FIXED, "DiscPrcnt" DECIMAL(21,6) CS_FIXED, "ReleasDate" LONGDATE CS_LONGDATE, "PriceAftV" DECIMAL(21,6) CS_FIXED, "FromWhse" NVARCHAR(8), "FstReqDate" LONGDATE CS_LONGDATE, "UomEntry" INTEGER CS_INT, "NumPerMsr" DECIMAL(21,6) CS_FIXED, "AgrNo" INTEGER CS_INT, "AgrLnNum" INTEGER CS_INT, "UseDiscnt" NVARCHAR(1) DEFAULT 'Y', "PriceMode" NVARCHAR(1), "RouDatCalc" NVARCHAR(1), PRIMARY KEY ("DocEntry")) UNLOAD PRIORITY 5  AUTO MERGE 