CREATE GLOBAL TEMPORARY ROW TABLE "SBODEMODE"."CR_BeforeSummaryINV1"  ( "VisOrder" INT CS_INT, "Joined" NVARCHAR  CS_STRING, "ItemCode" NVARCHAR(50)  CS_STRING, "SubCatNum" NVARCHAR(20)  CS_STRING, "Dscription" NVARCHAR(100)  CS_STRING, "TreeType" NVARCHAR  CS_STRING DEFAULT 'N', "UseBaseUn" NVARCHAR  CS_STRING DEFAULT 'N', "Price" DECIMAL(21,6) CS_FIXED, "DiscPrcnt" DECIMAL(21,6) CS_FIXED, "Factor1" DECIMAL(21,6) CS_FIXED, "Factor2" DECIMAL(21,6) CS_FIXED, "Factor3" DECIMAL(21,6) CS_FIXED, "Factor4" DECIMAL(21,6) CS_FIXED, "PriceAfVAT" DECIMAL(21,6) CS_FIXED, "TaxOnly" NVARCHAR  CS_STRING, "unitMsr" NVARCHAR(20)  CS_STRING, "NumPerMsr" DECIMAL(21,6) CS_FIXED, "WhsCode" NVARCHAR(8)  CS_STRING, "Quantity" DECIMAL(21,6) CS_FIXED, "PriceBefDi" DECIMAL(21,6) CS_FIXED, "LineTotal" DECIMAL(21,6) CS_FIXED, "TotalSumSy" DECIMAL(21,6) CS_FIXED, "TotalFrgn" DECIMAL(21,6) CS_FIXED )  ON COMMIT PRESERVE ROWS 