With Sage 300 Intelligence Reporting, you get a number of Customized and user specific reports that befit your business needs. These crystal and .dll reports are fully customizable and ready to use with drill down capabilities.
In Sage 300, we use crystal reports to print several transactions such as Purchase Transaction Reports, Sales Reports, GL Transactional Reports, Inventory Stock Reports, etc. Interestingly, Sage 300 allows you to customize these reports and create new reports as per the user’s requirements.
Often, most of the users get stuck when creating different types of customized reports because of SQL views, as it doesn’t get updated automatically on client’s machine and thus, leads to the below error when the user tries to print reports.
To avoid such issues, we use SQL commands in crystal reports. SQL commands help in faster printing of reports and serves as a robust solution to dodge errors like SQL Connection Failed or Asking Database Login.
The use of SQL views also creates error on Integration from CRM to ERP.
For e.g. when we print quotation report from Integrated CRM of ERP, we get below error:
The above login error pops up when CRM user prints quote report from CRM. This error results due to use of SQL views in reports.
‘SQL Commands’ can help discard above errors in Sage 300 MIS Reports.
So to avoid these types of issues, we use SQL commands in Crystal Reports.
Use of SQL Command:
- SQL expression is often used as a substitute of (or combined with) a Crystal formula. The user can place SQL expression directly in a report or can use it to sort, select and group criteria.
- SQL command is more like a data source, which defines the data you want to derive from the server. After you set the command, you can use it just like a table.
Advantages of SQL Command:
SQL commands can speed up reports viewing experience whilst solving all complex reporting issues, which otherwise are difficult to address.
How to add command in the report?
According to above screenshot, we can add command in crystal report. You just need to select ‘Add Command’ option and you will get the below screen, where you have to add your query and link with the tables appropriate.
As per the above screenshot, the command has been added and can be used in Crystal reports for further fetching of data.
The main purpose of this blog is to use SQL commands instead of SQL views to avoid all the above-mentioned issues and save time.
- Inventory Control Reports in Sage 300 ERP
- General Ledger Reports in Sage 300 ERP
- Error: Sage 300 ERP UI Container has stopped working message occurs when printing reports
- Creating a Union Report in Sage Intelligence Reports