<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>&amp;quot;IN&amp;quot; Condition</title><link>https://www.aras.com/community/f/development/4002/in-condition</link><description>I&amp;#39;m trying to run this code in AML studio,

&amp;lt;Item type=&amp;quot;MIN_DCP&amp;quot; action=&amp;quot;get&amp;quot;
select=&amp;quot;id(item_number,name,description,system,call_ticket,modified_on)&amp;quot;&amp;gt;
&amp;lt;id condition=&amp;#39;in&amp;#39;&amp;gt;(select source_id from innovator.MIN_DCP_DELIVERED_BOM where related_id in (@Parameter</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: "IN" Condition</title><link>https://www.aras.com/community/thread/2225?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 12:23:20 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:7bf2575c-8ccd-429c-b917-0a91170f52a7</guid><dc:creator>didonato</dc:creator><description>TY Chris!!&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "IN" Condition</title><link>https://www.aras.com/community/thread/2224?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 11:06:45 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:758390a2-242c-4e2d-97ab-1cf43f81f595</guid><dc:creator>Christopher Gillis</dc:creator><description>Hello,

When possible, we recommend avoiding the use of SQL in AML queries. For example, this could be rewritten without the use of SQL as below to accomplish the same filtering.

&lt;pre&gt;&lt;code&gt;&amp;lt;AML&amp;gt;
&amp;lt;Item type=&amp;quot;MIN_DCP&amp;quot; action=&amp;quot;get&amp;quot; select=&amp;quot;item_number,name,description,system,call_ticket,modified_on&amp;quot;&amp;gt;
&amp;lt;Relationships&amp;gt;
&amp;lt;Item type=&amp;quot;MIN_DCP_DELIVERED_BOM&amp;quot; action=&amp;quot;get&amp;quot; select=&amp;quot;related_id&amp;quot;&amp;gt;
&amp;lt;related_id condition=&amp;quot;in&amp;quot;&amp;gt;1F01BB4BA35B4E9D860C8E1362AD9CF3,206E8AE625044116B2271887C973FA24&amp;lt;/related_id&amp;gt;
&amp;lt;/Item&amp;gt;
&amp;lt;/Relationships&amp;gt;
&amp;lt;/Item&amp;gt;
&amp;lt;/AML&amp;gt;&lt;/code&gt;&lt;/pre&gt;


Chris

&lt;hr /&gt;

Christopher Gillis

Aras Labs Software Engineer&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>