<?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>Calling &amp;quot;Run Search&amp;quot; button by code</title><link>https://www.aras.com/community/f/development/37930/calling-run-search-button-by-code</link><description>Hi, is it possible to call the &amp;quot;Run search&amp;quot; button in a method? 
 I have an action that updates the quantities and price of various records, but it does not update it on the screen. It only updates the data on the screen if the line to be modified has</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Calling "Run Search" button by code</title><link>https://www.aras.com/community/thread/9367?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2023 11:08:40 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d7f4b4a3-703e-47a7-a1f7-d649a41fb5a9</guid><dc:creator>FernandoCG</dc:creator><description>&lt;p&gt;Hello, thank you very much, it works perfectly!!!.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Too many thanks to you and Angelap too. hehe.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sorry, i used the search option in the forum but i didn&amp;#39;t see your post&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Calling "Run Search" button by code</title><link>https://www.aras.com/community/thread/9362?ContentTypeID=1</link><pubDate>Fri, 31 Mar 2023 15:16:08 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d129f7fe-f9eb-44b4-b4a9-e1adbf8099cf</guid><dc:creator>Slavena Koleva</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;You can try this piece of code if your method is JavaScript. &lt;span class="emoticon" data-url="https://www.aras.com/community/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="javascript"&gt;const topWindow = aras.getMostTopWindowWithAras(window); 
if (topWindow.work &amp;amp;&amp;amp; topWindow.work.grid) 
{
    main.work.searchContainer.runSearch();
}
else
{
    parent.onRefresh();
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Regards&lt;br /&gt;&lt;br /&gt;P.S. Thank you, &lt;a href="/community/members/angela"&gt;AngelaIp&lt;/a&gt; for sharing this &lt;span class="emoticon" data-url="https://www.aras.com/community/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>