Normally the reports are printed just by clicking on the Print Button, but what if we come across scenarios when we need to open the report on run time.
New Stuff: How to open a Closed Purchase Receipts in X3
But no worries we will be guiding you with the same, there is an easy way to open the report through the code.The only condition is that we should be aware of the name of the report and parameters of the report.
Write a code in a processing file and run it, it will open a crystal report.
Example:
Here ‘ITMFORM’ is the name of report, and variables are declared to store and passing the parameter in the report.
Hope this helps!
Also Read:
1) Calling Screens from Dashboard
2) Fetch the Entry Transaction value via Customized Code
3) Print Codes in Sage X3
4) How to attach the Report to the Window in X3
5) How to include crystal report with patch in x3