CREATE COLUMN TABLE "SBODEMOPT"."AMD1" ("LineNum" INTEGER CS_INT NOT NULL , "PmnNum" INTEGER CS_INT NOT NULL , "PmnInvID" INTEGER CS_INT NOT NULL , "PmnDate" LONGDATE CS_LONGDATE, "CardCode" NVARCHAR(15), "InvType" NVARCHAR(20) DEFAULT '13', "InvEntry" INTEGER CS_INT, "InstId" SMALLINT CS_INT, "InvTransID" INTEGER CS_INT, "FCCurrency" NVARCHAR(3), "InvRate" DECIMAL(21,6) CS_FIXED, "PmnRate" DECIMAL(21,6) CS_FIXED, "Approved" NVARCHAR(1) DEFAULT 'Y', "AmountDiff" DECIMAL(21,6) CS_FIXED, "TaxAmtDiff" DECIMAL(21,6) CS_FIXED, "TMP_JE" NVARCHAR(50), PRIMARY KEY ("LineNum", "PmnNum", "PmnInvID")) UNLOAD PRIORITY 5  AUTO MERGE 