<?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>How to Implement &amp;quot;GroupBy&amp;quot; and &amp;quot;Max()&amp;quot; in AML?</title><link>https://www.aras.com/community/f/development/3653/how-to-implement-groupby-and-max-in-aml</link><description>Ho do we implement the &amp;quot;GroupBy&amp;quot; and &amp;quot;Max&amp;quot; in AML?</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: How to Implement "GroupBy" and "Max()" in AML?</title><link>https://www.aras.com/community/thread/1485?ContentTypeID=1</link><pubDate>Sun, 15 Apr 2018 18:03:22 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:dddc4b64-a2fb-4139-ae5c-88899b9b4bad</guid><dc:creator>Former Member</dc:creator><description>Speedriser,

You would have to create it yourself, it is not available out of the box.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Implement "GroupBy" and "Max()" in AML?</title><link>https://www.aras.com/community/thread/1484?ContentTypeID=1</link><pubDate>Thu, 12 Apr 2018 03:22:06 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:19c4bdba-63f9-4ed8-997a-6c4c4ce2a91f</guid><dc:creator>Sathish</dc:creator><description>Thanks for the tip.  I think it makes more sense to use the &amp;quot;aggregate&amp;quot; action. Can you point me to the right documentation that provides more details on the functionality of &amp;quot;aggregate&amp;quot; action. I dont find details of it in the programmer guide.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to Implement "GroupBy" and "Max()" in AML?</title><link>https://www.aras.com/community/thread/1479?ContentTypeID=1</link><pubDate>Tue, 10 Apr 2018 11:19:13 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d6f25148-bcf6-4f44-aab7-7eefdb3fc25c</guid><dc:creator>Yoann Maingon</dc:creator><description>Hi,

You would have different options:
&lt;ul&gt;
 	&lt;li&gt;either you write your query in SQL and use the ApplySQL SOAP action&lt;/li&gt;
&lt;/ul&gt;
or
&lt;ul&gt;
 	&lt;li&gt;you define a specific method &amp;quot;aggregation&amp;quot; which will look for an &amp;quot;aggregate_mode&amp;quot; attribute&lt;/li&gt;
 	&lt;li&gt;In this method you will run a get query based on the provided information&lt;/li&gt;
 	&lt;li&gt;And you will aggregate the result in c# based on the aggregate_mode you selected.&lt;/li&gt;
 	&lt;li&gt;Then you just have to call your method in AML:&lt;/li&gt;
&lt;/ul&gt;
&amp;lt;Item action=&amp;quot;aggregate&amp;quot; type=&amp;quot;part&amp;quot; aggregate_mode=&amp;quot;max&amp;quot; aggregate_criteria=&amp;quot;cost&amp;quot;&amp;gt;

&amp;lt;make_buy&amp;gt;1&amp;lt;/make_buy&amp;gt;

&amp;lt;/Item&amp;gt;

It&amp;#39;s just an idea&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>