<?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>
									Join table with filter on a constant (Generic Inquiries) - Acumatica Generic Inquiries &amp; Pivot Tables				            </title>
            <link>https://www.augforums.com/forums/acumatica-generic-inquiries/join-table-with-filter-on-a-constant-generic-inquiries/</link>
            <description>Acumatica User Group Forums</description>
            <language>en-US</language>
            <lastBuildDate>Sat, 14 Nov 2026 03:28:18 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Join table with filter on a constant (Generic Inquiries)</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/join-table-with-filter-on-a-constant-generic-inquiries/#post-10323</link>
                        <pubDate>Tue, 15 Nov 2022 15:38:01 +0000</pubDate>
                        <description><![CDATA[Thank you Royce!]]></description>
                        <content:encoded><![CDATA[<p>Thank you Royce!</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>Jwright</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/join-table-with-filter-on-a-constant-generic-inquiries/#post-10323</guid>
                    </item>
				                    <item>
                        <title>RE: Join table with filter on a constant (Generic Inquiries)</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/join-table-with-filter-on-a-constant-generic-inquiries/#post-10318</link>
                        <pubDate>Mon, 14 Nov 2022 23:44:49 +0000</pubDate>
                        <description><![CDATA[You need to prefix the string with an equals so it&#039;s treated as a formula.
ie.
=&#039;StatusB&#039;]]></description>
                        <content:encoded><![CDATA[<p>You need to prefix the string with an equals so it's treated as a formula.</p>
<p>ie.</p>
<p>='StatusB'</p>]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>Royce Lithgo</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/join-table-with-filter-on-a-constant-generic-inquiries/#post-10318</guid>
                    </item>
				                    <item>
                        <title>Join table with filter on a constant (Generic Inquiries)</title>
                        <link>https://www.augforums.com/forums/acumatica-generic-inquiries/join-table-with-filter-on-a-constant-generic-inquiries/#post-10317</link>
                        <pubDate>Mon, 14 Nov 2022 23:07:43 +0000</pubDate>
                        <description><![CDATA[The goal is to have a generic inquiry to identify sales orders in the shipping status, that at some point had the backordered status.
From what I have found I could do a join to the Audit H...]]></description>
                        <content:encoded><![CDATA[<p>The goal is to have a generic inquiry to identify sales orders in the shipping status, that at some point had the backordered status.</p>
<p>From what I have found I could do a join to the Audit History we have of the sales order page.</p>
<p> </p>
<p>This is how it looks in SQL:</p>
<p>SELECT top 30 so.OrderNbr, so.OrderQty, so.OpenOrderQty, so.OrderDate, ah.ModifiedFields, ah.ChangeDate, so.ShipDate, so.Status<br />FROM SOOrder so<br />INNER JOIN AuditHistory ah ON 'SO' + so.OrderNbr = ah.CombinedKey<br />     <strong><span style="color: #0000ff">and ModifiedFields = 'StatusB'</span></strong><br />WHERE so.CompanyID = 2<br />and so.ShipDate is not null<br />and so.Status = 'N'</p>
<p> </p>
<p>I'm not sure how to make the part in Blue work in a GI.</p>
<p>See the screenshot below for my attempt on making this in the join tab.</p>
<p>I have also tried adding in the conditions (last two lines in screenshot) but this doesn't work since the join is a one to many join and I can't control which line in the audit history table it joins on without my <strong><span style="color: #0000ff">and ModifiedFields = 'StatusB'.</span></strong></p>
3006
3007]]></content:encoded>
						                            <category domain="https://www.augforums.com/forums/acumatica-generic-inquiries/">Acumatica Generic Inquiries &amp; Pivot Tables</category>                        <dc:creator>Jwright</dc:creator>
                        <guid isPermaLink="true">https://www.augforums.com/forums/acumatica-generic-inquiries/join-table-with-filter-on-a-constant-generic-inquiries/#post-10317</guid>
                    </item>
							        </channel>
        </rss>
		