Hello,
We recently noticed many sales documents (we think it's only sales but can't confirm) where when we open the Journal Entry Inquiry window then click to the Source Document, the incorrect document is pulled. We ran check links on all Financials and Sales tables, as well as rebuilt the RM00401 table and it's still an issue. I then did a SQL Profiler and noticed that when we click on the Source Document link for a problematic JE, it calls this script:
exec FXC.dbo.zDP_GL20000UN_4 1,79195,0,0,NULL,NULL,NULL,NULL,NULL,NULL
The JE is an historical one so the JE is not returned as a record in the result set and it seems to pull the next record returned, which is incorrect. It should be calling this script instead:
exec FXC.dbo.zDP_GL30000UN_4 1,79195,0,0,NULL,NULL,NULL,NULL,NULL,NULL
When I traced a JE that works, it calls the historical script correctly and thus shows the source document correctly.
Is anyone else experiencing this? Any help is appreciated since the auditors need to be able to pull this info up quickly and correctly.
Thanks
RL