CREATE GLOBAL TEMPORARY ROW TABLE "IMCYC"."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(100)  CS_STRING, "Qty" DECIMAL(19,6) CS_FIXED, "NoInvMove" CHAR(1) CS_FIXEDSTRING, "Price" DECIMAL(19,6) CS_FIXED, "Sales" DECIMAL(19,6) CS_FIXED, "GrossProfit" DECIMAL(19,6) CS_FIXED, "GrossPrcntv" DECIMAL(19,6) CS_FIXED, "PriceSys" DECIMAL(19,6) CS_FIXED, "SalesSys" DECIMAL(19,6) CS_FIXED, "GrossProfitSys" DECIMAL(19,6) CS_FIXED, "GrossPrcntSys" DECIMAL(19,6) CS_FIXED, "DocType" VARCHAR(10) CS_STRING, "LineNum" INT CS_INT, "SalesForPrcnt" DECIMAL(19,6) CS_FIXED, "SalesForPrcntSys" DECIMAL(19,6) CS_FIXED ) 