CREATE COLUMN TABLE "SBODEMODE"."APH4" ("AbsEntry" INTEGER CS_INT NOT NULL , "LineID" INTEGER CS_INT NOT NULL , "StageID" INTEGER CS_INT, "TYP" INTEGER CS_INT DEFAULT -1, "DOCNUM" INTEGER CS_INT, "DocEntry" INTEGER CS_INT, "DocDate" LONGDATE CS_LONGDATE, "Total" DECIMAL(21,6) CS_FIXED, "LineNum" INTEGER CS_INT, "Status" NVARCHAR(1) DEFAULT 'O', "LogInstanc" INTEGER CS_INT DEFAULT 0 NOT NULL , "AmountCat" NVARCHAR(1), "Categorize" NVARCHAR(2), "Operation" NVARCHAR(1), "Chargeable" NVARCHAR(1) DEFAULT 'N', "Charged" DECIMAL(21,6) CS_FIXED, "ChargedQty" DECIMAL(21,6) CS_FIXED, "DocType" NVARCHAR(1) DEFAULT 'I', "EncryptIV" NVARCHAR(100), "PartTotal" DECIMAL(21,6) CS_FIXED, PRIMARY KEY ("AbsEntry", "LineID", "LogInstanc")) UNLOAD PRIORITY 5  AUTO MERGE 