CREATE GLOBAL TEMPORARY ROW TABLE "SBODEMODE"."TmpPsar_Sales_An_Itm_Det_Y"  ( "DocEntry" NVARCHAR(20)  CS_STRING, "DocNum" NVARCHAR(20)  CS_STRING, "SlpName" NVARCHAR(155)  CS_STRING, "DocDate" LONGDATE CS_LONGDATE, "DocDueDate" LONGDATE CS_LONGDATE, "ItemCode" NVARCHAR(50)  CS_STRING, "ItemName" NVARCHAR(200)  CS_STRING, "Qty" DECIMAL(21,6) CS_FIXED, "NoInvMove" NVARCHAR  CS_STRING, "Price" DECIMAL(21,6) CS_FIXED, "Sales" DECIMAL(21,6) CS_FIXED, "GrossProfit" DECIMAL(21,6) CS_FIXED, "GrossPrcntv" DECIMAL(21,6) CS_FIXED, "PriceSys" DECIMAL(21,6) CS_FIXED, "SalesSys" DECIMAL(21,6) CS_FIXED, "GrossProfitSys" DECIMAL(21,6) CS_FIXED, "GrossPrcntSys" DECIMAL(21,6) CS_FIXED, "DocType" VARCHAR(10) CS_STRING, "LineNum" INT CS_INT, "SalesForPrcnt" DECIMAL(21,6) CS_FIXED, "SalesForPrcntSys" DECIMAL(21,6) CS_FIXED )  ON COMMIT PRESERVE ROWS 