CREATE COLUMN TABLE "SBODEMOPT"."IWZ3" ("AbsEntry" INTEGER CS_INT NOT NULL , "ItemCode" NVARCHAR(50) NOT NULL , "WhCode" NVARCHAR(8) NOT NULL , "RevalPrice" DECIMAL(21,6) CS_FIXED, "BaseCurr" NVARCHAR(3), "RevalDate" LONGDATE CS_LONGDATE, "RevalSum" DECIMAL(21,6) CS_FIXED, "BasePrice" DECIMAL(21,6) CS_FIXED, "RealAcct" NVARCHAR(15), "RevalOfsac" NVARCHAR(15), "RevalType" NVARCHAR(1) DEFAULT 'S', "ExeLine" NVARCHAR(1) DEFAULT 'Y', "RevCancel" NVARCHAR(1) DEFAULT 'N', "RvCaclDate" LONGDATE CS_LONGDATE, "Quantity" DECIMAL(21,6) CS_FIXED, "BalanceBef" DECIMAL(21,6) CS_FIXED, PRIMARY KEY ("AbsEntry", "ItemCode", "WhCode")) UNLOAD PRIORITY 5  AUTO MERGE ;
CREATE INDEX "IWZ3_ABS" ON "SBODEMOPT"."IWZ3" ( "AbsEntry" ASC )