CREATE GLOBAL TEMPORARY ROW TABLE "SBODEMODE"."CR_SalesBOMSummaryByItem"  ( "DocEntry" INT CS_INT NOT NULL, "Joined" NVARCHAR  CS_STRING, "VisOrder" INT CS_INT, "TreeType" NVARCHAR  CS_STRING DEFAULT 'N', "VendorNum" NVARCHAR(17)  CS_STRING, "ItemCode" NVARCHAR(50)  CS_STRING, "Dscription" NVARCHAR(100)  CS_STRING, "Quantity" DECIMAL(21,6) CS_FIXED, "unitMsr" NVARCHAR(20)  CS_STRING, "Price" DECIMAL(21,6) CS_FIXED, "Discprcnt" 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, "Currency" NVARCHAR(3)  CS_STRING, "WhsCode" NVARCHAR(8)  CS_STRING )  ON COMMIT PRESERVE ROWS 