CREATE COLUMN TABLE "SBODEMOPT"."VRW2" ("AbsEntry" INTEGER CS_INT NOT NULL , "TaxInvID" INTEGER CS_INT NOT NULL , "VatGroup" NVARCHAR(8) NOT NULL , "Selected" NVARCHAR(1) DEFAULT 'N', "LineStatus" NVARCHAR(1) DEFAULT 'R', "DebitAcc" NVARCHAR(15), "DocDate" LONGDATE CS_LONGDATE, "VatAmount" DECIMAL(21,6) CS_FIXED, "NetAmount" DECIMAL(21,6) CS_FIXED, "JETransID" INTEGER CS_INT, "Ref1" NVARCHAR(100), "Ref2" NVARCHAR(100), "Ref3" NVARCHAR(100), "Remarks" NVARCHAR(254), "TrnsCode" NVARCHAR(4), "BPLId" INTEGER CS_INT, "ARINVAbs" INTEGER CS_INT DEFAULT 0 NOT NULL , "ARDocNumAb" NVARCHAR(20), "ARAbsEntry" INTEGER CS_INT DEFAULT 0, "ARObjType" NVARCHAR(20), "ARDocDate" LONGDATE CS_LONGDATE, "CstmrCode" NVARCHAR(15), "CstmrName" NVARCHAR(100), "TpiDocNum" INTEGER CS_INT, "TpiDocDate" LONGDATE CS_LONGDATE, "VendorCode" NVARCHAR(15), "VendorName" NVARCHAR(100), "ARDocMemo" NVARCHAR(254), "TpiMemo" NVARCHAR(254), "GrsAmt" DECIMAL(21,6) CS_FIXED, "VatAcc" NVARCHAR(15), "OpenVatAmt" DECIMAL(21,6) CS_FIXED, "OpenNetAmt" DECIMAL(21,6) CS_FIXED, "OpenGrsAmt" DECIMAL(21,6) CS_FIXED, "RepstedVat" DECIMAL(21,6) CS_FIXED, PRIMARY KEY ("AbsEntry", "TaxInvID", "VatGroup", "ARINVAbs")) UNLOAD PRIORITY 5  AUTO MERGE 