CREATE COLUMN TABLE "SBODEMOPT"."AGRS" ("AbsEntry" INTEGER CS_INT NOT NULL , "PeriodCat" NVARCHAR(10), "FinancYear" LONGDATE CS_LONGDATE, "Year" SMALLINT CS_INT, "PeriodName" NVARCHAR(20), "SubType" NVARCHAR(1) DEFAULT 'Y', "PeriodNum" INTEGER CS_INT, "F_RefDate" LONGDATE CS_LONGDATE, "T_RefDate" LONGDATE CS_LONGDATE, "F_DueDate" LONGDATE CS_LONGDATE, "T_DueDate" LONGDATE CS_LONGDATE, "F_TaxDate" LONGDATE CS_LONGDATE, "T_TaxDate" LONGDATE CS_LONGDATE, "LogInstanc" INTEGER CS_INT NOT NULL , "UpdateDate" LONGDATE CS_LONGDATE, "UserSign" SMALLINT CS_INT, "UserSign2" SMALLINT CS_INT, "ResCode" NVARCHAR(50), "ResGrpCod" SMALLINT CS_INT, "WhsCode" NVARCHAR(8), "BPGrpCod" SMALLINT CS_INT, "LicTradNum" NVARCHAR(32) DEFAULT '!^|', "ShipCountr" NVARCHAR(3), "ShipState" NVARCHAR(3), "Comments" NVARCHAR(254), "CreateDate" LONGDATE CS_LONGDATE, "RuleCode" NVARCHAR(20), "GLMethod" NVARCHAR(1) DEFAULT 'A', "Transfered" NVARCHAR(1) DEFAULT 'N', "FromDate" LONGDATE CS_LONGDATE, "ToDate" LONGDATE CS_LONGDATE, "ResRevAct" NVARCHAR(15), "ResExpAct" NVARCHAR(15), "ResSaleAct" NVARCHAR(15), "ResPurAct" NVARCHAR(15), "ResNInvAct" NVARCHAR(15), "ResStdExp1" NVARCHAR(15), "ResStdExp2" NVARCHAR(15), "ResStdExp3" NVARCHAR(15), "ResStdExp4" NVARCHAR(15), "ResStdExp5" NVARCHAR(15), "ResStdExp6" NVARCHAR(15), "ResStdExp7" NVARCHAR(15), "ResStdExp8" NVARCHAR(15), "ResStdExp9" NVARCHAR(15), "ResStdEx10" NVARCHAR(15), "ResWipAct" NVARCHAR(15), "ResScrapAc" NVARCHAR(15), "WipOffPlAc" NVARCHAR(15), "ResOffPlAc" NVARCHAR(15), "Active" NVARCHAR(1) DEFAULT 'Y', "CmpPrivate" NVARCHAR(1) DEFAULT 'A', "VatGroup" NVARCHAR(8), "CardCode" NVARCHAR(15), "Usage" INTEGER CS_INT, PRIMARY KEY ("AbsEntry", "LogInstanc")) UNLOAD PRIORITY 5  AUTO MERGE 