<?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>Is this possible if get an ItemType inside another query within AML?</title><link>https://www.aras.com/community/f/development/35819/is-this-possible-if-get-an-itemtype-inside-another-query-within-aml</link><description>I have two ItemTypes Person and Address . There is a property Person.address_id that stores the config_id of an address, for a particular purpose it is just a string type, not refer ItemType. I use below query to select a person (*) : 
 &amp;lt;Item action </description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Is this possible if get an ItemType inside another query within AML?</title><link>https://www.aras.com/community/thread/5618?ContentTypeID=1</link><pubDate>Fri, 28 Aug 2020 01:29:59 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:befb43d1-ea57-4630-8193-92171f7ff16c</guid><dc:creator>Jacky Phan</dc:creator><description>&lt;p&gt;Hi Jay,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The id= &amp;#39;&lt;span&gt;abcdxyz&lt;/span&gt;&amp;#39; is just an example, it should be passed in as an parameter in parent select statement: &lt;span style="color:#800080;"&gt;&lt;span style="color:#0000ff;"&gt;address_id&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is this possible if get an ItemType inside another query within AML?</title><link>https://www.aras.com/community/thread/5601?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2020 12:11:12 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c04de574-88e5-4799-ad9d-6df39c99a6e4</guid><dc:creator>Edwar1d</dc:creator><description>&lt;p&gt;I was looking for the information regarding the same &lt;a href="https://www.talktosonic.site/"&gt;talktosonic customer survey&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is this possible if get an ItemType inside another query within AML?</title><link>https://www.aras.com/community/thread/5547?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2020 11:28:55 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d0ee7836-874c-4660-bf72-1bd5c726f838</guid><dc:creator>Jayraj Hogade</dc:creator><description>&lt;p&gt;Can you try this?&lt;br /&gt;&lt;br /&gt;&amp;lt;Item type=&amp;#39;ADDRESS&amp;#39; action=&amp;#39;get&amp;#39; where=&amp;quot;[&lt;span&gt;ADDRESS&lt;/span&gt;].id in (select &lt;span&gt;address_id&lt;/span&gt; from innovator.&lt;span&gt;PERSON&amp;nbsp;&lt;/span&gt;where id= &amp;#39;&lt;span&gt;abcdxyz&lt;/span&gt;&amp;#39;)&amp;quot;&amp;gt;&amp;lt;/Item&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is this possible if get an ItemType inside another query within AML?</title><link>https://www.aras.com/community/thread/5546?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2020 11:28:17 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:06387e5f-eba9-49e4-ab62-9bf1b0338a6b</guid><dc:creator>Jayraj Hogade</dc:creator><description>&lt;p&gt;Can you try this?&lt;br /&gt;&lt;br /&gt;&amp;lt;Item type=&amp;#39;ADDRESS&amp;#39; action=&amp;#39;get&amp;#39; where=&amp;quot;[&lt;span&gt;ADDRESS&lt;/span&gt;].id in (select &lt;span&gt;address_id&lt;/span&gt; from innovator.&lt;span&gt;PERSON&amp;nbsp;&lt;/span&gt;where id= &amp;#39;&lt;span&gt;abcdxyz&lt;/span&gt;&amp;#39;)&amp;quot;&amp;gt;&amp;lt;/Item&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is this possible if get an ItemType inside another query within AML?</title><link>https://www.aras.com/community/thread/5544?ContentTypeID=1</link><pubDate>Fri, 14 Aug 2020 10:51:54 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:81471c93-c6c9-478b-8b62-12df54fa1ead</guid><dc:creator>miraks</dc:creator><description>&lt;p&gt;&lt;span&gt;This should be possible by using the &amp;quot;where&amp;quot; attribute.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;lt;Item&amp;nbsp;action=&amp;#39;get&amp;#39;&amp;nbsp;type=&amp;#39;PERSON&amp;#39; select =&amp;#39;address_id&amp;#39; where=&amp;#39;[PERSON].id=...&amp;#39;&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;&amp;lt;/Item&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is this possible if get an ItemType inside another query within AML?</title><link>https://www.aras.com/community/thread/5538?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2020 23:01:15 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:b9018cfd-578c-4e35-830d-3e0ec3a0d96a</guid><dc:creator>Nathan</dc:creator><description>&lt;p&gt;Good day.&amp;nbsp; I&amp;#39;m not sure what you are trying to accomplish.&amp;nbsp; Are selecting a PERSON &amp;amp; then using the PERSON ID to get the address?&amp;nbsp; I&amp;#39;m under the impression that the PERSON &amp;amp; ADDRESS are related in some fashion.&amp;nbsp; Can you provide a little more info on this?&amp;nbsp; Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>