I'm printing a report via a BOI script (SO Customer Sales History). I can print/preview it, but I was just wondering if the report object has a method to export the report to file? (Excel or PDF)? Thanks in advance.
Greetings,
This is an issue with Crystal and COM (BOI) for the Sage 100 2018 Release. To correct this, copy the pvxwin32.exe.config from the Sage 100 2018 installs ..\mas90\home folder to the C:\Program…
Greetings,
I spent some time this morning working out how to export reports silently through BOI.
My testing was done using Sage 100 ERP 2014 ABC Demo Data on a Windows 7 x64 Virtual Machine. I did not…
Thank you Kent. I'll be working with this as well and will report back (and/or to support).
Just FYI to whomever else comes across this post. There is a typo, and if you copy and paste this script you'll get Error: 548 in Method SETEXPORTOPTIONS, and it might take you a bit to find it, at least it did for me.
The first "t" is missing in sOutputPath.
Should be:
sOutputPath = "C:\temp\GL_TrialBalance.pdf"
Also, in my testing the SetExportOptions didn't work properly when using the variables, even when resetting them to 0 and "" before calling them. Hard coding the values, nSetExportOptions(5, "C:\temp\GL_TrialBalance.pdf"), worked fine.
We recently changed to version 2018 and after the change I am getting an Error 200 back from the line that says
retval = oGLReport.nInitReportEngine()
Are there any changes to this script that are needed to be compatible with V2018?
Greetings,
This is an issue with Crystal and COM (BOI) for the Sage 100 2018 Release. To correct this, copy the pvxwin32.exe.config from the Sage 100 2018 installs ..\mas90\home folder to the C:\Program Files (x86)\Common Files\Sage\CommonComponents folder and then RENAME the file to pvxcom.exe.config.
Thank you,
Kent Mackall
Thanks! That Worked!!!
*Community Hub is the new name for Sage City