What DSN should you use for SAGE100 Prremium custom reports that run off menu....
Answer:
I saw this on the Sage City and I thought I would pass it on. The point is if you create a report in Sage 100 Premium with dynamic parameters you need to use the MAS_Reports 'System' DSN with the MAS_Reports login or a user defined login with at least a 'Public' Server Role. Also use a single ODBC data source.
>>> From Sage Forum
I created a Crystal XI label report, Sage 100 SQL and am including a dynamic parameter for PO_Header batch number. If I run the report (no work tables) from within the Library Master Report Manager, it runs without error. However, when I pin it to the custom reports menu and run the report from there, it prompts me for the SQL server user name and password, and only the sa user and password will allow it to run. If I change the dynamic parameter to static, it runs correctly both from LM Report Master and from within the custom reports menu.
I have tried both SOTASQL and the OLE DB SQL connector. Any thoughts?
Thank you in advance for your assistance.
Posted by jcnichols
on19 Jun 2013 5:00 PM
Hi Brian,
All Sage 100 Premium (SQL) reports including user defined reports added to the custom reports menu connect to the DB (Sage 100 Data) using the MAS_Reports SQL login. The MAS_Reports login is created during Sage 100 installation and maintainable in the Windows program menu at the Server where Sage 100 Server is installed.
You should create your label report using a MAS_Reports 'System' DSN with the MAS_Reports login or a user defined login with at least a 'Public' Server Role.
When a dynamic parameter is created, it establishes an ODBC connection to the table containing the parameter value. Static parameters do not use an additional connection.
When the report is run from the custom reports menu the connection to the DB is with MAS_Reports. Modify your report using to utilize a single ODBC connection to all tables (report tables and parameter) using Crystal Reports Set Datasource location.
Hope this helps. John