CREATE GLOBAL TEMPORARY ROW TABLE "SBODEMODE"."TmpPsar_Purch_An_Crd_Det_Y"  ( "DocEntry" NVARCHAR(20)  CS_STRING, "DocNum" NVARCHAR(20)  CS_STRING, "ObjCode" NVARCHAR(10)  CS_STRING, "SlpName" NVARCHAR(155)  CS_STRING, "DocDate" LONGDATE CS_LONGDATE, "DocDueDate" LONGDATE CS_LONGDATE, "CardCode" NVARCHAR(15)  CS_STRING, "CardName" NVARCHAR(200)  CS_STRING, "Sales" DECIMAL(21,6) CS_FIXED, "PaidSum" DECIMAL(21,6) CS_FIXED, "SalesSys" DECIMAL(21,6) CS_FIXED, "PaidSumSys" DECIMAL(21,6) CS_FIXED, "instID" DECIMAL(21,6) CS_FIXED, "instNum" DECIMAL(21,6) CS_FIXED, "AgrNo" INT CS_INT, "AgrAbsId" INT CS_INT )  ON COMMIT PRESERVE ROWS 