QuickReport

Prev Next

Beschreibung

Die Klasse QuickReport erzeugt eine XML-Datei, in der alle Profile mit einigen wichtigen Eigenschaften kurz beschrieben werden. Eine Konfigurationsdatei wird hierfür nicht benötigt.

Wird im Feld “Konfigurationsdatei” der Name eines Data-Flow-Eintrags angegeben, dann enthält der erzeugte Report nur Profile, die innerhalb dieses Data-Flow-Eintrags verwendet werden. Ein ungültiger Name für den Data-Flow-Eintrag führt zu einem Fehlerabbruch (es wird kein Job erzeugt, der Fehler ist im Bereich “Allgemeine Meldungen” zu finden).

Beispiel

Beispiel für eine erzeugte Report-Datei mit der Klasse QuickReport:

  <?xml version="1.0" encoding="UTF-8"?>
  <report>
	<profile name="DTE Invoice splitten" active="false" valid_from="2014-03-05 00:00:00" valid_until="2034-02-28 00:00:00" group="Support" suspended="false" version="44" retain_backup="-1" file_encoding="8859_1" preparser="" preparser_config="" postparser="" check_environment="" check_environment_config="" swap="true" singe_run="false" priority="Normal" exception_mail="" exception_profile="" edifact_ctrl_profile="" verification_profile="" replace_profile="" error_mail_recipient="" error_mail_cc="" doc_type="CSV" iu="com.ebd.hub.datawizard.iu.NoActionUnit" iu_post_exec_encoding="8859_1">
    Daten direkt aus der Datenbank abfragen
		<input type="cron" server="" subtype="API">
			<trigger_profile />
			<settings class="com.ebd.hub.datawizard.util.DefaultSQLCron">
				<schedule type="interval" interval="900" />
			</settings>
		</input>
		<output run_as_thread="false" base_file_name="">
			<response type="message" context="System" queue="DWForwardReceiver" profile="Invoice xml erstellen" post_exec="" post_exec_config="" />
		</output>
	</profile>
	<profile name="Das_HTTP_Senden" active="true" valid_from="2014-08-05 00:00:00" valid_until="2034-07-31 00:00:00" group="intern" suspended="false" version="6" retain_backup="-1" file_encoding="8859_1" preparser="" preparser_config="" postparser="" check_environment="" check_environment_config="" swap="true" singe_run="false" priority="Normal" exception_mail="" exception_profile="" edifact_ctrl_profile="" verification_profile="" replace_profile="" error_mail_recipient="" error_mail_cc="" doc_type="CSV" iu="com.ebd.hub.datawizard.iu.NoActionUnit" iu_post_exec_encoding="8859_1">
		<input type="upload" />
		<output run_as_thread="false" base_file_name="">
			<response type="http" host="http://localhost" port="80" uri="/dw/request/httpdrama?ID=1" query="daten=&lt;http-data&gt;" target_profile="" error_profile="" post_exec="" post_exec_config="" />
			<response type="http" host="http://localhost" port="80" uri="/dw/request/httpdrama?ID=2" query="" target_profile="" error_profile="" post_exec="" post_exec_config="" />
			<response type="http" host="http://localhost" port="80" uri="/dw/request/httpdrama" query="daten=&lt;http-data&gt;&amp;ID=3" target_profile="" error_profile="" post_exec="" post_exec_config="" />
			<response type="http" host="http://localhost" port="80" uri="/dw/request/httpdrama?ID=4" query="file=&lt;http-data&gt;" target_profile="" error_profile="" post_exec="" post_exec_config="" />
		</output>
	</profile>
  </report>