<?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>
									HELP - Addition in nested if statements - Acumatica Generic Inquiries &amp; Pivot Tables				            </title>
            <link>https://www.augforums.com/forums/acumatica-generic-inquiries/help-addition-in-nested-if-statements/</link>
            <description>Acumatica User Group Forums</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 14 Nov 2026 02:11:01 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: HELP - Addition in nested if statements</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/help-addition-in-nested-if-statements/#post-8890</link>
                        <pubDate>Thu, 03 Jun 2021 17:20:50 +0000</pubDate>
                        <description><![CDATA[@wyatt-erp That worked!  I was getting close, was already working with the switch and datediff functions.  Thank you!]]></description>
                        <content:encoded><![CDATA[<p>@wyatt-erp That worked!  I was getting close, was already working with the switch and datediff functions.  Thank you!</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>TRA_User</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/help-addition-in-nested-if-statements/#post-8890</guid>
                    </item>
				                    <item>
                        <title>RE: HELP - Addition in nested if statements</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/help-addition-in-nested-if-statements/#post-8889</link>
                        <pubDate>Thu, 03 Jun 2021 17:12:26 +0000</pubDate>
                        <description><![CDATA[Hi @tra_user,
Give this a shot:
=SWITCH(&lt;=Today(),&#039;red0&#039;,Datediff(&#039;d&#039;,Today(),)&lt;=3,&#039;yellow&#039;,&#039;default&#039;)]]></description>
                        <content:encoded><![CDATA[<p>Hi @tra_user,</p>
<p>Give this a shot:</p>
<pre contenteditable="false">=SWITCH(&lt;=Today(),'red0',Datediff('d',Today(),)&lt;=3,'yellow','default')</pre>
<p> </p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>Wyatt.ERP</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/help-addition-in-nested-if-statements/#post-8889</guid>
                    </item>
				                    <item>
                        <title>HELP - Addition in nested if statements</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/help-addition-in-nested-if-statements/#post-8886</link>
                        <pubDate>Thu, 03 Jun 2021 15:53:27 +0000</pubDate>
                        <description><![CDATA[=IIF(&lt;=Today(),&#039;red0&#039;,IIF(SOOrder.RequestDate]&lt;=(Today()+3),&#039;yellow&#039;,&#039;default&#039;)).  
In short I&#039;m trying to change sales orders due same day or past due to red, wi...]]></description>
                        <content:encoded><![CDATA[<p>=IIF(&lt;=Today(),'red0',IIF(SOOrder.RequestDate]&lt;=<strong><span style="text-decoration: underline">(Today()+3)</span></strong>,'yellow','default')).  </p>
<p>In short I'm trying to change sales orders due same day or past due to red, within 3 days to yellow.  I'm a novice and don't know what I'm doing wrong.  </p>
<p>Can I add to the today() function?  And does that add 1 day to the date format?</p>
<p>Can I use the addition operator in nested if statements?</p>
<p>How can I effectively code the request date within 3 days of today's date condition?</p>
<p>Help is appreciated, thanks in advance!</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>TRA_User</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/help-addition-in-nested-if-statements/#post-8886</guid>
                    </item>
							        </channel>
        </rss>
		