When you open the Account Summary form in GP 2010( Build 11.00.2197 SP3 ) then click the print icon GP generates an invalid SQL statement and return an error dialog with the message 'Error accessing SQL data'
Is there any fix?
The illegal code fragments are:
AND T43.PERIODID AND
and
AND ( T43.PERIODID AND (
The statement generated is:
SELECT T518.AMNTFROM, T518.YEARID, T518.ACTINDX, T518.PERIODID, T518.CRDTAMNT, T518.DEBITAMT, T518.DOLLAR1, T3.ACTINDX, T3.ACTNUMBR_1, T3.ACTNUMBR_2, T3.ACTNUMBR_3, T3.ACTNUMBR_4, T3.ACTNUMBR_5, T3.ACTNUMBR_6, T3.ACTNUMBR_7, T3.ACTNUMBR_8, T3.ACTNUMBR_9, T3.ACTNUMBR_10, T3.ACTDESCR, T3.ACCTTYPE, T3.ACTALIAS, T3.ACCATNUM, T3.MNACSGMT, T43.DEX_ROW_ID, T43.FORIGIN, T43.YEAR1, T43.PERIODID, T43.SERIES, T43.ODESCTN, T43.PERNAME, T43.PERIODDT FROM ##1313115 T518 LEFT OUTER JOIN TB.dbo.GL00100 T3 ON ( T518.ACTINDX = T3.ACTINDX AND T3.ACTINDX = 1243 ) LEFT OUTER JOIN TB.dbo.SY40100 T43 ON ( T518.PERIODID = T43.PERIODID AND T43.YEAR1 = 2014 AND T43.PERIODID AND T43.SERIES = 0 ) WHERE ( T3.ACTINDX = 1243 ) AND ( T518.YEARID = '2014' ) AND ( T43.YEAR1 = 2014 OR T43.YEAR1 IS NULL) AND ( T43.PERIODID AND ( T43.SERIES = 0 OR T43.SERIES IS NULL) ORDER BY 1, 2, 3, 4, 27, 26, 24
*This post is locked for comments
Itz happening with the period setup table if I'm not wrong...just check for the period setups comparing the date parameters selected for generating the report.
Is this modified Report? If yes, change it to standard and try again. Also have a look on the below links.
support.microsoft.com/.../857827
support.microsoft.com/.../863262
Hope this helps!!!
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156