<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Passing Variables from Sub Report not resetting value when no Value in subreport - Acumatica Report Designer				            </title>
            <link>https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/</link>
            <description>Acumatica User Group Forums</description>
            <language>en-US</language>
            <lastBuildDate>Sun, 19 Apr 2026 21:24:35 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Passing Variables from Sub Report not resetting value when no Value in subreport</title>
                        <link>https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/paged/2/#post-6122</link>
                        <pubDate>Mon, 02 Mar 2020 23:43:13 +0000</pubDate>
                        <description><![CDATA[@jen-tran a bit late, but if this helps you: What I&#039;ve figured out from a recent project is that you can only have one subreport per-section. To fix your problem you should add 3 footer sect...]]></description>
                        <content:encoded><![CDATA[<p>@jen-tran a bit late, but if this helps you: What I've figured out from a recent project is that you can only have one subreport per-section. To fix your problem you should add 3 footer sections, move the sub reports into 1 and 2, then put the display part in 3. Then you can access the 2 subreport parameters in the 3rd section with out having the 2nd one break.</p>
<p>For everyone else, another strange rule I've found. You can only seem to pass values of sub report variables from the section they exist in. For instance if you create a variable in the detail section, but want to sent the sum of that back from the footer section. It will not work. You will have to create a new variable for the footer section, assign the summed value to it, then pass that back to the main report.</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-report-designer/">Acumatica Report Designer</category>                        <dc:creator>LoganG</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/paged/2/#post-6122</guid>
                    </item>
				                    <item>
                        <title>RE: Passing Variables from Sub Report not resetting value when no Value in subreport</title>
                        <link>https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/paged/2/#post-5986</link>
                        <pubDate>Mon, 10 Feb 2020 00:24:14 +0000</pubDate>
                        <description><![CDATA[Did your Summit training idea work?]]></description>
                        <content:encoded><![CDATA[<p>Did your Summit training idea work?</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-report-designer/">Acumatica Report Designer</category>                        <dc:creator>Tim Rodman</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/paged/2/#post-5986</guid>
                    </item>
				                    <item>
                        <title>RE: Passing Variables from Sub Report not resetting value when no Value in subreport</title>
                        <link>https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/paged/2/#post-5946</link>
                        <pubDate>Thu, 30 Jan 2020 02:30:59 +0000</pubDate>
                        <description><![CDATA[@timrodmanYes I was thinking it’s a bug and I did open a ticket but they are getting difficult not willing to do it without a SOW $750 to look at this since it’s deemed custom report. Thanks...]]></description>
                        <content:encoded><![CDATA[<p>@timrodman</p><p>Yes I was thinking it’s a bug and I did open a ticket but they are getting difficult not willing to do it without a SOW $750 to look at this since it’s deemed custom report. Thanks for looking into it though. Hoping I can ask during training at summit :) </p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-report-designer/">Acumatica Report Designer</category>                        <dc:creator>jentran</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/paged/2/#post-5946</guid>
                    </item>
				                    <item>
                        <title>RE: Passing Variables from Sub Report not resetting value when no Value in subreport</title>
                        <link>https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/paged/2/#post-5945</link>
                        <pubDate>Thu, 30 Jan 2020 02:03:54 +0000</pubDate>
                        <description><![CDATA[I just took a look and was able to reproduce the problem in my environment. The variable field displays 0, but the subreport (once I make it visible) displays the correct value. I think you ...]]></description>
                        <content:encoded><![CDATA[<p>I just took a look and was able to reproduce the problem in my environment. The variable field displays 0, but the subreport (once I make it visible) displays the correct value. I think you might need an Acumatica support case on this one.</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-report-designer/">Acumatica Report Designer</category>                        <dc:creator>Tim Rodman</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/paged/2/#post-5945</guid>
                    </item>
				                    <item>
                        <title>RE: Passing Variables from Sub Report not resetting value when no Value in subreport</title>
                        <link>https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-5789</link>
                        <pubDate>Sat, 04 Jan 2020 01:05:30 +0000</pubDate>
                        <description><![CDATA[The Master report has both Subs set to FALSE for visible. That should be set to TRUE, although you do have it visible for Excel, so it&#039;d show if you export to Excel, but not in the web-brows...]]></description>
                        <content:encoded><![CDATA[<p>The Master report has both Subs set to FALSE for visible. That should be set to TRUE, although you do have it visible for Excel, so it'd show if you export to Excel, but not in the web-browser.</p><p>But you said you're seeing a 0... Would you mind posting your other sub-report? It's been a bit since I've hit sub-report variables and they're a bit finnicky, it'd be nice to compare your files. Other than the FALSE visibility flag, this looks reasonable to me, assuming you are indeed checking a file with the discount code CCFEE. </p><p>Wish I had more help to give you... Once you post your second sub, I'll review this again unless Tim/Shawn beat me to it.</p><p> </p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-report-designer/">Acumatica Report Designer</category>                        <dc:creator>MichaelHansen</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-5789</guid>
                    </item>
				                    <item>
                        <title>RE: Passing Variables from Sub Report not resetting value when no Value in subreport</title>
                        <link>https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-5788</link>
                        <pubDate>Sat, 04 Jan 2020 00:08:50 +0000</pubDate>
                        <description><![CDATA[Hi guys,I&#039;m having an issue with passing a subreport variable to the main report as well. Hoping someone can spot out what I&#039;m doing wrong. I have 2 subreports in the standard sales order re...]]></description>
                        <content:encoded><![CDATA[<p>Hi guys,<br />I'm having an issue with passing a subreport variable to the main report as well. Hoping someone can spot out what I'm doing wrong. I have 2 subreports in the standard sales order report footer. One for total payment to account for multiple payments scenario. And the other one to break out discounts from regular discounts and a specific negative discount for credit card processing fee. The $PMT_TOTALPMT is working just fine but I don't know why the $DISC_CCFEE doesn't work. Both subreports print ok as subreports but $DISC_CCFEE won't work in a subreport variable. It keeps producing zero value. I have tweaked it so many different ways but still can't get to work for CCFEE.</p>
<p> </p>
<p><a class="wpftpxa" href="https://timrodman.s3.us-east-2.amazonaws.com/forums/1183-SO641010.rpx" target="_blank" rel="noopener"><span class="wpf-prefix wpftpx-18" style="color: #ffffff;background: #3991d1">SO641010.rpx</span></a></p>
<p><a class="wpftpxa" href="https://timrodman.s3.us-east-2.amazonaws.com/forums/1182-sodisc.rpx" target="_blank" rel="noopener"><span class="wpf-prefix wpftpx-18" style="color: #ffffff;background: #3991d1">sodisc.rpx</span></a></p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-report-designer/">Acumatica Report Designer</category>                        <dc:creator>jentran</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-5788</guid>
                    </item>
				                    <item>
                        <title>RE: Passing Variables from Sub Report not resetting value when no Value in subreport</title>
                        <link>https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-3549</link>
                        <pubDate>Fri, 08 Feb 2019 02:49:07 +0000</pubDate>
                        <description><![CDATA[Are you sure that any records are printing in the Subreport? It doesn&#039;t look like it from the last screenshot. Since you put the variable in the detailSection1 of the Subreport, it will only...]]></description>
                        <content:encoded><![CDATA[<p>Are you sure that any records are printing in the Subreport? It doesn't look like it from the last screenshot. Since you put the variable in the detailSection1 of the Subreport, it will only calculate if the Subreport pulls data. It doesn't look like any data rows from the Subreport are printing in your screenshot.</p><p>I just posted an example of calling a Subreport variable from a Main report here:<br /><strong><a href="https://www.augforums.com/augforums/acumatica-report-designer/reset-group-on-a-sub-report/#post-3548" target="true">https://www.augforums.com/augforums/acumatica-report-designer/reset-group-on-a-sub-report/#post-3548</a></strong></p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-report-designer/">Acumatica Report Designer</category>                        <dc:creator>Tim Rodman</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-3549</guid>
                    </item>
				                    <item>
                        <title>RE: Passing Variables from Sub Report not resetting value when no Value in subreport</title>
                        <link>https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-2306</link>
                        <pubDate>Fri, 03 Aug 2018 10:29:26 +0000</pubDate>
                        <description><![CDATA[Hi @iskandar,I believe the variable in the Subreport only gets set if there are records. In your screenshot, the Transfers subreport section is empty for every GL Account. Can you find a pag...]]></description>
                        <content:encoded><![CDATA[<p>Hi @iskandar,</p><p>I believe the variable in the Subreport only gets set if there are records. In your screenshot, the Transfers subreport section is empty for every GL Account. Can you find a page that actually has some records in the Transfers section? Then we'll know for sure whether the variable is actually getting set in the Subreport.</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-report-designer/">Acumatica Report Designer</category>                        <dc:creator>Tim Rodman</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-2306</guid>
                    </item>
				                    <item>
                        <title>RE: Passing Variables from Sub Report not resetting value when no Value in subreport</title>
                        <link>https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-2273</link>
                        <pubDate>Thu, 26 Jul 2018 03:49:23 +0000</pubDate>
                        <description><![CDATA[Hi everyone, I don&#039;t really understand about passing variable  from sub report. So i wanna try it and i edit reports from Julian, adding a variable in to Sub report but the result is always ...]]></description>
                        <content:encoded><![CDATA[<p>Hi everyone, I don't really understand about passing variable  from sub report. So i wanna try it and i edit reports from Julian, adding a variable in to Sub report but the result is always zero. I mean i make string variable and the value is "For Test" but why the result is zero, Can anyone help?.</p>
<p><img src="https://timrodman.s3.us-east-2.amazonaws.com/forums/354-acdV15.png" /></p>
<p><img src="https://timrodman.s3.us-east-2.amazonaws.com/forums/355-acdV14.png" /></p>
<p><img src="https://timrodman.s3.us-east-2.amazonaws.com/forums/356-acdV13.png" /></p>
<p> </p>
<p>Thank You</p>
<p><a class="wpftpxa" href="https://timrodman.s3.us-east-2.amazonaws.com/forums/353-gl61ax10ForTest.rpx" target="_blank" rel="noopener"><span class="wpf-prefix wpftpx-18" style="color: #ffffff;background: #3991d1">gl61ax10ForTest.rpx</span></a></p>
<p><a class="wpftpxa" href="https://timrodman.s3.us-east-2.amazonaws.com/forums/352-ap654501ForTest.rpx" target="_blank" rel="noopener"><span class="wpf-prefix wpftpx-18" style="color: #ffffff;background: #3991d1">ap654501ForTest.rpx</span></a></p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-report-designer/">Acumatica Report Designer</category>                        <dc:creator>Iskandar</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-2273</guid>
                    </item>
				                    <item>
                        <title>RE: Passing Variables from Sub Report not resetting value when no Value in subreport</title>
                        <link>https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-2257</link>
                        <pubDate>Mon, 23 Jul 2018 20:53:36 +0000</pubDate>
                        <description><![CDATA[Hi Ahmed,Have you tried placing the variable below the Subreport in the Main report to see if that makes a difference? Can you attach the .rpx file for both reports (the Main report and the ...]]></description>
                        <content:encoded><![CDATA[<p>Hi Ahmed,</p><p>Have you tried placing the variable below the Subreport in the Main report to see if that makes a difference? Can you attach the .rpx file for both reports (the Main report and the Subreport)?</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-report-designer/">Acumatica Report Designer</category>                        <dc:creator>Tim Rodman</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-report-designer/passing-variables-from-sub-report-not-resetting-value-when-no-value-in-subreport/#post-2257</guid>
                    </item>
							        </channel>
        </rss>
		