CREATE COLUMN TABLE "SBODEMOUS"."MIV1" ("MinvNum" INTEGER CS_INT, "AbsEntry" INTEGER CS_INT NOT NULL , "DocNum" INTEGER CS_INT, "DocType" NVARCHAR(20) NOT NULL , "DocDate" LONGDATE CS_LONGDATE, "DocDueDate" LONGDATE CS_LONGDATE, "DocClsDate" LONGDATE CS_LONGDATE, "DocAmount" DECIMAL(21,6) CS_FIXED, "DocExpense" DECIMAL(21,6) CS_FIXED, "DocDiscSum" DECIMAL(21,6) CS_FIXED, "DocRound" DECIMAL(21,6) CS_FIXED, "DocTax" DECIMAL(21,6) CS_FIXED, "Closed" NVARCHAR(1) DEFAULT 'N', "MINumWnCls" INTEGER CS_INT, "Entry" INTEGER CS_INT NOT NULL , "DocOrigin" NVARCHAR(1) DEFAULT 'M', PRIMARY KEY ("Entry", "DocType", "AbsEntry")) UNLOAD PRIORITY 5  AUTO MERGE 