How do "built-in" Crystal reports work?

Joe,



Looking at a Stack trace of an error I was having



Invalid Index

at
CrystalDecisions.ReportAppServer.Controllers.PrintOutputControllerClass.
ModifyPrintOptions(PrintOptions newVal)

at
CrystalDecisions.CrystalReports.Engine.PrintOptions.set_PrinterDuplex(Pr
interDuplex value)

at Epicor.Mfg.Lib.Report.EpiCrystalViewer..ctor(String rptFile,
String dataFile, PrinterSettings ps, String rTitle)

at Epicor.Mfg.Lib.Report.EpiCrystalViewer..ctor(String rptFile,
String dataFile, String rTitle)

at
Epicor.Mfg.UI.App.SysMonitorEntry.Transaction.previewCrystalReport()



It is clear that the Epicor crystal viewer takes as a parameter the XML
file, this would then set it as the datasource for the report.



I am not sure about when it decides to clean out the directory I think
this is dependant on the time you specify to keep the printouts for.



I believe the XML is generated into the specific user sub directory and
then system monitor polls this folder for any new files,



<tracePacket>


<businessObject>Epicor.Mfg.BO.ReportMonitor</businessObject>

<methodName>GetRowsKeepIdleTime</methodName>


<returnType>Epicor.Mfg.BO.ReportMonitorDataSet</returnType>

<localTime>14/12/2006 20:02:27:2656250 PM</localTime>

<executionTime>15.625</executionTime>

<parameters>

<parameter name='whereClauseSysRptLst'
type='System.String' ><![CDATA[AutoAction <> '' AND WorkStationID
='computer']]></parameter>

<parameter name='pageSize'
type='System.Int32' ><![CDATA[0]]></parameter>

<parameter name='absolutePage'
type='System.Int32' ><![CDATA[0]]></parameter>

<parameter name='morePages'
type='System.Boolean' ><![CDATA[]]></parameter>

</parameters>

</tracePacket>





Regards,

Stephen

________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Joe Rojas
Sent: 14 December 2006 19:07
To: vantage@yahoogroups.com
Subject: [Vantage] How do "built-in" Crystal reports work?



Hi,

I noticed that each time a Crystal report is generated an XML file is
created and that the file name for the XML file is partial dynamic.

How does the Crystal report know to use that specific XML file? Is it a
parameter that is passed to the report at time of generation?

Thanks,

Joe Rojas

IT Manager

TNCO, Inc.

781-447-6661 x7506

jrojas@... <mailto:jrojas%40tnco-inc.com>

[Non-text portions of this message have been removed]





[Non-text portions of this message have been removed]
Hi,



I noticed that each time a Crystal report is generated an XML file is
created and that the file name for the XML file is partial dynamic.

How does the Crystal report know to use that specific XML file? Is it a
parameter that is passed to the report at time of generation?



Thanks,

Joe Rojas

IT Manager

TNCO, Inc.

781-447-6661 x7506

jrojas@...



[Non-text portions of this message have been removed]