CREATE GLOBAL TEMPORARY ROW TABLE "SBODEMODE"."Customer_Open_Item_List_TempOpenDocumentViewByPosting"  ( "DocEntry" INT CS_INT, "TransId" INT CS_INT, "Line_ID" INT CS_INT, "InstlmntID" INT CS_INT, "Account" NVARCHAR(15)  CS_STRING, "ShortName" NVARCHAR(15)  CS_STRING, "Address" NVARCHAR(100)  CS_STRING, "Phone" NVARCHAR(50)  CS_STRING, "TransType" NVARCHAR(20)  CS_STRING, "CreatedBy" INT CS_INT, "BaseRef" NVARCHAR(11)  CS_STRING, "SourceLine" SMALLINT CS_INT, "Debit" DECIMAL(21,6) CS_FIXED, "Credit" DECIMAL(21,6) CS_FIXED, "FCDebit" DECIMAL(21,6) CS_FIXED, "FCCredit" DECIMAL(21,6) CS_FIXED, "DebCred" NVARCHAR  CS_STRING, "RefDate" LONGDATE CS_LONGDATE, "DueDate" LONGDATE CS_LONGDATE, "TaxDate" LONGDATE CS_LONGDATE, "BalDueCred" DECIMAL(21,6) CS_FIXED, "BalFCCred" DECIMAL(21,6) CS_FIXED, "BalScCred" DECIMAL(21,6) CS_FIXED, "LineMemo" NVARCHAR(50)  CS_STRING, "Indicator" NVARCHAR(2)  CS_STRING, "CardName" NVARCHAR(200)  CS_STRING, "CardCode" NVARCHAR(15)  CS_STRING, "CardName1" NVARCHAR(200)  CS_STRING, "Balance" DECIMAL(21,6) CS_FIXED, "DocTotal" DECIMAL(21,6) CS_FIXED, "DocTotalFC" DECIMAL(21,6) CS_FIXED, "DocTotalSC" DECIMAL(21,6) CS_FIXED, "DunnLevel" INT CS_INT, "IsSales" NVARCHAR  CS_STRING, "BPCurrency" NVARCHAR(3)  CS_STRING, "FCCurrency" NVARCHAR(3)  CS_STRING, "Installmnt" SMALLINT CS_INT, "DunDate" LONGDATE CS_LONGDATE, "InsTotal" DECIMAL(21,6) CS_FIXED, "InsTotalFC" DECIMAL(21,6) CS_FIXED, "InsTotalSy" DECIMAL(21,6) CS_FIXED )  ON COMMIT PRESERVE ROWS 