<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.infinite-erp.co.id/index.php?action=history&amp;feed=atom&amp;title=How_to_Print_Reports_with_Subreports</id>
	<title>How to Print Reports with Subreports - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.infinite-erp.co.id/index.php?action=history&amp;feed=atom&amp;title=How_to_Print_Reports_with_Subreports"/>
	<link rel="alternate" type="text/html" href="https://wiki.infinite-erp.co.id/index.php?title=How_to_Print_Reports_with_Subreports&amp;action=history"/>
	<updated>2026-04-06T15:27:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.1</generator>
	<entry>
		<id>https://wiki.infinite-erp.co.id/index.php?title=How_to_Print_Reports_with_Subreports&amp;diff=2747&amp;oldid=prev</id>
		<title>Wikiadmin: Created page with &quot;{{RatingArticle}} {{Languages | Documentation_Style_Guide}} == Objective == The objective of this article is to show how to print reports that include subreports.  == Executio...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.infinite-erp.co.id/index.php?title=How_to_Print_Reports_with_Subreports&amp;diff=2747&amp;oldid=prev"/>
		<updated>2021-12-16T02:12:34Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{RatingArticle}} {{Languages | Documentation_Style_Guide}} == Objective == The objective of this article is to show how to print reports that include subreports.  == Executio...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{RatingArticle}}&lt;br /&gt;
{{Languages | Documentation_Style_Guide}}&lt;br /&gt;
== Objective ==&lt;br /&gt;
The objective of this article is to show how to print reports that include subreports.&lt;br /&gt;
&lt;br /&gt;
== Execution Steps ==&lt;br /&gt;
There are three possible ways to print reports that include subreports:&lt;br /&gt;
&lt;br /&gt;
#Using the '''$P{SUBREP_report_name}''' parameter to automatically look for the subreport that will be shown. This option only works on reports that have been processed by using the '''&amp;quot;Print&amp;quot;''' button in the '''Sales/Purchase Invoice, Sales/Purchase Order, Goods Receipt/Shipment and Payment In/Out''' windows. In those cases it is not necessary to include the subreport's .jasper since the .jrxml suffices, because at the time of execution it is being compiled and passed to the main report as a parameter.&lt;br /&gt;
#The next possibility is defining the .jrxml for a process (in the '''&amp;quot;Report and Process'''&amp;quot; window) and then include this process in the menu. In this case, the only possible option is using the precompiled subreport (jasper) and refering to it from the .jrxml using BASE_DESIGN followed by the jasper path. The main disadvantage of using a precompiled subreports in that it is not translated in runtime so that is only possible to have the subreport in one language. &lt;br /&gt;
#The last possibility is calling '''renderJR''' from an own java servlet, compiling the .jrxml and passing it as a parameter like described in the first method. This is done in the '''PrintController''' class (PrintController.java).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:HowTo]]&lt;/div&gt;</summary>
		<author><name>Wikiadmin</name></author>
		
	</entry>
</feed>