CREATE COLUMN TABLE "IMCYC"."VPM6" ("DocNum" INTEGER CS_INT NOT NULL , "InvoiceId" INTEGER CS_INT, "WTCode" NVARCHAR(4), "PymMean" CHAR(1) CS_FIXEDSTRING DEFAULT 'C', "DueDate" LONGDATE CS_LONGDATE, "WTSum" DECIMAL(21,6) CS_FIXED, "WTSumFC" DECIMAL(21,6) CS_FIXED, "WTSumSC" DECIMAL(21,6) CS_FIXED, "Rate" DECIMAL(21,6) CS_FIXED, "TaxbleAmnt" DECIMAL(21,6) CS_FIXED, "TxblAmntFC" DECIMAL(21,6) CS_FIXED, "TxblAmntSC" DECIMAL(21,6) CS_FIXED, "PymAmount" DECIMAL(21,6) CS_FIXED, "PymAmounF" DECIMAL(21,6) CS_FIXED, "PymAmounS" DECIMAL(21,6) CS_FIXED, "Line" INTEGER CS_INT NOT NULL , "LogInstanc" INTEGER CS_INT DEFAULT 0, "ObjType" NVARCHAR(20) DEFAULT '46', "TdsBAmt" DECIMAL(21,6) CS_FIXED, "TdsBAmtSC" DECIMAL(21,6) CS_FIXED, "TdsBAmtFC" DECIMAL(21,6) CS_FIXED, "SurBAmt" DECIMAL(21,6) CS_FIXED, "SurBAmtSC" DECIMAL(21,6) CS_FIXED, "SurBAmtFC" DECIMAL(21,6) CS_FIXED, "CessBAmt" DECIMAL(21,6) CS_FIXED, "CessBAmtSC" DECIMAL(21,6) CS_FIXED, "CessBAmtFC" DECIMAL(21,6) CS_FIXED, "HscBAmt" DECIMAL(21,6) CS_FIXED, "HscBAmtSC" DECIMAL(21,6) CS_FIXED, "HscBAmtFC" DECIMAL(21,6) CS_FIXED, "TdsAmnt" DECIMAL(21,6) CS_FIXED, "TdsAmntSC" DECIMAL(21,6) CS_FIXED, "TdsAmntFC" DECIMAL(21,6) CS_FIXED, "SurAmnt" DECIMAL(21,6) CS_FIXED, "SurAmntSC" DECIMAL(21,6) CS_FIXED, "SurAmntFC" DECIMAL(21,6) CS_FIXED, "CessAmnt" DECIMAL(21,6) CS_FIXED, "CessAmntSC" DECIMAL(21,6) CS_FIXED, "CessAmntFC" DECIMAL(21,6) CS_FIXED, "HscAmnt" DECIMAL(21,6) CS_FIXED, "HscAmntSC" DECIMAL(21,6) CS_FIXED, "HscAmntFC" DECIMAL(21,6) CS_FIXED, "WTTypeId" INTEGER CS_INT, "WTPosted" DECIMAL(21,6) CS_FIXED, "WTPostedFC" DECIMAL(21,6) CS_FIXED, "WTPostedSC" DECIMAL(21,6) CS_FIXED, "IgstBAmt" DECIMAL(21,6) CS_FIXED, "IgstBAmtSC" DECIMAL(21,6) CS_FIXED, "IgstBAmtFC" DECIMAL(21,6) CS_FIXED, "CgstBAmt" DECIMAL(21,6) CS_FIXED, "CgstBAmtSC" DECIMAL(21,6) CS_FIXED, "CgstBAmtFC" DECIMAL(21,6) CS_FIXED, "SgstBAmt" DECIMAL(21,6) CS_FIXED, "SgstBAmtSC" DECIMAL(21,6) CS_FIXED, "SgstBAmtFC" DECIMAL(21,6) CS_FIXED, "IgstAmnt" DECIMAL(21,6) CS_FIXED, "IgstAmntSC" DECIMAL(21,6) CS_FIXED, "IgstAmntFC" DECIMAL(21,6) CS_FIXED, "CgstAmnt" DECIMAL(21,6) CS_FIXED, "CgstAmntSC" DECIMAL(21,6) CS_FIXED, "CgstAmntFC" DECIMAL(21,6) CS_FIXED, "SgstAmnt" DECIMAL(21,6) CS_FIXED, "SgstAmntSC" DECIMAL(21,6) CS_FIXED, "SgstAmntFC" DECIMAL(21,6) CS_FIXED, "DepositNum" INTEGER CS_INT, "UtgstBAmt" DECIMAL(21,6) CS_FIXED, "UtgstBAmtS" DECIMAL(21,6) CS_FIXED, "UtgstBAmtC" DECIMAL(21,6) CS_FIXED, "CsgstBAmt" DECIMAL(21,6) CS_FIXED, "CsgstBAmtS" DECIMAL(21,6) CS_FIXED, "CsgstBAmtC" DECIMAL(21,6) CS_FIXED, "UtgstAmt" DECIMAL(21,6) CS_FIXED, "UtgstAmtSC" DECIMAL(21,6) CS_FIXED, "UtgstAmtFC" DECIMAL(21,6) CS_FIXED, "CsgstAmt" DECIMAL(21,6) CS_FIXED, "CsgstAmtSC" DECIMAL(21,6) CS_FIXED, "CsgstAmtFC" DECIMAL(21,6) CS_FIXED, PRIMARY KEY INVERTED VALUE ("DocNum", "Line")) UNLOAD PRIORITY 5  AUTO MERGE 