CREATE COLUMN TABLE "SBODEMODE"."AOA1" ("AgrNo" INTEGER CS_INT NOT NULL , "AgrLineNum" INTEGER CS_INT NOT NULL , "ItemCode" NVARCHAR(50), "ItemName" NVARCHAR(200), "ItemGroup" SMALLINT CS_INT, "PlanQty" DECIMAL(21,6) CS_FIXED, "UnitPrice" DECIMAL(21,6) CS_FIXED, "Currency" NVARCHAR(3), "CumQty" DECIMAL(21,6) CS_FIXED, "CumAmntFC" DECIMAL(21,6) CS_FIXED, "CumAmntLC" DECIMAL(21,6) CS_FIXED, "FreeTxt" NVARCHAR(100), "InvntryUom" NVARCHAR(100), "LogInstanc" INTEGER CS_INT DEFAULT 0 NOT NULL , "VisOrder" INTEGER CS_INT, "RetPortion" DECIMAL(21,6) CS_FIXED, "WrrtyEnd" LONGDATE CS_LONGDATE, "LineStatus" NVARCHAR(1) DEFAULT 'O', "PlanAmtLC" DECIMAL(21,6) CS_FIXED, "PlanAmtFC" DECIMAL(21,6) CS_FIXED, "Discount" DECIMAL(21,6) CS_FIXED, "UomEntry" INTEGER CS_INT, "UomCode" NVARCHAR(20), "NumPerMsr" DECIMAL(21,6) CS_FIXED DEFAULT 0, "UndlvQty" DECIMAL(21,6) CS_FIXED, "UndlvAmntL" DECIMAL(21,6) CS_FIXED, "UndlvAmntF" DECIMAL(21,6) CS_FIXED, "TrnspCode" SMALLINT CS_INT, "Project" NVARCHAR(20), "TaxCode" NVARCHAR(8), "TAXRate" DECIMAL(21,6) CS_FIXED, "PlVatAmtLC" DECIMAL(21,6) CS_FIXED, "PlVatAmtFC" DECIMAL(21,6) CS_FIXED, "CumVtAmtLC" DECIMAL(21,6) CS_FIXED, "CumVtAmtFC" DECIMAL(21,6) CS_FIXED, "EncryptIV" NVARCHAR(100), "UoMNum" DECIMAL(21,6) CS_FIXED, "UoMDen" DECIMAL(21,6) CS_FIXED, PRIMARY KEY ("AgrNo", "AgrLineNum", "LogInstanc")) UNLOAD PRIORITY 5  AUTO MERGE 